Modify

Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#13029 closed defect (worksforme)

AttributeError: 'GitRepository' object has no attribute 'db_rev'

Reported by: massimo.b@… Owned by:
Priority: normal Component: CodeReviewerPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description (last modified by Ryan J Ollos)

Since last plugin update I get the following error when opening a changeset:

Trac detected an internal error:

AttributeError: 'GitRepository' object has no attribute 'db_rev'

I wrote that already on gmessage:trac-users:nQ48BMDFu6M/SiSjQeiAEAAJ Seems to be an issue with uncached repos. My Git repo is a bare repo. Before the update to r16165 that was working.

Attachments (0)

Change History (3)

comment:1 Changed 4 months ago by massimo.b@…

Python Traceback
Most recent call last:

File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 554, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 257, in dispatch
  self._post_process_request(req, *resp)
File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 388, in _post_process_request
  resp = f.post_process_request(req, *resp)
File "build/bdist.linux-x86_64/egg/coderev/web_ui.py", line 81, in post_process_request
  reponame, rev = repos.reponame, repos.db_rev(changeset.rev)

comment:2 Changed 4 months ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

Caching is required. Documentation updated in CodeReviewerPlugin@31.

comment:3 Changed 4 months ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.