use urlfetch instead... http://code.google.com/intl/en-US/appengine/docs/urlfetch/
On Sun, Dec 14, 2008 at 11:50 AM, [email protected] < [email protected]> wrote: > > is it posable to use it(urllib)? It will not let the opener init. so > how can I run this? vital to my app! ugh, looking for work arounds, > but heading to bed now, so perhaps someone else knows something? Also > Google App admins, shouldn't that just work? why is it not working? > > ~~~~ error 1 ~~~~ > Traceback (most recent call last): > File "/base/python_lib/versions/1/google/appengine/ext/webapp/ > __init__.py", line 501, in __call__ > handler.post(*groups) > File "/base/data/home/apps/youtubedownpsp/1.329967885382643345/ > main.py", line 22, in post > f = urllib.urlopen(url) > File "/base/python_dist/lib/python2.5/urllib.py", line 77, in > urlopen > opener = FancyURLopener() > File "/base/python_dist/lib/python2.5/urllib.py", line 609, in > __init__ > URLopener.__init__(self, *args, **kwargs) > File "/base/python_dist/lib/python2.5/urllib.py", line 123, in > __init__ > self.__unlink = os.unlink # See cleanup() > AttributeError: 'module' object has no attribute 'unlink' > ~~~~ error 2 ~~~~ > Exception exceptions.AttributeError: "FancyURLopener instance has no > attribute 'tempcache'" in <bound method FancyURLopener.__del__ of > <urllib.FancyURLopener instance at 0x4928e5f2961c9e48>> ignored > > > > -- Stay hungry,Stay foolish. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
