Edgewall Software

Opened 18 years ago

Last modified 17 years ago

#2920 closed defect

error while code browsing — at Version 1

Reported by: anonymous Owned by: Christian Boos
Priority: normal Milestone:
Component: version control Version: 0.9.4
Severity: normal Keywords: svn needinfo
Cc: sree@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Oops...
Trac detected an internal error:

("Can't set position pointer in file '/projects/snapcore/db/revs/1': Invalid argument", 22)

If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team.

Go to http://trac.edgewall.com/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the python traceback found below.

TracGuide — The Trac User and Administration Guide
Python traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 93, in process_request
    node = get_existing_node(self.env, repos, path, rev)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/util.py", line 87, in get_existing_node
    return repos.get_node(path, rev)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 103, in get_node
    return self.repos.get_node(path, rev)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 261, in get_node
    self.pool)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 363, in __init__
    self.root = fs.revision_root(fs_ptr, rev, self.pool())
SubversionException: ("Can't set position pointer in file '/projects/snapcore/db/revs/1': Invalid argument", 22)

I have refered and did all the things mentioned in ticket:2770. Also verified the repository using the script ticket:2620

its clearly failing at self.pool() in svn_fs.py

any help is appreciated.

  • sree

Change History (1)

comment:1 by Christian Boos, 18 years ago

Component: browserversion control
Description: modified (diff)
Keywords: svn130 added
Owner: changed from Jonas Borgström to Christian Boos

Also verified the repository using the script ticket:2620

its clearly failing at self.pool() in svn_fs.py

So the script fails when you try to access rev 1? Can you also provide the stack trace for that error?

Note: See TracTickets for help on using tickets.