hi there, just wanted to install the plugin but on my trac 0.11b1 after running: python setup.py bdist_egg it gives:
byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/reports.py to reports.pyc
byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/api.py to api.pyc
byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/tande_filters.py to tande_filters.pyc
File "build/bdist.linux-i686/egg/timingandestimationplugin/tande_filters.py", line 16
self.billing_reports = set(x[0] for x in cur.fetchall())
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/reportmanager.py to reportmanager.pyc
byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/webui.py to webui.pyc
the .egg package will be created but after the enabling in project conf and install to plugins dir when i run upgrade on the project env it gives
Failed to open environment. invalid syntax (tande_filters.py, line 16)
Traceback (most recent call last):
File "/home/users/admin/system_tools/virtual-python/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/admin/console.py", line 141, in env_open
self.__env = Environment(self.envname)
File "/home/users/admin/system_tools/virtual-python/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/env.py", line 184, in __init__
load_components(self, plugins_dir and (plugins_dir,))
File "/home/users/admin/system_tools/virtual-python/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/loader.py", line 108, in load_components
loadfunc(env, search_path, auto_enable=plugins_dir)
File "/home/users/admin/system_tools/virtual-python/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/loader.py", line 65, in _load_eggs
entry.load(require=True)
File "/home/users/admin/system_tools/virtual-python/lib/python2.3/site-packages/setuptools-0.6c7-py2.3.egg/pkg_resources.py", line 1912, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "build/bdist.linux-i686/egg/timingandestimationplugin/__init__.py", line 1, in ?
File "build/bdist.linux-i686/egg/timingandestimationplugin/api.py", line 4, in ?
File "/home/users/admin/dev/trac/projects/tigroup/plugins/timingandestimationplugin-0.5.9-py2.3.egg/timingandestimationplugin/tande_filters.py", line 16
self.billing_reports = set(x[0] for x in cur.fetchall())
^
SyntaxError: invalid syntax
the same case is when im trying to install it for a single project and the same is when i try to install globally.