Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 10 years ago

#4032 closed defect (fixed)

Spamfilter: Python 2.3 compatibility issue

Reported by: markus Owned by: Matthew Good
Priority: normal Milestone: plugin - spam-filter
Component: plugin/spamfilter Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Oops...

Trac detected an internal error: invalid syntax (api.py, line 135)

Traceback (most recent call last):
  File "C:\Program Files\Python23\share\trac\cgi-bin\trac.cgi", line 23, in ?
    cgi_frontend.run()
  File "C:\Program Files\python23\Lib\site-packages\trac\web\cgi_frontend.py", line 68, in run
    gateway.run(dispatch_request)
  File "C:\Program Files\python23\Lib\site-packages\trac\web\wsgi.py", line 87, in run
    response = application(self.environ, self._start_response)
  File "C:\Program Files\python23\Lib\site-packages\trac\web\main.py", line 367, in dispatch_request
    env = _open_environment(env_path, run_once=environ['wsgi.run_once'])
  File "C:\Program Files\python23\Lib\site-packages\trac\web\main.py", line 54, in _open_environment
    return open_environment(env_path)
  File "C:\Program Files\python23\Lib\site-packages\trac\env.py", line 439, in open_environment
    env = Environment(env_path)
  File "C:\Program Files\python23\Lib\site-packages\trac\env.py", line 126, in __init__
    load_components(self)
  File "C:\Frogram Files\python23\Lib\site-packages\trac\loader.py", line 101, in load_components
    entry_point.load()
  File "c:\Program Files\python23\lib\site-packages\setuptools-0.6b1-py2.3.egg\pkg_resources.py", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build\bdist.win32\egg\tracspamfilter\__init__.py", line 14, in ?
  File "C:\Program Files\Python23\lib\site-packages\tracspamfilter-0.2dev_r4073-py2.3.egg\tracspamfilter\api.py", line 135
     ', '.join(r[2] for r in reasons if r[1] < 0))
                      ^
 SyntaxError: invalid syntax

Attachments (0)

Change History (2)

comment:1 by Christopher Lenz, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in [4107].

comment:2 by Ryan J Ollos, 10 years ago

Milestone: plugin - spam-filter

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good 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.