Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#174 closed enhancement (fixed)

Setting PYTHON_EGG_CACHE based on parameter for run_email2trac

Reported by: pepl@… Owned by: bas
Priority: major Milestone: Version 1.2
Component: email2trac Version: trunk
Keywords: Cc:

Description

Since I could not get run_email2trac to run with my postfix 2.5.1/Ubuntu Hardy setup because I could not set PYTHON_EGG_CACHE in /etc/aliases (Command output: local: fatal: execvp PYTHON_EGG_CACHE=/some/path/.egg-cache: No such file or directory

I patched run_email2trac to except a parameter -eeggcache which if set will be passed on to email2trac

Works like email2trac: |"/usr/local/bin/run_email2trac --eggcache /some/path/.egg-cache" in aliases then. Patch attached

Attachments (1)

run_email2trac.c-set_python_egg_cache_env.diff (1.4 KB) - added by pepl@… 14 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 years ago by bas

  • Status changed from new to assigned

Thanks for the patch. It will be applied to the source. Just a question you can also set it in email2trac.conf. Did you tried that?

comment:2 Changed 14 years ago by pepl@…

just tried, does not work with that.

comment:3 Changed 14 years ago by bas

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

(In [308]) Added a patch to set teh PYTHON_EGG_CACHE environment variable in run_email2trac, closes #174

comment:4 Changed 14 years ago by bas

  • Milestone set to Version 1.2

comment:5 Changed 14 years ago by bas

(In [318]) Fixed an segv in run_email2trac.c with the new python_egg cache setting. see #174

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.