Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Don't use TextEdit' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't use TextEdit
Authored by: magnamous on Sep 14, '08 03:44:48PM

This was probably rather dumb of me, but I tried using TextEdit to edit the "tool" file. I was going bonkers trying to figure out why this hint wasn't working for me until I thought to check the console logs for python entries. I found that TextEdit had changed the text encoding from ASCII to something else, so python found a character in the file that it didn't like. Even specifying that TextEdit should save in ASCII format and re-saving didn't fix it. I had to re-copy "tool" from the original workflow.

So, yeah. Don't use TextEdit for this hint.



[ Reply to This | # ]
Don't use TextEdit
Authored by: boxcarl on Sep 18, '08 05:15:38AM

This is mostly Apple's fault. If you use a good text editor with invisible turned on (which is basically a necessity for doing Python), you'll see that they mixed tabs and spaces in one file--which drives Python's parser nuts and leads to disaster if you aren't extremely careful.



[ Reply to This | # ]