Re: ask-2.5.0-1 and Python 2.3?
Marco Paganini <[email protected]> Mon, 14 Mar 2005 14:05:03 -0500
| Newsgroups | gmane.mail.spam.active-spam-killer.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Erez, On Mon, Mar 14, 2005 at 12:33:32PM -0500, Erez Zadok wrote: > Marco, here's another interesting point of info in addition to the python2.3 > issue. The ask.py script is exec'ed with: > #!/usr/bin/env python2.2 Yes. This was an old issue. I have fixed it a long time ago, but no formal release followed the fix. :\ > This didn't work for me, even if the "python2.2" program was found in my > path. This was the case whether I installed the python-2.2 compatibility > RPMs on my machine (in /usr/bin), or hand-built python-2.2.3 from sources > and installed it in /usr/local/bin. I had to change the exec to list the > full path of python: > > #!/usr/local/bin/python2.2 When you have a mismatch there, it shouldn't work at all, as env tries to execute something that does not exist. > To be precise, the use of /usr/bin/env didn't work for me when python was > exec'ed by sendmail from my .forward. But it did work if hand-exec'ed > ask.py. You can remove "env" from there and execute Python directly. Regards, Paga -- Marco Paganini | UNIX / Linux / Networking [email protected] | PGP: http://www.paganini.net/pgp/ http://www.paganini.net | Magnus Frater te spectat... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click