Advertisement
Guest User

Untitled

a guest
Sep 5th, 2011
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.64 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement