egirault / googleplay-api

Google Play Unofficial Python API - This project was a PoC and is not maintained anymore. Please feel free to fork it and improve it in any way.
879 stars 373 forks source link

Bug in categories.py #2

Closed virtualabs closed 12 years ago

virtualabs commented 12 years ago

Categories.py seems non-working anymore, issuing HTTP 500 error (oO)

Traceback (most recent call last): File "categories.py", line 15, in response = api.browse() File "/home/virtualabs/playstore/googleplay-api/googleplay.py", line 209, in browse message = self.executeRequestApi2(path) File "/home/virtualabs/playstore/googleplay-api/googleplay.py", line 165, in executeRequestApi2 data = urllib2.urlopen(request).read() File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.6/urllib2.py", line 397, in open response = meth(req, response) File "/usr/lib/python2.6/urllib2.py", line 510, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.6/urllib2.py", line 435, in error return self._call_chain(_args) File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(_args) File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 500: Internal Server Error

Launched from my laptop connected to the Internet through my phone.

Fuzion24 commented 12 years ago

Seems to work fine for me, is this related to your other androidID issue?

virtualabs commented 12 years ago

Yep, too. Please close my 2 issues. I mistyped my androidID.

Fuzion24 commented 12 years ago

I have nothing to do with this project, but I think you can close the issue yourself..

Fuzion24 commented 12 years ago

Actually, it might be nice if the library somehow regex'ed the AndroidID and failed if it was invalid...