Hi, By doing the following change an internal error occured stating:
*Trac detected an internal error:* TemplateSyntaxError: unexpected EOF while parsing (, line 1) (<string>, line 1) SF On Thursday, May 18, 2017 at 1:58:03 PM UTC+2, Ethan Jucovy wrote: > > Hi SF, > > Try changing the first line of your [ticket-workflow-notifications] > section to: > > [ticket-workflow-notifications] > notify_reporter_when_accepted = accept_for_analysis > > > Each notification needs to be assigned to one or more workflow actions -- > in your configuration, "accepted_for_analysis" is a workflow state, not an > action; "accept_for_analysis" is the name of the workflow action. > > Let me know if that solves the problem! > > -Ethan > > On Thu, May 18, 2017 at 6:24 AM, toto200891 <[email protected] > <javascript:>> wrote: > >> Hi, >> >> I recently installed WorkflowNotificationPlugin into my trac project. >> Before to that I was using Trac Notifications to send notifications to >> users, as it was working great! But as my requirements has changed and now >> I would like to send notifications as per the ticket-workflow. So I have >> installed WorkflowNotificationPlugin. But now the notification system >> doesnt seem to work. I have attached my trac.ini file below: please see if >> am missing something and kindly help me in this regard. >> >> [notification] >> admit_domains = >> always_notify_owner = false >> always_notify_reporter = true >> always_notify_updater = false >> ambiguous_char_width = single >> default_format.email = text/plain >> email_address_resolvers = SessionEmailResolver >> email_sender = SmtpEmailSender >> ignore_domains = >> message_id_hash = md5 >> mime_encoding = base64 >> sendmail_path = sendmail >> smtp_always_bcc = >> smtp_always_cc = >> smtp_default_domain = >> smtp_enabled = true >> smtp_from = ****@gmail.com >> smtp_from_author = enabled >> smtp_from_name = >> smtp_password = ***** >> smtp_port = 25 >> smtp_replyto = ******@gmail.com >> smtp_server = smtp.gmail.com >> smtp_subject_prefix = __default__ >> smtp_to = >> smtp_user = ******@gmail.com >> ticket_subject_template = $prefix #$ticket.id: $summary >> use_public_cc = false >> use_short_addr = true >> use_tls = true >> >> [components] >> workflow_notification.* = enabled >> >> [Ticket] >> workflow = ConfigurableTicketWorkflow, TicketWorkflowNotifier >> >> [ticket-workflow] >> accept_for_analysis = new,assigned_for_analysis,accepted_for_analysis -> >> accepted_for_analysis >> accept_for_analysis.label = accept >> accept_for_analysis.operations = set_owner_to_self >> accept_for_analysis.permissions = TICKET_MODIFY >> accept_for_development = develop,test -> accepted_for_development >> accept_for_development.label = accept >> accept_for_development.permissions = TICKET_MODIFY >> accept_to_test = test -> accepted_for_test >> accept_to_test.label = accept >> accept_to_test.permissions = TICKET_MODIFY >> create = <none> -> new >> create.default = 1 >> develop = >> accepted_for_analysis,accepted_for_test,develop,accepted_for_development -> >> develop >> develop.label = develop >> develop.permissions = TICKET_MODIFY >> leave = * -> * >> leave.default = 1 >> leave.operations = leave_status >> pass = accepted_for_test -> closed >> pass.label = test_passed >> pass.operations = set_resolution >> pass.set_resolution = fixed >> reassign = new,assigned_for_analysis,accepted_for_analysis -> >> assigned_for_analysis >> reassign.label = reassign >> reassign.operations = set_owner >> reassign.permissions = TICKET_MODIFY >> reject = accepted_for_test -> develop >> reject.label = test_failed >> reopen = closed -> new >> reopen.operations = del_resolution >> reopen.permissions = TICKET_CREATE >> resolve = new,accepted_for_test-> closed >> resolve.label = wontfix >> resolve.operations = set_resolution >> resolve.permissions = TICKET_MODIFY >> test = accepted_for_development,test,accepted_for_test -> test >> test.label = test >> test.operations = TICKET_MODIFY >> >> [ticket-workflow-notifications] >> notify_reporter_when_accepted = accepted_for_analysis >> notify_reporter_when_accepted.body = Hi ${ticket.reporter}, >> '${ticket.summary}' has been accepted \nby ${change.author}. Its status is >> now ${ticket.status}. >> notify_reporter_when_accepted.recipients = ${ticket.reporter} >> notify_reporter_when_accepted.subject = '${ticket.summary}' is now >> accepted >> >> Kindly help me in this regard. >> >> Thank you, >> >> SF >> >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/trac-users. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
