Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Sep 5th, 2010 | Syntax: None | Size: 0.72 KB | Hits: 30 | Expires: Never
Copy text to clipboard
  1. [GCC 4.4.3] on linux2
  2. Type "help", "copyright", "credits" or "license" for more information.
  3. >>> import weather
  4. >>> Weather.fetch()
  5. Traceback (most recent call last):
  6.   File "<stdin>", line 1, in <module>
  7. NameError: name 'Weather' is not defined
  8. >>> import Weather
  9. >>> Weather.fetch()
  10. Traceback (most recent call last):
  11.   File "<stdin>", line 1, in <module>
  12.   File "Weather/globals.py", line 26, in fetch
  13.     urlretrieve(OBSURL,ZFILE)
  14.   File "/usr/lib/python2.6/urllib.py", line 93, in urlretrieve
  15.     return _urlopener.retrieve(url, filename, reporthook, data)
  16.   File "/usr/lib/python2.6/urllib.py", line 241, in retrieve
  17.     tfp = open(filename, 'wb')
  18. IOError: [Errno 13] Permission denied: 'Weather/all_xml.zip'
  19. >>>