Modify

Opened 11 years ago

Closed 11 years ago

#163 closed enhancement (fixed)

Python egg cache problem (and fix) in v 1.0.0 of email2trac

Reported by: Dennis McRitchie <dmcr@…> Owned by: bas
Priority: major Milestone: Release 1.1.0
Component: email2trac Version: 1.0.0
Keywords: Cc:

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

Attachments (0)

Change History (4)

comment:1 Changed 11 years ago by Dennis McRitchie <dmcr@…>

The fix got messed up by the wiki formatting. Here it is again:

if settings.has_key('python_egg_cache'):
                python_egg_cache = str(settings['python_egg_cache'])
                os.environ['PYTHON_EGG_CACHE'] = python_egg_cache

comment:2 Changed 11 years ago by bas

  • Status changed from new to assigned
  • Type changed from defect to enhancement

Thanks for the patch and will applied it when i am back from holidays

comment:3 Changed 11 years ago by bas

  • Milestone set to Release 1.1.0

apllyt to trunk and scheduled for release

comment:4 Changed 11 years ago by bas

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

(In [291]) committed patch, so closes #163

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.