Hi All, I'm a new trac user. We have trac 0.11.1 running on a centos v5 linux server. We are having a strange issue, after we modify a ticket we can no longer look at it.
We have been getting an error indicating that more than 5 values are required to unpack.... I traced this down to a method and query in trac/ticket/model.py I've been able to get around the error for now. However I'd like some help in fixing this correctly. Here is what I did... I edited the file /usr/local/lib/python2.5/site-packages/Trac.../trac/ ticket/model.py In method get_changelog on line 319 I added permanent = "" on line 320 I commented our the original for loop through the cursor returned from the sql query. on line 323 I made permanent optional....so in effect we are not expecting or using permanent from the cursor anymore....because it's never there....and then we satisfy the return signature by providing a blank value for the variable permanent. I then restarted apache and it all seems to be working fine. Can someone tell me what the permanent variable is and how it ends up in the query? It did not look to me like it would ever be returned from the join statements. Oh yeah, we are using python 2.5 Thanks York --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
