Modify

Opened 16 years ago

Closed 16 years ago

#4444 closed defect (wontfix)

TracHoursPlugin : syntax error on hours.py

Reported by: perez.david@… Owned by: Jeff Hammel
Priority: high Component: TracHoursPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description

After downloading from source & installing the latest build TracHoursPlugin-0.2.2-py2.3.egg and restarting tracd, this is the error message I get:

trac: Error (invalid syntax (hours.py, line 59))

Is there something I am missing out?

Thanks for your help,

David

Attachments (0)

Change History (4)

comment:1 Changed 16 years ago by Jeff Hammel

Resolution: wontfix
Status: newclosed

need more information to do anything with this ticket. this does not happen to me. using the latest trunk, r5124 , line 59 of source:trachoursplugin/0.11/trachours/hours.py is

                args.extend((k, i) for i in v)

This should be fine syntax. I do python setup.py install to install the plugin. I recommend trying this. I haven't had much luck with eggs....ever.

comment:2 Changed 16 years ago by anonymous

Resolution: wontfix
Status: closedreopened

Could it be because of the version of Python I am using, 2.3? Tried your install, used a verbose to see installation details, but although there is no error there, it doesn't seem to have install anything. Is there a way to know how if the installation went fine?

Thanks again for your help.

comment:3 Changed 16 years ago by Jeff Hammel

(In [5127]) change the list comprehensions around; refs #4444

comment:4 in reply to:  2 Changed 16 years ago by Jeff Hammel

Resolution: wontfix
Status: reopenedclosed

Replying to anonymous:

Could it be because of the version of Python I am using, 2.3? Tried your install, used a verbose to see installation details, but although there is no error there, it doesn't seem to have install anything. Is there a way to know how if the installation went fine?

Thanks again for your help.

Yeah, it is unlikely this plugin or any of my plugins will work with 2.3. 2.3 is old and you should upgrade. I made a fix that might help with the immediate issue, but I have no interest in backporting the plugin to legacy python

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeff Hammel.
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.