toutatis icon indicating copy to clipboard operation
toutatis copied to clipboard

KeyError exception on launch

Open carlsmedstad opened this issue 1 year ago • 2 comments

Hey :wave:

I'm in the process of packaging this for Arch Linux and I'm running in to the following issue:

$ toutatis -u xxxxxxxxx -s xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/bin/toutatis", line 33, in <module>
    sys.exit(load_entry_point('toutatis==1.26', 'console_scripts', 'toutatis')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/toutatis/core.py", line 85, in main
    if not infos["user"]:
           ~~~~~^^^^^^^^
KeyError: 'user'

Running on Python 3.11.

carlsmedstad avatar Jun 23 '23 13:06 carlsmedstad