Skip to content

Error when trying to import Folder #1

Description

@Wesson315

Tried importing a folder as described.

Threw me the following error w/ stacktrace

Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-10-11 18:27:35

Caught exception:
Traceback (most recent call last):
File "C:\Users\Reimu\AppData\Roaming\Anki2\addons21\1263172192_init_.py", line 74, in importFromFolder
importer.run()
File "lib\site-packages\anki\importing\apkg.py", line 44, in run
File "lib\site-packages\anki\importing\anki2.py", line 41, in run
File "lib\site-packages\anki\importing\anki2.py", line 65, in _import
File "lib\site-packages\anki\importing\anki2.py", line 343, in importCards
File "C:\Users\Reimu\AppData\Roaming\Anki2\addons21\1263172192_init
.py", line 24, in _did
tmpname = "::".join(DeckManager.path(name)[1:])
AttributeError: type object 'DeckManager' has no attribute 'path'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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