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

Jani Partanen jiipee at sotapeli.fi
Mon Mar 19 13:07:54 EDT 2007


Or 'man dos2unix' can be handy too ;)


Pelikaista / Mediatraffic Oy
Jani Partanen
Battlefield 2 admin
tel. +358 505 817 817
e-mail: jiipee at pelikaista.net jiipee at sotapeli.fi 

 

> -----Original Message-----
> From: Kevin Laude [mailto:klaude at theplanet.com] 
> Sent: Monday, March 19, 2007 5:43 PM
> To: bf1942 at icculus.org
> Subject: Re: [bf1942] Problem with rotate_demo.py on bf2142 : solved
> 
> 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
> >
> >
> >
> 
> 
> ---
> To unsubscribe, send a blank email to bf1942-unsubscribe at icculus.org
> 
> 
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jiipee at pelikaista.net.vcf
Type: text/x-vcard
Size: 564 bytes
Desc: not available
URL: <http://icculus.org/pipermail/bf1942/attachments/20070319/5f9292ee/attachment.vcf>


More information about the Bf1942 mailing list