Edgewall Software

Ticket #4373 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Darcs vcs backend broken in svn revision 4441

Reported by: russ@… Owned by: cboos
Priority: normal Milestone:
Component: version control/browser Version: 0.10.2
Severity: normal Keywords: Darcs
Cc:

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

Change History

Changed 2 years ago by anonymous

See : traceback?

Changed 2 years ago by mgood

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'

Changed 2 years ago by mgood

  • status changed from new to closed
  • resolution set to invalid

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.

Changed 2 years ago by Lele Gaifax

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.

Changed 2 years ago by cboos

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.

Add/Change #4373 (Darcs vcs backend broken in svn revision 4441)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.