[Trac] Re: ticket-workflow-notifications
Sorry, but where do I find version 0.6? On Tuesday, August 1, 2017 at 2:31:50 PM UTC-7, mickeyf wrote: > > I have tried to install and test this, but so far no joy. I'm not even > sure it has installed correctly. I am not up to speed on how things are > generally done in Python. I was not able to find an egg, but only the > zipped/tar'd code on git-hub. Not having clear direction on how to proceed, > I ran the setup.py, which did not show any complains or errors. I copied > the workflow_notification folder into /web/trac/plugins. My trac.ini > contains very nearly the example code shown on the trac hacks page: > > [ticket] > ... other stuff > workflow = ConfigurableTicketWorkflow, TicketWorkflowNotifier > > > [ticket-workflow-notifications] > when_fixed = resolve > when_fixed.body = Ticket ${ticket.id} has been fixed! View it here: > ${link} > when_fixed.subject = Ticket ${ticket.id} is fixed! > when_fixed.recipients = myem...@realaddress.com > when_fixed.condition = ${ticket.resolution == 'fixed'} > > > Is there a straightforward way to first test that this is actually > installed, and then to troubleshoot it? I have tried setting a dummy ticket > to 'fixed' but get neither a notification nor an error message. > > Thanks in advance! > -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ticket-workflow-notifications
Yes, I reported earlier that the plugin is version 0.5. I will upgrade to 0.6 and try it. Thanks. On Tuesday, August 1, 2017 at 2:31:50 PM UTC-7, mickeyf wrote: > > I have tried to install and test this, but so far no joy. I'm not even > sure it has installed correctly. I am not up to speed on how things are > generally done in Python. I was not able to find an egg, but only the > zipped/tar'd code on git-hub. Not having clear direction on how to proceed, > I ran the setup.py, which did not show any complains or errors. I copied > the workflow_notification folder into /web/trac/plugins. My trac.ini > contains very nearly the example code shown on the trac hacks page: > > [ticket] > ... other stuff > workflow = ConfigurableTicketWorkflow, TicketWorkflowNotifier > > > [ticket-workflow-notifications] > when_fixed = resolve > when_fixed.body = Ticket ${ticket.id} has been fixed! View it here: > ${link} > when_fixed.subject = Ticket ${ticket.id} is fixed! > when_fixed.recipients = myem...@realaddress.com > when_fixed.condition = ${ticket.resolution == 'fixed'} > > > Is there a straightforward way to first test that this is actually > installed, and then to troubleshoot it? I have tried setting a dummy ticket > to 'fixed' but get neither a notification nor an error message. > > Thanks in advance! > -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ticket-workflow-notifications
I suspect this will end up being something simple, like whitespace, and I got excited for a minute there, but no, that was just a paste error, there is no leading whitespace in the ini file itself. And yes, both the plugin and [ticket-workflow-notifications] section do appear on the About page. On Tuesday, August 1, 2017 at 2:31:50 PM UTC-7, mickeyf wrote: > > I have tried to install and test this, but so far no joy. I'm not even > sure it has installed correctly. I am not up to speed on how things are > generally done in Python. I was not able to find an egg, but only the > zipped/tar'd code on git-hub. Not having clear direction on how to proceed, > I ran the setup.py, which did not show any complains or errors. I copied > the workflow_notification folder into /web/trac/plugins. My trac.ini > contains very nearly the example code shown on the trac hacks page: > > [ticket] > ... other stuff > workflow = ConfigurableTicketWorkflow, TicketWorkflowNotifier > > > [ticket-workflow-notifications] > when_fixed = resolve > when_fixed.body = Ticket ${ticket.id} has been fixed! View it here: > ${link} > when_fixed.subject = Ticket ${ticket.id} is fixed! > when_fixed.recipients = myem...@realaddress.com > when_fixed.condition = ${ticket.resolution == 'fixed'} > > > Is there a straightforward way to first test that this is actually > installed, and then to troubleshoot it? I have tried setting a dummy ticket > to 'fixed' but get neither a notification nor an error message. > > Thanks in advance! > -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ticket-workflow-notifications
The plugin is enabled in the components section of trac.ini. It shows as installed in the admin page. Version 0.5 Trac is version 1.0.1 trac.log does not show either 'sending' or 'skipping' for DEBUG or TicketWorkFlowNotifier trac.log does show "Side effect for TicketWorkFlowNotifier" but that is the entire line, with no other information trac.log does not show any instances of the email address I want to send notification to. if I grep trac.log for "sending notification" I see only the email group used for all changes, never the single address I want to sent to for testing. It seems like the plugin is not even being notified of changes (?) I confirmed that the permissions for the directory tree allow executing *.py, and that those files are all owned by www-data I confirmed that the plugin and trac were both built with the same version of python On Tuesday, August 1, 2017 at 2:31:50 PM UTC-7, mickeyf wrote: > > I have tried to install and test this, but so far no joy. I'm not even > sure it has installed correctly. I am not up to speed on how things are > generally done in Python. I was not able to find an egg, but only the > zipped/tar'd code on git-hub. Not having clear direction on how to proceed, > I ran the setup.py, which did not show any complains or errors. I copied > the workflow_notification folder into /web/trac/plugins. My trac.ini > contains very nearly the example code shown on the trac hacks page: > > [ticket] > ... other stuff > workflow = ConfigurableTicketWorkflow, TicketWorkflowNotifier > > > [ticket-workflow-notifications] > when_fixed = resolve > when_fixed.body = Ticket ${ticket.id} has been fixed! View it here: > ${link} > when_fixed.subject = Ticket ${ticket.id} is fixed! > when_fixed.recipients = myem...@realaddress.com > when_fixed.condition = ${ticket.resolution == 'fixed'} > > > Is there a straightforward way to first test that this is actually > installed, and then to troubleshoot it? I have tried setting a dummy ticket > to 'fixed' but get neither a notification nor an error message. > > Thanks in advance! > -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ticket-workflow-notifications
I appears that the plug-in has loaded with no error reported, however, I am getting not notifications. I would next suspect an error in my configuration, but I have copied the example of the ini file entry directly from the wiki, changing only the recipients to a valid email, and then later to simplify testing, I set .condition = ${true}. Perhaps my .recipients is not correct syntax? May I use a simple single email address here? Does the email or list of emails need to be defined elsewhere? On Thursday, August 3, 2017 at 1:29:29 PM UTC-7, RjOllos wrote: > > > > On Thursday, August 3, 2017 at 7:25:15 AM UTC-7, mickeyf wrote: >> >> I have installed directly from github and saw no error messages. >> The relevant sections of my trac.ini are identical to those in the >> example, except that I have put in a valid email address and have altered >> the condition to be "when_fixed.condition = ${true}" to simplify testing. >> I do not get a notification when I close a test ticket as 'fixed'. >> I have set the logging to DEBUG, but don't know what I am looking for. >> >> Any further suggestions? >> > > Yes, confirm that the Component is loading, as noted in: > https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs > > "Component loading is logged at DEBUG level when restarting tracd or the > web server." > > You should see message that looks like: > 13:28:14 Trac[loader] DEBUG: Loading plugin "trac.ticket.web_ui" from > "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git" > > If WorkflowNotificationPlugin is loaded, you'll see messages that refer to > the "workflow_notification" component. If not, you might see a traceback > that indicates a problem with the plugin. > > - Ryan > -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ticket-workflow-notifications
I have installed directly from github and saw no error messages. The relevant sections of my trac.ini are identical to those in the example, except that I have put in a valid email address and have altered the condition to be "when_fixed.condition = ${true}" to simplify testing. I do not get a notification when I close a test ticket as 'fixed'. I have set the logging to DEBUG, but don't know what I am looking for. Any further suggestions? thanks -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] ticket-workflow-notifications
I have tried to install and test this, but so far no joy. I'm not even sure it has installed correctly. I am not up to speed on how things are generally done in Python. I was not able to find an egg, but only the zipped/tar'd code on git-hub. Not having clear direction on how to proceed, I ran the setup.py, which did not show any complains or errors. I copied the workflow_notification folder into /web/trac/plugins. My trac.ini contains very nearly the example code shown on the trac hacks page: [ticket] ... other stuff workflow = ConfigurableTicketWorkflow, TicketWorkflowNotifier [ticket-workflow-notifications] when_fixed = resolve when_fixed.body = Ticket ${ticket.id} has been fixed! View it here: ${link} when_fixed.subject = Ticket ${ticket.id} is fixed! when_fixed.recipients = myem...@realaddress.com when_fixed.condition = ${ticket.resolution == 'fixed'} Is there a straightforward way to first test that this is actually installed, and then to troubleshoot it? I have tried setting a dummy ticket to 'fixed' but get neither a notification nor an error message. Thanks in advance! -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Arbitrarily fine-grained priorization ?
I have dealt with this by adding a custom text field, then in my report: ORDER BY CAST (c.value AS NUMERIC). To make sure it sorts correctly. This is good enough for the moment anyway. Thanks! -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.
[Trac] Arbitrarily fine-grained priorization ?
Our legacy application used Seapine Software's Test Track. There are plenty of things about it not to like, but it did allow us to use a real number field for prioritizing. Thus we could have 1.001, 1.017, 3.8923... Whatever. This meant we could reassign and sort any number of issues to have individual, rather than simply categorized priorities. Trac uses enums, and it's not practical to have more than a handful of them since they must be individually entered. Is there a way to create a numeric field that could be used with arbitrary values for prioritizing? Thanks for any ideas / suggestions. Mickeyf -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.
[Trac] new to trac and need help finding docs
I'm trying to evaluate what trac might do for us, how to integrate it, and what's involved in doing that. FAQ - No help. So I searched for a description of the DB schema - no luck. Aha! Apparently there's an API - Great! But now it looks like if I want the API docs I have to 1) download the source 2) download and install a doc generator 3) generate the documentation. Is this for real? Even a (marked as old) dated copy of the API docs posted somewhere would give me some clues as to what I was getting involved in, but do I really have to jump through all these hoops to simply get a an idea of what the API does or does not include? And a DB schema would be welcome also, especially if the API does not include everything I might want. Trac may be a great product, but if it's a struggle to discover that... If these resources already exist in a form that I can simply consume, someone please tell me where. Thanks! -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.
[Trac] Re: new to trac and need help finding docs
This looks like much of what I was not able to find. I'm glad it was just me and not that it was missing entirely! I'll poke through it and see how much it answers. Only had a quick glance, but it's still not clear if the only way to get the complete api doc is to generate it myself. Thanks! http://trac.edgewall.org/wiki/TracDev is available from project front page... :::simon -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.