#9595 closed defect (fixed)
SyntaxError: invalid syntax — at Version 1
Reported by: | hm2k | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 0.12.2 |
Component: | admin/console | Version: | 0.13dev |
Severity: | critical | Keywords: | python3 |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
[root@vps112 ~]# trac-admin Traceback (most recent call last): File "/usr/bin/trac-admin", line 7, in ? sys.exit( File "/usr/lib/python2.3/site-packages/setuptools-0.6c11-py2.3.egg/pkg_resources.py", line 318, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.3/site-packages/setuptools-0.6c11-py2.3.egg/pkg_resources.py", line 2221, in load_entry_point return ep.load() File "/usr/lib/python2.3/site-packages/setuptools-0.6c11-py2.3.egg/pkg_resources.py", line 1954, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "build/bdist.linux-i686/egg/trac/admin/__init__.py", line 14, in ? File "/usr/lib/python2.3/site-packages/Trac-0.13dev_r10030-py2.3.egg/trac/admin/api.py", line 140 return list(set(a for a in self if a.startswith(text))) ^ SyntaxError: invalid syntax
Note:
See TracTickets
for help on using tickets.
You're using Python 2.3, which is not supported anymore starting with Trac 0.12.
And with Trac 0.13dev, you'll even need Python 2.5.
See TracInstall and 0.13/TracInstall.