[Trac] Re: Can't get TicketSubmitPolicyPlugin to work
On Thu, Sep 17, 2009 at 09:56:11AM -0300, Andrea VB wrote: Greetings! I've followed the page's instructions to install !TicketSubmitPolicyPlugin, and I'm not sure the installation has been successfully completed: the plugin is not showed at the Admin's tab. However, if I try to upload the egg, Trac tells me that the plugin is already installed. I've tried to ignore this (as I can already configure trac.ini by hand), but, when creating/editing a ticket, the conditions are not tested. The above makes me nervous. If the plugin doesn't show as enabled in the Admin tab, it probably isn't regardless of what you write in trac.ini (if there are errors, which should show up in the log for log_level = DEBUG, then the plugin won't load). I would look through the log and make sure the plugin is loaded and make sure it shows up on the Admin page. I have had a couple of sneaky issues where it looks like a plugin shows up in the logs, but in fact there is a weirdiosity where it is not actually enabled (e.g., https://projects.openplans.org/trac/changeset/25466). I've configured trac.ini following the first example: {{{ [ticket-submit-policy] policy1.condition = type is not defect policy1.excludes = version policy2.condition = type is defect policy2.requires = version }}} So, I've created a ticket that was a defect report without a version, and a project task that had a version. Both of them were created, no errors/warnings displayed. I've also restarted Apache after installing the plugin and configuring trac.ini I'm using Debian 5.0, Trac 0.11.1, and I've tried both Mozilla Firefox 3.0.13 and Seamonkey 1.1.7. Thank you very much for any help. If the plugin is in fact enabled, please file a bug at http://trac-hacks.org/newticket?component=TicketSubmitPolicyPluginowner=k0s ; I can't promise to get around to it soon, however. Jeff -- Andrea VB Please, don't CC me when replying to me on the lists, and use BCC when sending mass e-mails. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Can't get TicketSubmitPolicyPlugin to work
Hello, Jeff, thank you very much for your answer. On Fri, Sep 18, 2009 at 1:32 PM, Jeff Hammel wrote: On Thu, Sep 17, 2009 at 09:56:11AM -0300, Andrea VB wrote: I've followed the page's instructions to install !TicketSubmitPolicyPlugin, and I'm not sure the installation has been successfully completed: the plugin is not showed at the Admin's tab. However, if I try to upload the egg, Trac tells me that the plugin is already installed. I've tried to ignore this (as I can already configure trac.ini by hand), but, when creating/editing a ticket, the conditions are not tested. The above makes me nervous. If the plugin doesn't show as enabled in the Admin tab, it probably isn't regardless of what you write in trac.ini (if there are errors, which should show up in the log for log_level = DEBUG, then the plugin won't load). Sorry, maybe I just didn't express it right. What I meant is that I wasn't really worried about the Admin tab, because I wouldn't need it (as I can configure trac.ini by hands). I would look through the log and make sure the plugin is loaded and make sure it shows up on the Admin page. I have had a couple of sneaky issues where it looks like a plugin shows up in the logs, but in fact there is a weirdiosity where it is not actually enabled (e.g., https://projects.openplans.org/trac/changeset/25466). I'm not sure about what happened, but after a server restart, the plugin has been loaded. I had Thank you very much for any help. If the plugin is in fact enabled, please file a bug at http://trac-hacks.org/newticket?component=TicketSubmitPolicyPluginowner=k0s ; I can't promise to get around to it soon, however. It's enabled now. I'll test it and, if needed, I'll create the bug. Thanks again for your support. --andreavb -- Andrea VB Please, don't CC me when replying to me on the lists, and use BCC when sending mass e-mails. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---