Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Can't run read-only version #1

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments
Open

Can't run read-only version #1

GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

crypto-mining-calc-read-only$ python calc.py BTC
Traceback (most recent call last):
  File "calc.py", line 59, in <module>
    calc.update()
  File "/home/santeador/scripts/bc/crypto-mining-calc-read-only/miningcalc.py", line 68, in update
    self.update_data()
  File "/home/santeador/scripts/bc/crypto-mining-calc-read-only/miningcalc_btc.py", line 56, in update_data
    json_data = urllib2.urlopen(url).read()
  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 406, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 444, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 405: Not Allowed

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

Ubuntu Server 12.04

Thank you very much for this great code!


Original issue reported on code.google.com by [email protected] on 7 Feb 2014 at 7:13

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant