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

TypeError: 'dict' object is not callable #6

Open
robertgoolsby opened this issue Jan 11, 2015 · 1 comment
Open

TypeError: 'dict' object is not callable #6

robertgoolsby opened this issue Jan 11, 2015 · 1 comment

Comments

@robertgoolsby
Copy link

Any thoughts on this? I

Command:

PYTHONPATH="." python harmony --email --password --harmony_ip 192.168.1.23 show_config

output:

INFO requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): svcs.myharmony.com
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/pi/pyharmony-master/harmony/main.py", line 83, in
main()
File "/home/pi/pyharmony-master/harmony/main.py", line 79, in main
sys.exit(args.func(args))
File "/home/pi/pyharmony-master/harmony/main.py", line 37, in show_config
token = login_to_logitech(args)
File "/home/pi/pyharmony-master/harmony/main.py", line 23, in login_to_logitech
token = auth.login(args.email, args.password)
File "/home/pi/pyharmony-master/harmony/auth.py", line 41, in login
result = resp.json().get('GetUserAuthTokenResult', None)
TypeError: 'dict' object is not callable

@LaurentTrk
Copy link

Hello,
You need to upgrade your requests package:
pip install --upgrade requests
Hope it helps...

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

2 participants