emesene/emesene — Issue #922: Downloading many files from github is forbidden?
Author: Sbte
Created: 2011-11-10 23:46:09+00:00
State: open

When I try to download two image themes in a row, I get this:

```
Traceback (most recent call last):
File "/home/sven/emesene-dev/emesene/e3/common/Collections.py", line 79, in save_files
rq = self.github.get_raw(self.theme, element[label].files[path])
File "/home/sven/emesene-dev/emesene/e3/common/Github.py", line 38, in get_raw
response = urlopen(API_GITHUB_GETRAW % (self._org, repo, sha))
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 513, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 438, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 521, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
```

I wonder why that happens...