Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (97 - 99 of 332)

Ticket Resolution Summary Owner Reporter
#181 fixed python error when email2trac gets an email with any kind of attachment bas smcbutler
Description

when we send an email to the email2trac address we get the following python error.

i've looked through the archives and couldn't find anything similar (surprisingly)

help! :)

<support@…>: Command died with status 1:

"PYTHON_EGG_CACHE=/var/trac; export PYTHON_EGG_CACHE; /usr/local/bin/email2trac --ticket_prefix=vsc_trac". Command output: TD: saving email to /tmp/tmpGxSGuz.email2trac

Reporting-MTA: dns; methodics-da.com X-Postfix-Queue-ID: 64A8E20B9C X-Postfix-Sender: rfc822; simon@… Arrival-Date: Sat, 20 Feb 2010 19:45:02 -0800 (PST)

Final-Recipient: rfc822; support@… Original-Recipient: rfc822;support@… Action: failed Status: 5.3.0 Diagnostic-Code: x-unix; TD: saving email to /tmp/tmpGxSGuz.email2trac

#163 fixed Python egg cache problem (and fix) in v 1.0.0 of email2trac bas Dennis McRitchie <dmcr@…>
Description

This is related to ticket #126.

I'm using v 1.0.0 of email2trac and v 0.11 of Trac, and found that the egg cache problem has not been wholly fixed. I had to make the following change after the call to ReadConfig?(), but before the call to Environment(). Without this change, I got a traceback that it was trying to use a .python-eggs directory under the sendmail directory tree (/var/spool/mqueue/.python-eggs) when Environment() is called.

if settings.has_key('python_egg_cache'):

python_egg_cache = str(settingspython_egg_cache?) os.environPYTHON_EGG_CACHE? = python_egg_cache

Dennis

#10 fixed PYTHON_EGG_CACHE needed bas anonymous
Description
TD: saving email to /var/tmp/msg.txt
TD: part1: Content-Type: text/plain
TD: part1: filename: None
TD: this part is not multipart
TD: writing part1 (/var/tmp/part1)
TD: Failure sending notification on creation of ticket #10: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg
cache:

  [Errno 13] Permission denied: '/var/www/.python-eggs'

The Python egg cache directory is currently set to:

  /var/www/.python-eggs

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

Note: See TracQuery for help on using queries.