Modify

Opened 14 years ago

Closed 14 years ago

#209 closed defect (fixed)

Update of tickets from email2trac-1.4.6 is not working

Reported by: mark_kids@… Owned by: bas
Priority: major Milestone:
Component: email2trac Version: trunk
Keywords: Cc:

Description

Hi,

I've tried replying to the notification sent from newly
created tickets. Also I've set the following in the email2trac.conf

[avalanche]
project: /var/www/trac/avalanche
ticket_update: 1
strip_quotes: 1
trac_version: 0.12

This is my subject line:

RE: [avalanche] #40:
testing adding base url to [trac] in trac.ini

How come it doesn't update the ticket? Is there something wrong in the
subject line? Am I
missing something?

Please advice.

Thanks,
Mark

Attachments (1)

errors.JPG (28.5 KB) - added by mark_kids@… 14 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (5)

comment:0 Changed 14 years ago by mark_kids@…

Jun 26 01:39:42 email2trac: Traceback (most recent call last):
Jun 26 01:39:42 email2trac:   File "/usr/local/bin/email2trac", line 2151,
in <module>     tktparser.parse(sys.stdin)
Jun 26 01:39:42 email2trac:   File "/usr/local/bin/email2trac", line 1509,
in parse     self.ticket_update(m, result.group('reply'), spam_msg)
Jun 26 01:39:42 email2trac:   File "/usr/local/bin/email2trac", line 853, in
ticket_update     tkt.save_changes(self.author, body_text, when, None, str
(cnum))
Jun 26 01:39:42 email2trac:   File
"build/bdist.linux-x86_64/egg/trac/ticket/model.py", line 253, in
save_changes     when_ts = to_utimestamp(when)
Jun 26 01:39:42 email2trac:   File
"build/bdist.linux-x86_64/egg/trac/util/datefmt.py", line 78, in
to_utimestamp     diff = dt - _epoc
Jun 26 01:39:42 email2trac: TypeError: unsupported operand type(s) for -:
'int' and 'datetime.datetime'





________________________________
From: email2trac <email2trac@sara.nl>
Cc: basv@sara.nl
Sent: Thursday, June 24, 2010 2:28:14 PM
Subject: [email2trac] #209: Update of tickets from email2trac-1.4.6 is not
working

#209: Update of tickets from email2trac-1.4.6 is not working
--------------------------------+-------------------------------------------
Reporter:  mark_kids@…          |        Owner:  bas
    Type:  defect               |       Status:  new
Priority:  major                |    Component:  email2trac
Version:  1.4.6                |   Resolution:  fixed
--------------------------------+-------------------------------------------
{{{

Hi,

I've tried replying to the notification sent from newly
created tickets. Also I've set the following in the email2trac.conf

[avalanche]
project: /var/www/trac/avalanche
ticket_update: 1
strip_quotes: 1
trac_version: 0.12

This is my subject line:

RE: [avalanche] #40:
testing adding base url to [trac] in trac.ini

How come it doesn't update the ticket? Is there something wrong in the
subject line? Am I
missing something?

Please advice.

Thanks,
Mark
}}}

Changed 14 years ago by mark_kids@…

Added by email2trac

comment:1 Changed 14 years ago by mark_kids@…

Please see snapshot for quick fix.

Thanks,
Mark

errors.JPG

comment:2 Changed 14 years ago by bas

  • Status changed from new to assigned
  • Version changed from 1.4.6 to trunk

Thanks for the patch. I will release a new version today

comment:4 Changed 14 years ago by bas

  • Status changed from assigned to closed

(In [386]) Ticket update for version 0.12 did not work, closes #209

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.