Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914774 - app-misc/anki-2.1.15-r2: fails to import a deck from ankiweb
Summary: app-misc/anki-2.1.15-r2: fails to import a deck from ankiweb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-27 00:16 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2024-01-21 10:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,22.09 KB, text/plain)
2023-09-27 00:16 UTC, Sergey 'L29Ah' Alirzaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2023-09-27 00:16:26 UTC
Created attachment 871522 [details]
emerge --info

Downloading a deck from https://ankiweb.net/shared/info/29286148 and then hitting "Import File" in anki results in this:

Import failed.
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/aqt/importing.py", line 339, in importFile
    importer.run()
  File "/usr/lib/python3.11/site-packages/anki/importing/apkg.py", line 39, in run
    Anki2Importer.run(self)
  File "/usr/lib/python3.11/site-packages/anki/importing/anki2.py", line 23, in run
    self._prepareFiles()
  File "/usr/lib/python3.11/site-packages/anki/importing/anki2.py", line 38, in _prepareFiles
    self.src = Collection(self.file)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/anki/storage.py", line 20, in Collection
    assert path.endswith(".anki2")
AssertionError
Comment 1 Larry the Git Cow gentoo-dev 2024-01-21 10:00:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b9198bdf25bfcdf1dd878e39c202ecae74c6ed2

commit 3b9198bdf25bfcdf1dd878e39c202ecae74c6ed2
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2024-01-09 03:36:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-21 10:00:25 +0000

    app-misc/anki: add 23.12.1
    
    Closes: https://bugs.gentoo.org/914774
    Closes: https://bugs.gentoo.org/911923
    Closes: https://bugs.gentoo.org/782373
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/anki/Manifest                             | 648 ++++++++++++++
 app-misc/anki/anki-23.12.1.ebuild                  | 955 +++++++++++++++++++++
 .../files/23.12.1/configure-offline-build.patch    |  62 ++
 .../anki/files/23.12.1/ninja-gentoo-setup.patch    |  80 ++
 .../anki/files/23.12.1/no-git-submodule-sync.patch |  67 ++
 app-misc/anki/files/23.12.1/pseudo-venv.patch      | 123 +++
 .../anki/files/23.12.1/remove-formatter-dep.patch  |  11 +
 app-misc/anki/files/23.12.1/remove-yarn-dep.patch  |  68 ++
 app-misc/anki/files/23.12.1/unbundle-sqlite.patch  |  14 +
 .../anki/files/23.12.1/use-system-nextest.patch    |  26 +
 app-misc/anki/metadata.xml                         |  13 +
 11 files changed, 2067 insertions(+)