Hi

Have your read the code in the twitter library you are using ?

If you did you will see that it has a default cache implementation
that writes to the filesystem.  Writing to the filesystem is not
possible in appengine.
You will need to supply an alternate cache implementation (use
memcache for instance) when you call twitter.Api().

 If you can not  write your own or find one, have you tried google  -
try "python twitter api" ?  There are other twitter libraries for
python available.

T



On Jul 31, 1:05 pm, Nitin Shrimali <[email protected]> wrote:
> Thanks Geoffrey
>                    But is there any other api which enable me to do the same
> thing as i want to do with this one. If yes please help me in figuring out
> this problem.
>
> With Regards
> Nitin
>
> On Fri, Jul 30, 2010 at 9:25 PM, Geoffrey Spear <[email protected]>wrote:
>
>
>
> > App Engine applications cannot write to the filesystem; the library
> > you're using is expecting to be able to write to a temporary file,
> > which is impossible.
>
> > On Jul 30, 3:12 am, Nitin Shrimali <[email protected]> wrote:
> > > Hello
> > >           I am using twitter api in appengine and on integrating it is
> > > giving me
>
> > > NotImplementedError at /monitor-twitter
>
> > > Only tempfile.TemporaryFile is available for use
>
> > >  Request Method: GET
>
> > >  Exception Type: NotImplementedError  Exception Value:
>
> > > Only tempfile.TemporaryFile is available for use
>
> > >  Exception Location:
> > /base/python_runtime/python_dist/lib/python2.5/tempfile.py
> > > in PlaceHolder, line 45  Python Executable: /base/  Python Version:
> > > 2.5.2  Python
> > > Path: ['/base/data/home/apps/nilgiriapp/1.343724449556985313',
> > > '/base/python_runtime/python_dist/lib/python25.zip',
> > > '/base/python_runtime/python_lib/versions/third_party/django-1.1',
> > > '/base/python_runtime/python_dist/lib/python2.5/',
> > > '/base/python_runtime/python_dist/lib/python2.5/plat-linux2',
> > > '/base/python_runtime/python_dist/lib/python2.5/lib-tk',
> > > '/base/python_runtime/python_dist/lib/python2.5/lib-dynload',
> > > '/base/python_runtime/python_lib/versions/1',
> > > '/base/data/home/apps/nilgiriapp/1.343724449556985313/']  Server time:
> > Fri,
> > > 30 Jul 2010 07:06:58 +0000
>
> > > Excepiton in       " *api = twitter.Api() " line. Please help me out of
> > > this.*
> > > *
> > > *
> > > *Thanks in advance for your attention and help.*
> > > *
> > > *
> > > *With Regards*
> > > *Nitin*
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine%2Bunsubscrib 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
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