id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
2381,0.11b1 + te plugin error,artur.kwiatkowski@tigroup.pl,bobbysmith007,hi there_ just wanted to install the plugin but on my trac 0.11b1 after running: python setup.py bdist_egg it gives:\r\n\r\n{{{\r\nbyte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/__init__.py to __init__.pyc\r\nbyte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/reports.py to reports.pyc\r\nbyte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/api.py to api.pyc\r\nbyte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/tande_filters.py to tande_filters.pyc\r\n  File "build/bdist.linux-i686/egg/timingandestimationplugin/tande_filters.py"_ line 16\r\n    self.billing_reports = set(x[0] for x in cur.fetchall())\r\n                                      ^\r\nSyntaxError: invalid syntax\r\nbyte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/reportmanager.py to reportmanager.pyc\r\nbyte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/webui.py to webui.pyc\r\n\r\n}}}\r\n\r\nthe .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\r\n\r\n{{{\r\nFailed to open environment. invalid syntax (tande_filters.py_ line 16)\r\nTraceback (most recent call last):\r\n  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\r\n    self.__env = Environment(self.envname)\r\n  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__\r\n    load_components(self_ plugins_dir and (plugins_dir_))\r\n  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\r\n    loadfunc(env_ search_path_ auto_enable=plugins_dir)\r\n  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\r\n    entry.load(require=True)\r\n  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\r\n    entry = __import__(self.module_name_ globals()_globals()_ ['__name__'])\r\n  File "build/bdist.linux-i686/egg/timingandestimationplugin/__init__.py"_ line 1_ in ?\r\n  File "build/bdist.linux-i686/egg/timingandestimationplugin/api.py"_ line 4_ in ?\r\n  File "/home/users/admin/dev/trac/projects/tigroup/plugins/timingandestimationplugin-0.5.9-py2.3.egg/timingandestimationplugin/tande_filters.py"_ line 16\r\n     self.billing_reports = set(x[0] for x in cur.fetchall())\r\n                                       ^\r\n SyntaxError: invalid syntax\r\n\r\n}}}\r\n\r\nthe same case is when im trying to install it for a single project and the same is when i try to install globally.,defect,closed,normal,TimingAndEstimationPlugin,normal,fixed,,,0.11
