At 09:48 AM 26/07/2004 +0300, Max Ischenko wrote:
>Mark Phillips wrote:
>>When I attempt to invoke AppServer, I get the following message:
>>Traceback (innermost last):
>> File "Launch.py", line 34, in ?
>> main(sys.argv)
>> File "Launch.py", line 13, in main
>> if arg.startswith('--webware-path='):
>>AttributeError: 'string' object has no attribute 'startswith'
>>I can't seem to get a hit on the words in the message. Can anyone offer a
>>link, suggestion or hint as to what is amiss and/or what I have overlooked?
>
>How do you run it?
>Looks like the script got interpreted by somenthing like Python <= 2.0.x,
>not the Python 2.3.
>
>Make sure you're using correct version of Python interpreter.
Hi Mark,
Max is right. I would bet that when you did the install, it picked up the
version of Python in SME Server, which is older. You would have to
reference the version of Python you installed explicitly, e.g.
/usr/local/python2.3/python setup.py install. It is possible to deal with
multiple versions of Python and various other support libraries. You just
have to make sure the version you want is the version being referenced.
Regards,
Clifford Ilkay
Dinamis Corporation
3266 Yonge Street, Suite 1419
Toronto, Ontario
Canada M4N 3P6
Tel: 416-410-3326
|