I take that back - it was an indentation issue with my script, fixed it and IT WORKS! Thank you so much for your help!
Ahmed On Friday, December 11, 2015 at 9:54:30 AM UTC-5, Ahmed M. wrote: > > Here is what I did, I put the code in a .py file in the plugins directory > and enabled it in the trac ini file - see attached screenshots. No change > what so ever! I don't even see the plugin in the web admin screen! > So I read again the above threads and found that I need to update my > permission_policies to include it - which I did: > permission_policies = ReadonlyClosedTickets, DefaultPermissionPolicy, > LegacyAttachmentPolicy > > now I can't even login to the site - I get an error screen (see attached > screenshot). > > Sorry but I am stuck - again! > > On Thursday, December 10, 2015 at 5:20:36 PM UTC-5, RjOllos wrote: >> >> >> >> On Thursday, December 10, 2015 at 1:55:17 PM UTC-8, Ahmed M. wrote: >>> >>> I want to apply this to all closed tickets (no special resolution) and I >>> am not having much luck. I tried to change the line if t['resolution'] == >>> 'fixed', if t['resolution'] == 'closed' but nothing happened. any idea how >>> I can debug\fix this? >>> >>> Thanks, >>> >> >> Please try: >> t['status'] == 'closed' >> > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
