zheng-hao / ga-bitbot

Automatically exported from code.google.com/p/ga-bitbot
GNU General Public License v3.0
0 stars 0 forks source link

bcfeed_synch.py does not handle HTTP 503 from bitcoincharts well #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run bcfeed_sync.py

What is the expected output? What do you see instead?

bcfeed_synch: Checking potential for incremental update...
bcfeed_synch: Downloading mtgox historic data...
Traceback (most recent call last):
  File "bcfeed_synch.py", line 41, in <module>
    data = urllib2.urlopen(link).read()
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 407, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 445, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 503: Service Temporarily Unavailable

What version of the product are you using? On what operating system?

9a3eb1cce9da

Please provide any additional information below.

Causes gal.py to crash and causes all the clients to crash.

Original issue reported on code.google.com by andreas@antonopoulos.com on 3 Feb 2013 at 9:51

GoogleCodeExporter commented 8 years ago
Issue confirmed.

Original comment by brian.mo...@gmail.com on 8 Feb 2013 at 3:49

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
possible change.  havent been able to test effectively yet.

Original comment by anderson...@gmail.com on 9 Feb 2013 at 3:35

Attachments: