Package Details: mnemosyne 2.11-4

Git Clone URL: https://aur.archlinux.org/mnemosyne.git (read-only, click to copy)
Package Base: mnemosyne
Description: A flash-card tool with a sophisticated card review algorithm
Upstream URL: https://www.mnemosyne-proj.org
Keywords: Anki flashcard learn memorize
Licenses: LGPL-3.0-only AND LicenseRef-AGPL-3.0-Attribution
Submitter: wide-eyed
Maintainer: J5lx
Last Packager: J5lx
Votes: 85
Popularity: 0.000000
First Submitted: 2007-11-04 20:08 (UTC)
Last Updated: 2025-05-19 21:27 (UTC)

Dependencies (21)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

cknoblauch commented on 2025-05-20 01:30 (UTC)

Thanks, @JSix! It builds and runs OK now.

Removing git was not an option, I use it constantly.

J5lx commented on 2025-05-19 21:55 (UTC)

i just aded a patch that should allow the package to build correctly even with git present

qdkp commented on 2025-05-18 11:31 (UTC) (edited on 2025-05-18 11:31 (UTC) by qdkp)

I ran into the same problem as did cknoblauch. The solution J5lx provided did work. I first removed the git package from my system, build the mnemosyne package, installed it and reinstalled git. Thx for debugging that.

J5lx commented on 2025-04-24 12:35 (UTC)

Do you have git installed on your system by any chance? If so, please try temporarily uninstalling it and rebuilding the package, that should allow the missing files to be included as intended. I’ll update the PKGBUILD later, for now I’ve already spent way too much time debugging this.

cknoblauch commented on 2025-04-22 14:57 (UTC)

Sorry, I missed your quick reply before editing by previous comment.

My build log is too large to fit here, here are the last sections. The missing file is generated but doesn't end up in /usr/lib/python3.13/site-packages/mnemosyne/pyqt-ui as expected.

* Getting build dependencies for wheel...
* Building wheel...
# Just the bare minimum to get things running
make -C mnemosyne/pyqt_ui
make[1]: Entering directory '/tmp/pamac-build-cknoblauch/mnemosyne/src/mnemosyne-2.11/mnemosyne/pyqt_ui'
python3 ./pyuic6 main_wdgt.ui > ui_main_wdgt.py
python3 ./pyuic6 add_cards_dlg.ui > ui_add_cards_dlg.py
python3 ./pyuic6 edit_card_dlg.ui > ui_edit_card_dlg.py
python3 ./pyuic6 review_wdgt.ui > ui_review_wdgt.py
[ many other files, excluded for brevity ]
python3 ./pyuic6 pronouncer_dlg.ui > ui_pronouncer_dlg.py
python3 ./pyuic6 translator_dlg.ui > ui_translator_dlg.py
make[1]: Leaving directory '/tmp/pamac-build-cknoblauch/mnemosyne/src/mnemosyne-2.11/mnemosyne/pyqt_ui'
Successfully built mnemosyne_proj-2.10.1.2-cp313-cp313-manylinux_2_41_x86_64.whl
==> Entering fakeroot environment...
==> Starting package()...
/usr/lib/python3.13/site-packages/mnemosyne/example_plugins/google_cloud_tts.py:10: SyntaxWarning: invalid escape sequence '\c'
/usr/lib/python3.13/site-packages/mnemosyne/example_plugins/google_cloud_tts.py:10: SyntaxWarning: invalid escape sequence '\c'
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/configuration.py:27: SyntaxWarning: invalid escape sequence '\d'
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/configuration.py:27: SyntaxWarning: invalid escape sequence '\d'
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/file_formats/anki2.py:25: SyntaxWarning: invalid escape sequence '\['
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/file_formats/anki2.py:25: SyntaxWarning: invalid escape sequence '\['
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/lang.py:110: SyntaxWarning: invalid escape sequence '\('
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/lang.py:110: SyntaxWarning: invalid escape sequence '\('
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/template/template.py:88: SyntaxWarning: invalid escape sequence '\d'
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/template/template.py:179: SyntaxWarning: invalid escape sequence '\('
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/template/template.py:201: SyntaxWarning: invalid escape sequence '\d'
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/template/template.py:88: SyntaxWarning: invalid escape sequence '\d'
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/template/template.py:179: SyntaxWarning: invalid escape sequence '\('
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/template/template.py:201: SyntaxWarning: invalid escape sequence '\d'
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/utils.py:130: SyntaxWarning: invalid escape sequence '\w'
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/utils.py:160: SyntaxWarning: invalid escape sequence '\['
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/utils.py:161: SyntaxWarning: invalid escape sequence '\['
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/utils.py:130: SyntaxWarning: invalid escape sequence '\w'
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/utils.py:160: SyntaxWarning: invalid escape sequence '\['
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/renderers/anki/utils.py:161: SyntaxWarning: invalid escape sequence '\['
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/utils.py:223: SyntaxWarning: invalid escape sequence '\d'
/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/utils.py:223: SyntaxWarning: invalid escape sequence '\d'
/usr/lib/python3.13/site-packages/mnemosyne/pyqt_ui/edit_card_dlg.py:135: SyntaxWarning: invalid escape sequence '\{'
/usr/lib/python3.13/site-packages/mnemosyne/pyqt_ui/edit_card_dlg.py:135: SyntaxWarning: invalid escape sequence '\{'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "mnemosyne"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: mnemosyne 2.11-3 (Tue 22 Apr 2025 11:44:52 AM -03)
==> Cleaning up...

