SHARE
TWEET

Untitled

a guest Sep 5th, 2011 63 Never
  1. Traceback (most recent call last):
  2.   File "apaga.py", line 18, in <module>
  3.     urllib.urlretrieve('http://maps.google.com.br/maps/ms?msid=' + uid + '.' + str(mapid) + '&msa=0&output=kml', mapname + '.kml')
  4.   File "C:\Python26\lib\urllib.py", line 93, in urlretrieve
  5.     return _urlopener.retrieve(url, filename, reporthook, data)
  6.   File "C:\Python26\lib\urllib.py", line 243, in retrieve
  7.     tfp = open(filename, 'wb')
  8. IOError: [Errno 22] invalid mode ('wb') or filename: '<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="X-UA-Compatible" conte
  9. nt="IE=EmulateIE7"/> ...
  10.  
  11. etc etc etc and so goes on with all the page content
RAW Paste Data
Top