>From eyeballing your message, it looks like there might be Python 2.2 compatibility problems in there. I'm using Python 2.1 and I haven't tested 2.2 at all myself.
Has anyone else run Webware with Python 2.2 successfully? - Geoff > -----Original Message----- > From: design [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 15, 2002 1:28 PM > To: [EMAIL PROTECTED] > Subject: Re: [Webware-discuss] OneShot.cgi / some Examples broken > (1.6.1b) > > > > okay i got and compiled python 2.2 > damn that was painless !! > i can run python 2.2 as an interpreter > > > > i change OneShot.cgi to point to > > #!/home/crucial/bin/Python-2.2/python > > it still doesn't send headers or do anything. > > > > adding my own Content-type etc., python is running. > i assume its running that version of 2.2 > > can't figure out how to access and print the python version number. > google and the docs haven't enlightened me. anyone ? > > > > > change WebKit.cgi to also point to > #!/home/crucial/bin/Python-2.2/python > > > and try to start the AppServer, but... > > > bash$ /home/crucial/bin/Python-2.2/python AppServer > File "<string>", line 3 > /usr/bin/env python Launch.py ThreadedAppServer $* > ^ > SyntaxError: invalid syntax > > > > bash$ /home/crucial/bin/Python-2.2/python AppServer.py > Caught exception: global name '__file__' is not defined > Exiting AppServer > Traceback (most recent call last): > File "AppServer.py", line 316, in ? > main() > File "AppServer.py", line 294, in main > server.shutDown() > UnboundLocalError: local variable 'server' referenced before > assignment > > > > is there some other way i should do this ? > > > thankx! > > _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss