Modify

Opened 3 years ago

Last modified 3 years ago

#14035 new defect

ticket2trac.py script not work on trac1.4.3

Reported by: asrafbd2323@… Owned by: Singbox AB
Priority: normal Component: TicketToTracScript
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description (last modified by Jun Omae)

Hi,

We have installed trac 1.4.3 successfully. It is working fine.

But we are facing one problem while creating ticket using Ticket2trac.py script. It showing below error.

python ticket2trac.py -h

Traceback (most recent call last):
  File "ticket2trac.py", line 49, in <module>
    from trac.ticket.notification import TicketNotifyEmail
ImportError: cannot import name TicketNotifyEmail

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by Jun Omae

Description: modified (diff)

comment:2 Changed 3 years ago by Ryan J Ollos

You might just comment out lines 205-206 and add pass since the method contains no other code. The script needs to be updated for the Trac 1.2 and later notification API.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Singbox AB.

Add Comment


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

 
Note: See TracTickets for help on using tickets.