J5lx commented on 2025-04-22 14:45 (UTC)

The file should be generated during the build process. As I said in my previous comment, it would be very helpful if you could provide your build log.

cknoblauch commented on 2025-04-22 14:37 (UTC) (edited on 2025-04-22 14:50 (UTC) by cknoblauch)

I have the same problem as @lfjp, the file is just not there. It's also missing in the source repo. EDIT: it seems to be generated at build time from main_wdgt.py, still haven't figured out why it's not being installed under /usr/lib/python3.13/site-packages/mnemosyne/pyqt_ui where it's searched for.

J5lx commented on 2025-04-18 10:17 (UTC)

It works fine for me. Can you check whether the package you built contains the file /usr/lib/python3.13/site-packages/mnemosyne/pyqt_ui/ui_main_wdgt.py? If not, can you post your build log?

ljfp commented on 2025-04-17 15:41 (UTC) (edited on 2025-04-17 15:45 (UTC) by ljfp)

This package is broken. I'm not sure if the issue lies on the upstream or the packaging process, but I've successfully built the package and got this error when trying to run it:

 ModuleNotFoundError: No module named 'mnemosyne.pyqt_ui.ui_main_wdgt'
An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 8, in <module>
    sys.exit(run())
             ~~~^^
  File "/usr/lib/python3.13/site-packages/mnemosyne/pyqt_ui/__init__.py", line 6, in run
    exec(open(os.path.join(package_dir, "mnemosyne")).read())
    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<string>", line 317, in <module>
  File "/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/__init__.py", line 411, in initialise
    self.register_components()
    ~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/mnemosyne/libmnemosyne/__init__.py", line 476, in register_components
    importlib.import_module(module_name), class_name)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.13/site-packages/mnemosyne/pyqt_ui/main_wdgt.py", line 8, in <module>
    from mnemosyne.pyqt_ui.ui_main_wdgt import Ui_MainWdgt
 ModuleNotFoundError: No module named 'mnemosyne.pyqt_ui.ui_main_wdgt'

J5lx commented on 2024-01-07 08:28 (UTC)

No, base-devel is implicitly assumed to be installed when building packages. Please take a look at the AUR wiki page to learn more about building and installing/updating packages from the AUR.