Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (184 - 186 of 332)

Ticket Resolution Summary Owner Reporter
#124 fixed new ticket creation fails: AttributeError: 'NoneType' object has no attribute 'replace' anonymous gdh@…
Description

Hi - I've used dpkg-buildpackage on Ubuntu hardy to build email2trac 0.70 with trac 0.11. Trying either run_email2trac in /etc/aliases, or email2trac in /etc/aliases.nobody (chowned + postalias'd) fails with this error when I run 'mail tracproj <msg.txt'

Feb 23 12:56:54 dev postfix/qmgr[25750]: F07E51F49FE: from=<root@…>, size=2214, nrcpt=1 (que ue active) Feb 23 12:56:55 dev email2trac: Traceback (most recent call last): Feb 23 12:56:55 dev email2trac: File "/usr/bin/email2trac", line 1466, in <module> tktparser.parse(sys .stdin) Feb 23 12:56:55 dev email2trac: File "/usr/bin/email2trac", line 835, in parse m.replace_header('Subje ct', mSubject?.replace('\r', ).replace('\n', )) Feb 23 12:56:55 dev email2trac: AttributeError?: 'NoneType?' object has no attribute 'replace' Feb 23 12:56:55 dev postfix/local[25758]: F07E51F49FE: to=<tracproj@…>, orig_to=<tracproj>, relay=local, delay=0.44, delays=0.02/0.01/0/0.42, dsn=5.3.0, status=bounced (Command died with status 1: "/usr/bin/email2trac ". Command output: TD: saving email to /tmp/tmpSOrsIb.email2trac )

If I run 'email2trac <msg.txt' manually from the commandline as root, then the new ticket is created OK :/

My /etc/aliases.nobody is this one line: tracproj: |"/usr/bin/email2trac "

#84 fixed New Tickets are created with resolution :fixed bas hju@…
Description

Hope this is no RTFM problem, but I found nothing in the doku and have no more ideas where to look at.

email2trac is installed an working properly. The only problem is that new tickets are showing the resolution :fixed

example:Ticket #22 (new Fehler: fixed)

There is no default_value for this nor did I find a place to define / delete it.

Only workaround is to use del_resolution in the TicketWorkflow

trac.ini

[ticket]
default_component = nicht zugeordnet
default_milestone = 
default_priority = normal
default_severity = Mittel
default_type = 
default_version = 
restrict_owner = true
workflow = ConfigurableTicketWorkflow,TicketWorkflowOpOwnerReporter,TicketWorkflowOpOwnerPrevious,TicketWorkflowOpXRef

email2trac.conf

[DEFAULT]
project: /home/trac/ticket
debug: 0
umask: 022
spam_level: 5
reply_all : 0
mailto_link: 1
umask: 022
email_header: 0
trac_version: 0.11
enable_syslog: 1
alternate_notify_template:
drop_spam: 0
verbatim_format: 0
strip_signature: 1
email_quote: >
strip_quotes: 0
ignore_trac_user_settings: 0
ticket_update: 1
blacklist: MAILER-DAEMON@

[ticket]
project: /home/trac/ticket
#304 fixed None and None-1 encoding problem bas szybalski@…
Description

Hello, While using email2trac

ve been running a email2trac plugin for a while, and this is a first time I'm having trouble with trac not being able to decoded the attachment properly.

One of the users is using 3rd party web application to send an attachment. In trac it shows up as None-1 (236.7kb), but if I cc myself on the email "thunderbird" opens it without any problems. When I open the none-1 it looks like text/binary version of a pdf.

Here is a part of the email from thunderbird. Is anybody familiar with email content types to tell me what could be wrong with it? Is this a email2trac issue or formatting issue on the person that sends it. Note that if I forward the same email using Thunderbird it attaches just fine.:

..... ..email headers... Date: 3 Oct 2012 15:32:14 -0500 Content-Type: multipart/mixed; boundary=--boundary_4_cc760ab8-c89d-410d-9943-8117bbe33377 Message-ID: <AMC1IDk4JdxVHYEuZFk0000109b@…> X-OriginalArrivalTime?: 03 Oct 2012 20:32:21.0891 (UTC) FILETIME=[30CBAD30:01CDA1A6]


Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable

<html><body style=3D"font-family : arial, tahoma, sans-serif; fon= t-size : 10pt"></body></html>


Content-Type: application/octet-stream; name=CompanyApp?.pdf Content-Transfer-Encoding: base64 Content-Disposition: attachment

JVBERi0xLjYNCg0KODggMCBvYmoNCjw8DQovRSA2NjI2OQ0KL0ggWyA2NzQzIDQy NCBdDQovTCAyNDIzODQNCi9MaW5lYXJpemVkIDENCi9OIDENCi9PIDkyDQovVCAy NDA1NzMNCj4+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KZW5kb2JqDQoNCnhyZWYNCjg4 ....... ...... MCBuDQowMDAwMjM5ODE1IDAwMDAwIG4NCjAwMDAyNDAxODkgMDAwMDAg bg0KdHJhaWxlcg0KPDwNCi9TaXplIDg4DQo+Pg0Kc3RhcnR4cmVmDQoxODQNCiUl RU9GDQo=


And in trac the "comapnyapp.pdf" is called none-1 and when opened it shows:

%PDF-1.6 2 3 88 0 obj 4 << 5 /E 66269 6 /H [ 6743 424 ] 7 /L 242384 8 /Linearized 1 9 /N 1 10 /O 92 11 /T 240573 12 >> 13 endobj 14 15 xref 16 88 206 17 0000000012 00000 n ........


original header file that does not work.

<html><body style=3D"font-family : arial, tahoma, sans-serif; fon= t-size : 10pt"></body></html>


Content-Type: application/octet-stream; name=CompanyApp?.pdf Content-Transfer-Encoding: base64 Content-Disposition: attachment


header files from Thunderbird after I forward the email to truck from Thunderbird. This will be encoded correctly.

Content-Type: multipart/mixed;

boundary="------------020106040507050806030301"

This is a multi-part message in MIME format.


Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit


Content-Type: application/octet-stream;

name="CompanyApp?.pdf"

Content-Transfer-Encoding: base64 Content-Disposition: attachment;

filename="CompanyApp?.pdf"

Note: See TracQuery for help on using queries.