Failed Installation; Syntax Error
|Reported by:||Owned by:||Russ Tyndall|
This may be related to #2270, but my symptoms weren't exactly the same, so I'm creating a new ticket. For reference, my setup:
- "Virtual" Python 2.3.5 (see http://peak.telecommunity.com/DevCenter/EasyInstall#creating-a-virtual-python)
- Trac 0.11dev-r6303
- Timing and Estimation Plugin v.0.5.7 (SVN r2850)
The virtual python 2.3 is because I am on a shared host, and do not have access to update python or install packages.
Anyway, my installation is failing as well. I'm attempting to install via easy_install, as follows:
> easy_install http://trac-hacks.org/svn/timingandestimationplugin/branches/trac0.11 Downloading http://trac-hacks.org/svn/timingandestimationplugin/branches/trac0.11 Doing subversion checkout from http://trac-hacks.org/svn/timingandestimationplugin/branches/trac0.11 to /tmp/easy_install-a07N9v/trac0.11 Processing trac0.11 Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-a07N9v/trac0.11/egg-dist-tmp-KlCluM File "build/bdist.linux-i686/egg/timingandestimationplugin/tande_filters.py", line 15 self.billing_reports = set(x for x in cur.fetchall()) ^ SyntaxError: invalid syntax zip_safe flag not set; analyzing archive contents... Adding timingandestimationplugin 0.5.7 to easy-install.pth file Installed /home/[user]/lib/python2.3/site-packages/timingandestimationplugin-0.5.7-py2.3.egg Processing dependencies for timingandestimationplugin==0.5.7 Finished processing dependencies for timingandestimationplugin==0.5.7
Attempting to do other things with the plugin, such as upgrading the Trac environment, fail with similar syntax errors.
I'm unsure if this is related to Python 2.3, or if it's just the code base. Please let me know if you need other additional information, and I'll do my best to help.