View Single Post
Old 02-21-2009, 07:54 AM   #145
i♥cabbages
Leafy greens connoisseur
i♥cabbages has become one with the cosmosi♥cabbages has become one with the cosmosi♥cabbages has become one with the cosmosi♥cabbages has become one with the cosmosi♥cabbages has become one with the cosmosi♥cabbages has become one with the cosmosi♥cabbages has become one with the cosmosi♥cabbages has become one with the cosmosi♥cabbages has become one with the cosmosi♥cabbages has become one with the cosmosi♥cabbages has become one with the cosmos
 
Posts: 49
Karma: 21271
Join Date: Feb 2009
Device: PRS-505
Quote:
Originally Posted by Sydney's Mom View Post
SyntaxError: Non-ASCII character '\xff' in file adeptkey.pyw on line 1
Quote:
Originally Posted by Sydney's Mom View Post
WindowsError: exception: access violation writing 0x019F1570
These are two entirely different errors, which is making this harder to diagnose. The first one means that you saved the Python script as something other than ASCII, in this case seemingly UTF-16. Open a new instance of notepad, showing a completely empty file. Copy-paste from the web page again, making certain to copy from the text-box and not from the syntax-colored page content.

The second error means that one of the embedded machine code functions in the Python script attempted to access invalid memory. But (a) I have absolutely no idea in hell what could be causing that and (b) when I simulate generating an access violation I get the exception-trace window I added for adeptkey v2. I'd say that you're still running v1, except the line numbers from the exception traces match v2.

I'm hoping the second error is somehow an artifact of the encoding problem causing the first error. If not, I'm out of ideas.
i♥cabbages is offline   Reply With Quote