Opened 13 years ago
Closed 13 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 13 years ago by Dennis McRitchie <dmcr@…>
comment:2 Changed 13 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 13 years ago by bas
- Milestone set to Release 1.1.0
apllyt to trunk and scheduled for release
comment:4 Changed 13 years ago by bas
- Resolution set to fixed
- Status changed from assigned to closed
The fix got messed up by the wiki formatting. Here it is again: