Modify

Opened 10 years ago

Closed 10 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 10 years ago by anonymous

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-

...

comment:2 Changed 10 years ago by Ryan J Ollos

Status: newaccepted

Thanks for catching that. I was careless when tidying up the code base.

comment:3 Changed 10 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 13804:

1.0.3: Fixed syntax error from [13760]. Fixes #11667.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.