Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4839 closed defect (fixed)

"trac-admin /path/to/my-project" fails with "KeyError: 'ver'"

Reported by: mchapman87501@… Owned by: Christian Boos
Priority: high Milestone: 0.11
Component: admin/console Version: devel
Severity: minor Keywords: trac-admin KeyError ver
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Running Trac 0.11dev-r4829 on Mac OS X.

When I type "trac-admin /path/to/my-project" I get a traceback ending with

  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11dev_r4829-py2.5.egg/trac/admin/console.py", line 115, in run
    {'version': TRAC_VERSION}
KeyError: 'ver'

The problem appears to be that the format string on line 115 expects a dictionary value for key 'ver'. Instead the dictionary provides a value for 'version'.

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 18 years ago

Milestone: 0.11
Owner: changed from Christopher Lenz to Christian Boos
Priority: normalhigh
Severity: normalminor

Thanks for reporting, but yes, it was a simple typo.

comment:2 by Christian Boos, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in r4831.

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.