Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#3616 closed defect (worksforme)

browse source is broken

Reported by: cvsdude user Owned by: Jonas Borgström
Priority: normal Milestone:
Component: version control/browser Version: devel
Severity: major Keywords: 0.10dev source browser needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

our account at the cvs/svn provider (cvsdude.com) includes a trac wiki and interface to our repository

we have not mentioned this to cvsdude yet, but the error page asked us to file a ticket

what happens:

Login to trac works fine, and the wiki's front page loads just fine. Browsing and editing the wiki and tickets works fine. The 'Browse Source' tab button takes us to an error screen named "'NoneType' object has no attribute 'session'" with the following text:

Oops…
Trac detected an internal error:

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

Go to http://trac.edgewall.org/ 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/local/python/lib/python2.4/site-packages/trac/web/main.py", line 335, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/python/lib/python2.4/site-packages/trac/web/main.py", line 220, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/python/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 131, in process_request
    self._render_directory(req, repos, node, rev)
  File "/usr/local/python/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 156, in _render_directory
    changes = get_changes(self.env, repos, [i['rev'] for i in info])
  File "/usr/local/python/lib/python2.4/site-packages/trac/versioncontrol/web_ui/util.py", line 65, in get_changes
    changes[rev] = {
AttributeError: 'NoneType' object has no attribute 'session'

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 18 years ago

Keywords: needinfo added
Severity: blockermajor

That error message is bit surprising, as there's no use of a "session" attribute there (lines 65-70)… Maybe cvsdude.com did some changes to the code? You should first sort that out with them, and then provide us with more information, as it definitely worksforus ;)

comment:2 by Matthew Good, 18 years ago

Resolution: worksforme
Status: newclosed

As cboos said you should contact cvsdude about this. They have made modifications to their Trac code, so it is impossible for us to debug this problem. If the support people at cvsdude need help with this problem they can use the MailingList or reopen the ticket providing more information to debug the problem.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.