Modify

Opened 8 years ago

Last modified 7 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 (api.py, line 49)

Traceback (most recent call last):
  File "C:/Program Files/Apache Group/Apache2/htdocs/cgi-bin/trac.cgi", line 19, in ?
    cgi_frontend.run()
  File "C:\Python23\Lib\site-packages\trac\web\cgi_frontend.py", line 68, in run
    gateway.run(dispatch_request)
  File "C:\Python23\Lib\site-packages\trac\web\wsgi.py", line 87, in run
    response = application(self.environ, self._start_response)
  File "C:\Python23\Lib\site-packages\trac\web\main.py", line 377, in dispatch_request
    env = _open_environment(env_path, run_once=run_once)
  File "C:\Python23\Lib\site-packages\trac\web\main.py", line 51, in _open_environment
    return open_environment(env_path)
  File "C:\Python23\Lib\site-packages\trac\env.py", line 434, in open_environment
    env = Environment(env_path)
  File "C:\Python23\Lib\site-packages\trac\env.py", line 121, in __init__
    load_components(self)
  File "C:\Python23\Lib\site-packages\trac\loader.py", line 101, in load_components
    entry_point.load()
  File "C:\Python23\lib\site-packages\pkg_resources.py", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build\bdist.win32\egg\createproj\__init__.py", line 1, in ?
  File "C:\Python23\lib\site-packages\createproj-0.1-py2.3.egg\createproj\api.py", 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 8 years ago by coderanger

  • Description modified (diff)

Fixing formatting.

comment:2 Changed 7 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

Action
as new The owner will remain linetor.
Author


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

 
Note: See TracTickets for help on using tickets.