[Trac-tickets] [The Trac Project] #2770: trac-admin: failed to initialize environment. (Can't set position pointer in file...)

The Trac Project noreply at edgewall.com
Thu Feb 16 10:00:24 CST 2006


#2770: trac-admin: failed to initialize environment. (Can't set position pointer
in file...)
----------------------------------------+-----------------------------------
 Reporter:  peter.hoydonkx at philips.com  |       Owner:  daniel
     Type:  defect                      |      Status:  new   
 Priority:  normal                      |   Milestone:        
Component:  trac-admin                  |     Version:  0.9.3 
 Severity:  blocker                     |    Keywords:        
----------------------------------------+-----------------------------------
 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

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2770>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list