<div dir="ltr"><div>#! /usr/bin/python<br># vim:ts=4 sw=4 et:<br># -*-  coding: utf-8  -*-<br><br></div>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<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 1, 2013 at 12:08 PM, Morten Wang <span dir="ltr"><<a href="mailto:nettrom@gmail.com" target="_blank">nettrom@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<div>
<br></div><div><br></div><div>Cheers,</div><div>Morten</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 1 September 2013 09:41, John <span dir="ltr"><<a href="mailto:phoenixoverride@gmail.com" target="_blank">phoenixoverride@gmail.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>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. <br>

<br></div>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. <br>
<br>"appears to be non-functional at this time."<br> <br></div>yet I know the code is functional. What is labs doing to break the code?<br><br></div>Yes Ive already checked for permissions issues and there are none the file is 775<br>


</div>
<br></div></div>_______________________________________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org" target="_blank">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
<br></blockquote></div><br></div>