Modify

Opened 15 years ago

Closed 15 years ago

#129 closed defect (fixed)

Unable to modify tickets created by email

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

Description

It seems that ticket is created with empty keywords beeing parsed. See the attachement. Thanks.

Attachments (1)

InternalError1238157830208.png (83.5 KB) - added by david@… 15 years ago.

Download all attachments as: .zip

Change History (8)

Changed 15 years ago by david@…

comment:1 Changed 15 years ago by bas

  • Status changed from new to assigned

So you can not update tickets created by enauk2trac. Which version do you use? and can you attach an email message that triggers this problem.

comment:2 Changed 15 years ago by david@…

Yes, that's correct. Version is $Id: email2trac.py.in 194 2008-02-04 10:27:22Z bas $ as I'm running on python-2.3.4-14.7.el4. I can create some email.

comment:3 Changed 15 years ago by bas

i meant version of email2trac 0.XX/ I have checked it agianst 0.70 and this have version number:

  • $Id: email2trac.py.in 253 2009-01-28 08:25:08Z bas

So it seems that you have an old version of email2trac and did you specify the trac_version in /etc/email2trac.conf

trac_version: 0.11

My advise is first upgrade to the new version?

comment:4 Changed 15 years ago by anonymous

As I'm runing on python 2.3 I can't upgrade to the latest version. Email2trac uses function from python 2.4. As I remeber it right, the latest version running on pzthon 2.4 is email2trac 0.40. But this version doesn't create tickets for me.

comment:5 Changed 15 years ago by anonymous

Version 0.13 works from cmdl and with postfix and creates tickets but there's problems with keywords. Version 0.40 works from cmdl and NOT with postfix and does not create tickets but there's no problem with keywords when runing from cmdl.

comment:6 Changed 15 years ago by anonymous

So, I realized finally why 0.40 is not working. It fails on:

Mar 28 21:14:42 cvs email2trac: Traceback (most recent call last):
Mar 28 21:14:42 cvs email2trac:   File "/usr/bin/email2trac.py", line 1292, in ?     tktparser.parse(sys.stdin)
Mar 28 21:14:42 cvs email2trac:   File "/usr/bin/email2trac.py", line 856, in parse     self.new_ticket(m, spam_msg)
Mar 28 21:14:42 cvs email2trac:   File "/usr/bin/email2trac.py", line 720, in new_ticket     self.set_ticket_fields(tkt)
Mar 28 21:14:42 cvs email2trac:   File "/usr/bin/email2trac.py", line 702, in set_ticket_fields     print 'user_dict[%s] = %s' %(name, value)
Mar 28 21:14:42 cvs email2trac: UnicodeEncodeError: 'ascii' codec can't encode character u'\u0159' in position 24: ordinal not in range(128)

When I disable debug 0.40 version is working fine and keywords issue has gone.

comment:7 Changed 15 years ago by bas

  • Resolution set to fixed
  • Status changed from assigned to closed

thanks for repporting

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.