If I try to run the Tracking.minimal.py example in .../Python/examples on my fedora machine I get the followinf error:
SyntaxError: (mismatched character \r expecting \n, (string, 7, 1, # change parameters depending on your pan tilt, pins and
at org.python.core.ParserFacade.fixParseError(ParserFacade.java:92) at org.python.core.ParserFacade.parse(ParserFacade.java:201) at org.python.core.Py.compile_flags(Py.java:1737) at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206) at org.myrobotlab.service.Python$PIThread.run(Unknown Source)------
If I remove the carriage returns everything works fine. It seems the read routine in python isn't converting dos text file to linux style correctly.
Drew
Thanks for the
Thanks for the post...
File is from the distribution
File is from the distribution at https://myrobotlab.googlecode.com/svn/trunk/.
Got a copy using svn.
Yep, fedora. I think it version 15.
Not exactly sure but I think I saw the same problem on Windows XP.
I've been viewing the scripts
I've been viewing the scripts within IDLE and spotting odd characters. Not quite got a good way of purging them yet..