Issue
i cant verify my account. I get this error code:
Creating new account.
Traceback (most recent call last):
File "jodelUser.py", line 16, in <module>
j.verify(a)
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/jodel_api.py", line 171, in verify
verification = self._read_verificiation(android_account)
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/jodel_api.py", line 183, in _read_verificiation
return android_account.receive_verification_from_gcm()
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/gcmhack.py", line 128, in receive_verification_from_gcm
return self.receive_verification_from_gcm(False)
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/gcmhack.py", line 98, in receive_verification_from_gcm
raise Exception("socket closed by server")
Exception: socket closed by server
This is the Code
lat, lng, city = 48.148434, 11.567867, "Munich"
j = jodel_api.JodelAccount(lat=lat, lng=lng, city=city)
a = jodel_api.AndroidAccount()
j.verify(a)
print j.get_account_data()
i dont want to spam anything on jodel. I need only j.get_post_details_v3('postid'). However sometimes it works sometimes and sometimes i get errorcode 478
...
Environment
If you're reporting a bug, please attach the output of the following commands:
$ pip show jodel_api
Name: jodel-api
Version: 1.2.7
Summary: Unoffical Python Interface to the Jodel API
Home-page: https://github.com/nborrmann/jodel_api
Author: Nils Borrmann
Author-email: n.borrmann@googlemail.com
License: MIT
Location: /usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg
Requires: requests, future, mock, varint, protobuf
$ pip -V
pip 9.0.1 from /home/t/.local/lib/python2.7/site-packages (python 2.7)
$ python -V
Python 2.7.12
$ python -c "import jodel_api; print(jodel_api.JodelAccount.version); print(jodel_api.JodelAccount.secret)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/__init__.py", line 6, in <module>
from jodel_api.jodel_api import *
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/jodel_api.py", line 6, in <module>
install_aliases()
File "/usr/local/lib/python2.7/dist-packages/future/standard_library/__init__.py", line 483, in install_aliases
import test
File "test.py", line 2, in <module>
requests.get('https://api.github.com/user', auth=('user', 'pass'))
NameError: name 'requests' is not defined
Issue
i cant verify my account. I get this error code:
This is the Code
i dont want to spam anything on jodel. I need only j.get_post_details_v3('postid'). However sometimes it works sometimes and sometimes i get errorcode 478
...
Environment
If you're reporting a bug, please attach the output of the following commands: