[bf1942] Problem with rotate_demo.py on bf2142 : solved

Kevin Laude klaude at theplanet.com
Mon Mar 19 11:42:56 EDT 2007


Python is a syntax-fussy language. Edit your scripts in Windows with  
the Windows Python editor. It's included with the Python Windows  
installer, http://www.python.org/download/ .

Kevin Laude
Insomnia365 Worker Bee
http://www.theplanet.com


On Mar 19, 2007, at 12:40 AM, extendhost.de wrote:

> problem solved,
>
> seems that win line-breaks caused this,
> we had edited our version of rotate_demo.py on windows, restoring  
> the original script an editing on linux solved our problem.
>
> regards
> Mike
>
>
>
> extendhost.de schrieb:
>> Hello List,
>>
>> is anyone out who can give me a hint what's wrong ?
>>
>> explanation :
>>
>> -we run a bf2142 server which should rotate demos via adminutils/ 
>> demo/rotate_demo.py, but it doesnt work
>>
>> -python interpreter 2.3 as recomended is installed on the system  - 
>> path to python is /usr/bin/python.
>>
>> -we get this error when starting rotate_demo.py on command-line :
>>
>> feuerteufel:/bf2142/adminutils/demo # ./rotate_demo.py
>> : bad interpreter: No such file or directory
>>
>> -starting rotate_demo.py with : /usr/bin/python rotate_demo.py works
>>
>> -first line of rotate_demo.py is : #! /usr/bin/python
>>
>> -running other .py files like lowercaseDir.py works fine
>>
>> how can i convince my bf2142 server to rotate the demo-files ? :)
>>
>> thanks
>>
>>
>> regards
>> Mike
>>
>>
>>
>>
>>
>> ---
>> To unsubscribe, send a blank email to bf1942-unsubscribe at icculus.org
>>
>>
>>
>
>
> ---
> To unsubscribe, send a blank email to bf1942-unsubscribe at icculus.org
>
>
>




More information about the Bf1942 mailing list