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 error on most subcommands #43

Open
jkeroes opened this issue Feb 16, 2017 · 0 comments
Open

TypeError: 'dict' object is not callable error on most subcommands #43

jkeroes opened this issue Feb 16, 2017 · 0 comments

Comments

@jkeroes
Copy link

jkeroes commented Feb 16, 2017

Fresh install on OSX using sudo pip install habitica and a configured auth.cfg.

These commands work:

  1. habitica
  2. habitica home
  3. habitica -h

All other commands fail. They fail with the same error. Here's one:

`
$ habitica --debug status

DEBUG:root:Command line args: {'': '[]', '--checklists': 'False', '--verbose': 'False', '--difficulty': 'easy', '--debug': 'True', '': 'status', '--version': 'False', '--help': 'False'}
DEBUG:root:Loading habitica auth data from /Users/jkeroes/.config/habitica/auth.cfg
DEBUG:root:Loading cached config data (/Users/jkeroes/.config/habitica/cache.cfg)...
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): habitica.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /api/v3/user HTTP/1.1" 200 2457
Traceback (most recent call last):
File "/usr/local/bin/habitica", line 13, in
habitica.cli()
File "/Library/Python/2.7/site-packages/habitica/core.py", line 286, in cli
user = hbt.user()
File "/Library/Python/2.7/site-packages/habitica/api.py", line 82, in call
return res.json()["data"]
TypeError: 'dict' object is not callable
`

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