Modify

Opened 18 years ago

Closed 7 years ago

#1396 closed defect (wontfix)

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 Noah Kantrowitz)

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 (3)

comment:1 Changed 18 years ago by Noah Kantrowitz

Description: modified (diff)

Fixing formatting.

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

comment:3 Changed 7 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

The plugin is deprecated. It needs a rewrite for a more recent version of Trac.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain linetor.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.