Edgewall Software
Modify

Opened 18 years ago

Closed 15 years ago

#4449 closed task (fixed)

InterTrac entry for Trac+Darcs?

Reported by: zu22 Owned by: Jonas Borgström
Priority: normal Milestone: not applicable
Component: general Version: 0.10.3
Severity: trivial Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Tim Hatch)

Signed up for account on http://trac.us.netrek.org/projects/netrek-server/ and was in the wiki browsing some source code, when i clicked revisions and it produced:

Invalid literal for int():- Netrek Server - Trac http://trac.us.netrek.org/projects/netrek-server/anydiff?new_path=%2FVanilla%2Fname.c&old_path=%2FVanilla%2Fname.c&new_rev=&old_rev=

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 "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/web_ui/changeset.py", line 791, in process_request
    new_rev = repos.normalize_rev(new_rev)
  File "build/bdist.linux-x86_64/egg/tracdarcs/repository.py", line 148, in normalize_rev
ValueError: invalid literal for int(): 

Attachments (0)

Change History (6)

comment:1 by Tim Hatch, 18 years ago

Description: modified (diff)
Priority: highestnormal
Resolution: invalid
Severity: majornormal
Status: newclosed

Yes, it's certainly reproducable. However I don't believe the bug is in trac, it's in TracDarcs.

  1. Visit any Trac+Darcs instance (even the official one)
  2. Choose Browser
  3. Click "View changes…" button. The rev info is not being populated in that form, which generates a url like the one seen above, missing revision information.

comment:2 by Tim Hatch <trac@…>, 18 years ago

Lele is now aware of the issue, follow up to http://progetti.arstecnica.it/trac%2Bdarcs/ticket/22

comment:3 by Christian Boos, 18 years ago

Milestone: none
Resolution: invalid
Status: closedreopened
Summary: clicking revisions produces errorerrors in Trac+Darcs ...
Type: defecttask

Jonas, you could perhaps add an InterTrac link to his Trac:

[intertrac]
trac+darcs.title = Lele's Trac plugin for Darcs
trac+darcs.url = http://progetti.arstecnica.it/trac+darcs
trac+darcs.compat = false

(using this ticket as a reminder)

comment:4 by Lele Gaifax, 17 years ago

Summary: errors in Trac+Darcs ...InterTrac entry for Trac+Darcs?

For the history, the bug on trac+darcs was fixed long ago.

comment:5 by Lele Gaifax <lele@…>, 16 years ago

This fixes the (last part of the) problem, at last.

comment:6 by Christian Boos, 15 years ago

Resolution: fixed
Severity: normaltrivial
Status: reopenedclosed

Done ([trac+darcs:]).

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.