Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

#3117 closed defect (fixed)

trac-post-commit-hook: ImportError: No module named Notify

Reported by: Markus Tacker <m@…> Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords:
Cc:
Release Notes:
API Changes:

Description

Calling trac-post-commit-hook from r3265 gives

Traceback (most recent call last):
  File "/opt/trac/contrib/trac-post-commit-hook", line 77, in ?
    from trac.Notify import TicketNotifyEmail
ImportError: No module named Notify

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

Hopefully fixed in r3272, please test.

comment:2 Changed 10 years ago by anonymous

Yeah. It works. Thanks a lot.

comment:3 Changed 10 years ago by jeremy@…

Resolution: fixed
Status: closedreopened

Traceback (most recent call last):

File "/usr/local/bin/email2trac", line 832, in ?

from trac.Notify import TicketNotifyEmail?

ImportError?: No module named Notify

Seems similar?

comment:4 Changed 10 years ago by sid

Resolution: fixed
Status: reopenedclosed

Yep, similar problem, but you'll have to ask the maintainer of that module to fix it. He is quite responsive to fixes and bugs. See http://trac-hacks.org/wiki/EmailtoTracScript

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.