Python BOM error in Ascii file

Posted by Intosia on Stack Overflow See other posts from Stack Overflow or by Intosia
Published on 2010-04-28T12:11:53Z Indexed on 2010/04/28 12:23 UTC
Read the original article Hit count: 239

Filed under:
|
|
|
|

I have a wierd annoying problem with Python 2.6

I trying to run this file (and the other), on my Embedded Linux ARM board. http://svn.tuxisalive.com/software_suite_v3/smart-core/smart-server/trunk/TDSService.py

I get this error

File "tuxhttpserver.py", line 1 SyntaxError: encoding problem: with BOM

I know that error is about the BOM bytes etc etc. BUT, there are NO BOM bytes, its plain Ascii. I checked with a Hexeditor, and the linux File command says its Ascii.

Im freaking out here... The code worked fine on my Sheevaplug (also a ARM based system).

© Stack Overflow or respective owner

Related posts about python

Related posts about bom