Edgewall Software

Opened 18 years ago

Last modified 15 years ago

#2770 closed defect

trac-admin: failed to initialize environment. (Can't set position pointer in file...) — at Initial Version

Reported by: peter.hoydonkx@… Owned by: daniel
Priority: normal Milestone:
Component: admin/console Version: 0.9.3
Severity: blocker Keywords: 2
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

When I try to initialize a new environment using the trac-admin command, i get following message:

Indexing repository Failed to initialize environment. ("Can't set position pointer in file '/home/svn_root/tmp/svnrepo-test/db/revs/0': Invalid argument", 22) Traceback (most recent call last):

File "/usr/local/lib/python2.3/site-packages/trac/scripts/admin.py", line 617, in do_initenv

repos.sync()

File "/usr/local/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 87, in sync

for path,kind,action,base_path,base_rev in changeset.get_changes():

File "/usr/local/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 458, in get_changes

root = fs.revision_root(self.fs_ptr, self.rev, pool())

SubversionException: ("Can't set position pointer in file '/home/svn_root/tmp/svnrepo-test/db/revs/0': Invalid argument", 22)

What could be the cause of this warning? How to solve it?

Linux server - Red Hat Enterprise Linux WS release 3 (Taroon Update 4)

Tools used: subversion 1.2.3 python 2.3.5 trac 0.9.3 clearsilver 0.9.3 pysqlite 1.0.1 silvercity 0.9.5 swig 1.3.21

with kind regards, Peter

Change History (0)

Note: See TracTickets for help on using tickets.