Skip to content

ankiserverctl.py adduser admin FAIL. Missing parentheses in call to 'print'. #82

@nobicycle

Description

@nobicycle

Thank you for anki-sync-server
The following fails with error " Missing parentheses in call to 'print'."

ankiserverctl.py adduser admin

Best wishes

Output

(Anki-Server) [me@tower Anki-Server]$ ankiserverctl.py adduser admin
File "/home/me/Development/Python/Anki-Server/bin/ankiserverctl.py", line 18
print "usage: "+sys.argv[0]+" []"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("usage: "+sys.argv[0]+" []")?
(Anki-Server) [me@tower Anki-Server]$ ls production.ini
production.ini

production.ini is an unchanged copy of example.ini

Environment

Python 3.7.2
$ uname -a
Linux tower 4.19.28-1-MANJARO #1 SMP PREEMPT Sun Mar 10 08:32:42 UTC 2019 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions