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

Getting Key error 'value' while running #11

Open
syedhamzaalee opened this issue Aug 6, 2020 · 1 comment
Open

Getting Key error 'value' while running #11

syedhamzaalee opened this issue Aug 6, 2020 · 1 comment

Comments

@syedhamzaalee
Copy link

syedhamzaalee commented Aug 6, 2020

Running any command results in value error:

tod0
Traceback (most recent call last):
  File "c:\program files\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\program files\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\user5\AppData\Roaming\Python\Python36\Scripts\tod0.exe\__main__.py", line 4, in <module>
  File "C:\Users\user5\AppData\Roaming\Python\Python36\site-packages\todocli\interface.py", line 80, in <module>
    load_folders()
  File "C:\Users\hamza\AppData\Roaming\Python\Python36\site-packages\todocli\interface.py", line 63, in load_folders
    folder_data = auth.list_and_update_folders()
  File "C:\Users\user5\AppData\Roaming\Python\Python36\site-packages\todocli\auth.py", line 125, in list_and_update_folders
    contents = parse_contents(o)
  File "C:\Users\user5\AppData\Roaming\Python\Python36\site-packages\todocli\auth.py", line 92, in parse_contents
    return json.loads(response.content.decode())["value"]
@kiblee
Copy link
Owner

kiblee commented Aug 7, 2020

Could you share the full traceback? I couldn't reproduce this error.

However, it could be the OS - I haven't tested this on Windows. Was this your first run? Did the program ask you to enter your API information in a specific file?

@kiblee kiblee mentioned this issue Aug 28, 2020
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