Modify ↓
Opened 12 years ago
Closed 12 years ago
#11667 closed defect (fixed)
invalid syntax current version
| Reported by: | anonymous | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | high | Component: | DuplicateTicketSearchPlugin |
| Severity: | critical | Keywords: | |
| Cc: | Trac Release: |
Description
Please fix the invalid syntax.
trunk/duplicateticketsearch/__init__.py 19 def get_htdocs_dirs(self): 20 import pkg_resources import resource_filename to 19 def get_htdocs_dirs(self): 20 from pkg_resources import resource_filename
Attachments (0)
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
| Status: | new → accepted |
|---|
Thanks for catching that. I was careless when tidying up the code base.
Note: See
TracTickets for help on using
tickets.



I try install this component, but caught the this error.
[root@tracserver tracuser]# easy_install http://trac-hacks.org/svn/duplicateticketsearchplugin/trunk/ Downloading http://trac-hacks.org/svn/duplicateticketsearchplugin/trunk/ Doing subversion checkout from http://trac-hacks.org/svn/duplicateticketsearchplugin/trunk/ to /tmp/easy_install-twzGX5/trunk Processing trunk Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-twzGX5/trunk/egg-dist-tmp-4wgiJJ SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/duplicateticketsearch/__init__.py', 20, 35, ' import pkg_resources import resource_filename\n')) zip_safe flag not set; analyzing archive contents... SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/DuplicateTicketSearch-1.0.2_r13761-py2.6.egg/duplicateticketsearch/__init__.py', 20, 35, ' import pkg_resources import resource_filename\n')) Adding DuplicateTicketSearch 1.0.2- ...