Skip to content

Fix For: Python Error ./ankisyncctl.py - No Module named "ankisyncd"  #167

@synt-or

Description

@synt-or

ISSUE: There is an issue in the path structure with the opt/ankisyncd/ankisyncd_cli/ankisyncctl.py
the ankisyncctl.py tries to import the module ankisyncd.user on line 6 but is not able because this module is contained in the opt/ankisyncd and not in the ankisyncd_cli directory.

FIX: I therefore manually moved the file one directory back to be able to launch it and the script being able to create a new user.

_I am new to GitHub so I am unsure about how to make a code correction myself, it would be best for someone who knows this GitHub project better to take that responsibility

greetings.

Additional Information:

  • Docker Image used: ankicommunity/anki-sync-server:20220516

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions