Could launch check the python version of python and if it not 2.x then try python2...

How do you tell the python version from python anyway?

-Aaron

Michael Engelhart wrote:
I agree - betting on what RedHat does in their distributions is not a good plan in my idea.
It will break at some point in the future when Redhat updates their scripts and decide that pyhon2 should be removed.

Maybe Launch.py should check the Python version and if it's not a 2.x distribution, then display a message explaining how to fix the problem...

Mike Engelhart


On Thursday, November 7, 2002, at 05:52 AM, Frank Barknecht wrote:

Hi,
Ian Bicking hat gesagt: // Ian Bicking wrote:

Does anyone (at least on Posix) *not* have a python2 binary?  I know on
Debian, and I'm pretty sure Redhat, that Python has always had the
"python" binary, and version-specific binaries (python2, python2.2,
python1.5).  Since Python 2.x is becoming pretty much required for
Webware, saying "python2" might be a good idea.

On my Debian box, there isn't a python2! I have python, python2.0,
python2.1 and python2.2 (and I should deinstall some of them...)

I think, Webware should use "python" only. If that is python 1.5 still
somewhere, the sysadmin, distribution maintainer, ... should fix it
or do a workaround like "export PYTHON=/usr/bin/python2.2" or "alias
python /usr/bin/python2.1" or even edit AppServer/Launch.py
themselves.

ciao
--
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to