|
Re: What is going with __CheetahTemp files???: msg#00022python.cheetah
On Mon, Oct 06, 2003 at 12:37:13PM +0200, JZ wrote: > I switched off #cache but I still get errors :( So the problem is not related to #cache them. :) > "Mon Oct 6 12:25:44 > 2003","index.py","/opt/modules/code/index.py","exceptions.SyntaxError", > "invalid syntax (__CheetahTemp_2003100612254467271.py, line 1)", > "/opt/WebwareCVS20030925/WebKit/ErrorMsgs/Error-index.py-2003-10-06-12-25-44-35207.html" > > /tmp/__CheetahTemp_2003100612254467271.py > > import os.pathort os ## <- IT IS A NONSENSE!!! Hopefully somebody on the Webware list can figure out how this happened. > What are those __CheetahTempxxx files? Sometimes I get errors like > above (its content is distorted) But sometimes I get errors with info: > > ... > fp, pathname, stuff = imp.find_module(moduleName, [directory]) > ImportError: No module named __CheetahTemp_2003092603152598091 > > I checked. There was really no such file in /tmp. I don't know. The compiler occasionally writes temporary modules and reads them back in, but I don't understand the internals of the compiler enough to know exactly when it does this and why, or which directory it would have put them in. Sometimes Cheetah clearly puts temporary modules in the system /tmp directory, but the tests at least put them in the current directory, so I don't know if the compiler would ever do that too. -- -Mike Orr (aka. Sluggo), mso@xxxxxx (iron@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: the "Cheetah files" (part 1), Mike Orr |
|---|---|
| Next by Date: | Re: Is Cheetah thread safe?, Mike Orr |
| Previous by Thread: | What is going with __CheetahTemp files???, JZ |
| Next by Thread: | My real problem with Webware..., JZ |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |