Edgewall Software
Modify

Ticket #4449 (closed task: fixed)

Opened 4 years ago

Last modified 6 months ago

InterTrac entry for Trac+Darcs?

Reported by: zu22 Owned by: jonas
Priority: normal Milestone: not applicable
Component: general Version: 0.10.3
Severity: trivial Keywords:
Cc:

Description (last modified by thatch) (diff)

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

Change History

comment:1 Changed 4 years ago by thatch

  • Priority changed from highest to normal
  • Status changed from new to closed
  • Resolution set to invalid
  • Description modified (diff)
  • Severity changed from major to normal

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 Changed 4 years ago by Tim Hatch <trac@…>

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

comment:3 Changed 4 years ago by cboos

  • Status changed from closed to reopened
  • Type changed from defect to task
  • Summary changed from clicking revisions produces error to errors in Trac+Darcs ...
  • Resolution invalid deleted
  • Milestone set to none

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 Changed 2 years ago by Lele Gaifax

  • Summary changed from errors in Trac+Darcs ... to InterTrac entry for Trac+Darcs?

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

comment:5 Changed 17 months ago by Lele Gaifax <lele@…>

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

comment:6 Changed 6 months ago by cboos

  • Status changed from reopened to closed
  • Resolution set to fixed
  • Severity changed from normal to trivial

Done ( trac+darcs).

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.