[Labs-l] Conversion issues

Merlijn van Deen valhallasw at arctus.nl
Sun Sep 1 16:11:08 UTC 2013


I the file owned by the project? IIRC both user and group have to be the
project -- you can do that by running
  take <file>

while logged in as the project.


On 1 September 2013 18:10, John <phoenixoverride at gmail.com> wrote:

> #! /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 <nettrom at gmail.com> 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 <phoenixoverride at gmail.com> 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
>>> Labs-l at lists.wikimedia.org
>>> https://lists.wikimedia.org/mailman/listinfo/labs-l
>>>
>>>
>>
>> _______________________________________________
>> Labs-l mailing list
>> Labs-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/labs-l
>>
>>
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20130901/df9ef3d2/attachment.html>


More information about the Labs-l mailing list