The stacktrace is telling you what is going on.

return os.path.join(tempfile.gettempdir(), cache_directory) 
 raise NotImplementedError("Only tempfile.TemporaryFile is available for 
use")  

As you already know you can't write to the filesystem in appengine, so 
having a function in the tempfile module that starts to play with the 
filesystem isn't going to work
so that lib has been replaced in the appengine runtime, with all of the non 
functioning methods/functions
changed to raise NotImplementedError.

This means out of the box (or with your specific use) of the twitter.py 
won't run on appengine.

Have a look through the groups here, people have had the same problem in 
the past, and 
have probably worked out how to access twitter api without creating 
temporary files.

T

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/HbfSjher4RkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to