Edgewall Software

Changes between Initial Version and Version 2 of Ticket #2522


Ignore:
Timestamp:
Dec 25, 2005, 12:47:27 PM (18 years ago)
Author:
Christopher Lenz
Comment:

Fixed in [2672].

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2522

    • Property Owner changed from daniel to Christopher Lenz
    • Property Status newclosed
    • Property Resolutionfixed
  • Ticket #2522 – Description

    initial v2  
    11Can't initalize a trac instance.
    2 
     2{{{
    33> trac-admin /tmp/test initenv 'example' "sqlite:db/trac.db" "/svn/test" svn "/usr/local/python/share/trac/templates"
    44Command failed: need more than 4 values to unpack
    5 
     5}}}
    66Problem is, its trying to unpack 4 command line arguments when 5 are required. Its easily fixed by changing line 568 of "scripts/admin.py" to read "templates_dir = arg[:5]" instead of "templates_dir = arg[:4]".