Opened 10 years ago

Last modified 9 years ago

#1396 new defect

error after install

Reported by: ismail.mayat@… Owned by: linetor
Priority: normal Component: CreateProjectPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by coderanger)

I following error after installing

Trac detected an internal error:

invalid syntax (, line 49)

Traceback (most recent call last):
  File "C:/Program Files/Apache Group/Apache2/htdocs/cgi-bin/trac.cgi", line 19, in ?
  File "C:\Python23\Lib\site-packages\trac\web\", line 68, in run
  File "C:\Python23\Lib\site-packages\trac\web\", line 87, in run
    response = application(self.environ, self._start_response)
  File "C:\Python23\Lib\site-packages\trac\web\", line 377, in dispatch_request
    env = _open_environment(env_path, run_once=run_once)
  File "C:\Python23\Lib\site-packages\trac\web\", line 51, in _open_environment
    return open_environment(env_path)
  File "C:\Python23\Lib\site-packages\trac\", line 434, in open_environment
    env = Environment(env_path)
  File "C:\Python23\Lib\site-packages\trac\", line 121, in __init__
  File "C:\Python23\Lib\site-packages\trac\", line 101, in load_components
  File "C:\Python23\lib\site-packages\", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build\bdist.win32\egg\createproj\", line 1, in ?
  File "C:\Python23\lib\site-packages\createproj-0.1-py2.3.egg\createproj\", line 49
     args = dict((key[len(prefix):], req.args[key]) for key in projkeys)
 SyntaxError: invalid syntax

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by coderanger

  • Description modified (diff)

Fixing formatting.

comment:2 Changed 9 years ago by anonymous

I get the same syntax error on the same line of the same file (but on RedHat, not Windows).

I assume its because we're both running an ancient Python 2.3. My excuse: 2.3 is Python that ships with RedHat ES4, and is the latest available version via its package management system (up2date)" and so many other "up2date" packages might break if I install a newer version of Python from source... :-(

Add Comment

Modify Ticket

as new The owner will remain linetor.

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

Note: See TracTickets for help on using tickets.