Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#4373 closed defect (invalid)

Darcs vcs backend broken in svn revision 4441

Reported by: russ@… Owned by: Christian Boos
Priority: normal Milestone:
Component: version control/browser Version: 0.10.2
Severity: normal Keywords: Darcs
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The Trac detected an internal error:

AttributeError: 'DarcsCachedRepository' object has no attribute 'synced'

System Information:

Trac: 0.11dev Python: 2.4.4c0 (#1, Jul 30 2006, 15:39:57) [GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] SQLite: 3.3.8 pysqlite: 2.2.2 Genshi: 0.4dev-r345

Attachments (0)

Change History (5)

comment:1 by anonymous, 18 years ago

See : traceback

comment:2 by Matthew Good, 18 years ago

Please use "Preview" to check the formatting of your wiki information here is a cleaned up version of the traceback:

How to Reproduce

While doing a GET operation on /browser, Trac issued an internal error.

System Information

Trac 0.11dev
Python 2.4.4c0 (#1, Jul 30 2006, 15:39:57)
[GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)]
SQLite 3.3.8
pysqlite 2.2.2
Genshi 0.4dev-r345

Python Traceback

Traceback (most recent call last):
 File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 395, in dispatch_request dispatcher.dispatch(req)
 File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 213, in dispatch resp = chosen_handler.process_request(req)
 File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 126, in process_request data = {
 File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 154, in _render_dir changes = get_changes(repos, [i['rev'] for i in entries])
 File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/util.py", line 35, in get_changes changeset = repos.get_changeset(rev)
 File "build/bdist.linux-i686/egg/tracdarcs/cache.py", line 36, in get_changeset AttributeError: 'DarcsCachedRepository' object has no attribute 'synced'

comment:3 by Matthew Good, 18 years ago

Resolution: invalid
Status: newclosed

This problem will need to be fixed in the Darcs plugin, which is not maintained by the TracTeam. You will need to report this error to the plugin's developers.

comment:4 by Lele Gaifax, 18 years ago

Noticed by chance, and annotated here:

http://progetti.arstecnica.it/trac%2Bdarcs/ticket/21

I will try to setup a fresh instance of current trac and fix this.

comment:5 by Christian Boos, 18 years ago

Well, it would be good if your users could create/comment on ticket, in the above Trac ;)

If you port the plugin to 0.11dev, don't miss the browser quickjump feature I recently merged into trunk, which allows you to implement jumping to specific branch or tags.

I'm not sure though how well this will adapt to Darcs, and if the current interface needs to be improved, let me know.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.