Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

self.device_info in rpc_api.py #234

Open
sburggsx opened this issue Aug 23, 2016 · 0 comments
Open

self.device_info in rpc_api.py #234

sburggsx opened this issue Aug 23, 2016 · 0 comments

Comments

@sburggsx
Copy link

I'm getting an error for self.device_info that says:

TypeError: 'NoneType' object is not iterable

Full output below:

2016-08-22 23:48:29,760 [ pgoapi] [ INFO] Adding 'GET_MAP_OBJECTS' to RPC request including arguments 2016-08-22 23:48:29,766 [ pgoapi] [ INFO] Execution of RPC Traceback (most recent call last): File "adapokefinder.py", line 257, in <module> main() File "adapokefinder.py", line 159, in main find_poi(api, position[0], position[1]); File "adapokefinder.py", line 186, in find_poi response_dict = api.get_map_objects(latitude = util.f2i(lat), longitude = util.f2i(lng), since_timestamp_ms = timestamps, cell_id = cell_ids) File "/home/pi/pgoapi/pgoapi/pgoapi.py", line 139, in function return request.call() File "/home/pi/pgoapi/pgoapi/pgoapi.py", line 241, in call response = request.request(self._api_endpoint, self._req_method_list, self.get_position()) File "/home/pi/pgoapi/pgoapi/rpc_api.py", line 127, in request request_proto = self._build_main_request(subrequests, player_position) File "/home/pi/pgoapi/pgoapi/rpc_api.py", line 215, in _build_main_request for key in self.device_info: TypeError: 'NoneType' object is not iterable

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

No branches or pull requests

1 participant