Matt Feifarek wrote:
I've seen this kind of bs on occasion.

Once in a very long while, I need to nuke .pyc files... when it
*seems* to run them rather than newer .py files.

Also, I'd look at line-ending problems (maybe there are a few lines
that have windows-y ones or something) and or indentation problems;
sometimes if a file is mixed between tab and spaces, this kind of
parsing error happens.

Usually an exception that points to something that is clearly NOT a
problem (like a comment) indicates that something just before that
point is wrong; like maybe an if statement doesn't have a colon, or a
parenthesis isn't closed.

Sometimes this has happened to me when I thought I restarted the process, but did not -- maybe the PID file gets out of date, or the process is zombified in some weird way; in those cases a restart appears not to help, but only because I'm not actually restarting like I think I am. Very frustrating. I don't think I've had any problems related to .pyc files, though -- though if your clock is screwy that could certainly happen (since .pyc files are compared to the .py files by modification date).


--
Ian Bicking  /  [EMAIL PROTECTED]  /  http://blog.ianbicking.org


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to