`TypeError: 'dict' object is not callable` error on most subcommands
jkeroes opened this issue · comments
Fresh install on OSX using sudo pip install habitica
and a configured auth.cfg.
These commands work:
- habitica
- habitica home
- 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
`