#! /usr/bin/python # vim:ts=4 sw=4 et: # -*- coding: utf-8 -*- so thats not the issue, and the fact that it runs from the command line means its an issue with the webservers that I cant figure out
On Sun, Sep 1, 2013 at 12:08 PM, Morten Wang <[email protected]> wrote: > The path to the Python interpreter is different between the TS and Labs, > so check what your #!-path looks like. Mine's #!/usr/bin/python and works. > > > Cheers, > Morten > > > On 1 September 2013 09:41, John <[email protected]> wrote: > >> I am in the process of moving from the toolserver to labs and am finding >> the process to be a real pain in the ass. >> >> Ive got a python cgi script that I have stripped down to a basic hello >> world and it works fine on the ts and via terminal but any attempt to run >> it on the web gives a useless error message. >> >> "appears to be non-functional at this time." >> >> yet I know the code is functional. What is labs doing to break the code? >> >> Yes Ive already checked for permissions issues and there are none the >> file is 775 >> >> _______________________________________________ >> Labs-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/labs-l >> >> > > _______________________________________________ > Labs-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/labs-l > >
_______________________________________________ Labs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/labs-l
