Skip to content

error with scripts.generate_token: AttributeError: 'Connection' object has no attribute 'check_token_file' #1

@adieball

Description

@adieball

Hi

when executing python3 -m scripts.generate_token, I'll get the following error:
/cut/

pi@mrd-tenforward:~/meeting-room-display $ python3 -m scripts.generate_token
Generate token for id AAAAAAAAAA with secret BBBBBBBBBBBBBB
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/pi/meeting-room-display/scripts/generate_token.py", line 58, in <module>
    if not con.check_token_file():
AttributeError: 'Connection' object has no attribute 'check_token_file'
pi@mrd-tenforward:~/meeting-room-display $ 

/cut/

any helping hands / ideas on that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions