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

Error while adding a place #78

Open
yvlitvin opened this issue Oct 7, 2016 · 0 comments
Open

Error while adding a place #78

yvlitvin opened this issue Oct 7, 2016 · 0 comments

Comments

@yvlitvin
Copy link

yvlitvin commented Oct 7, 2016

Hello, just tried to add place with code from your example and received following error:

Traceback (most recent call last):
File "addgeo.py", line 11, in
language=lang.ENGLISH_GREAT_BRITAIN)
File "\lib\site-packages\googleplaces__init__.py", line 518, in add_place
self.api_key), json.dumps(request_params), use_http_post=True)
File "\lib\site-packages\googleplaces__init__.py", line 72, in fetch_remote_json
request_url, response = fetch_remote(service_url, params, use_http_post)
File "\lib\site-packages\googleplaces__init
.py", line 54, in _fetch_remote
for k, v in params.items():
AttributeError: 'str' object has no attribute 'items'

also tried with different parameters, same situation

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