Package Details: mnemosyne 2.11-3

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: 2024-04-09 11:27 (UTC)

Dependencies (21)

Required by (0)

Sources (2)

Latest Comments

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

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.

delsquared commented on 2024-01-07 06:26 (UTC)

patch command was not found when trying to update (on manjaro). maybe i screwed up in between updates, but installing base-devel helped. probably a missing dependency?

escorares commented on 2023-08-23 01:35 (UTC) (edited on 2023-08-23 01:43 (UTC) by escorares)

Looks like that's right, it should be 'option_order' not 'option_ordeb'.

I guessed that it was a newer version of setuptools that broke the building of Mnemosyne, and I was about to write the solution here after I installed the old version and it worked. Looks like the effect was re-installing it, fixing the typo. Seeing your comment I then installed the latest version and it also worked.

Still, that "typo" is ludicrous, I haven't touched setuptools before as I was never aware of its existence on my system. I think I should check the health of my SSD.

Thanks

J5lx commented on 2023-08-23 00:05 (UTC)

This looks like you edited your local setuptools installation and introduced a typo in the process. Please reinstall python-setuptools and try rebuilding this package.

escorares commented on 2023-08-22 22:48 (UTC) (edited on 2023-08-23 02:18 (UTC) by escorares)

Is no one else using Mnemosyne? I think it broke when the main python became 3.11

Building:

Traceback (most recent call last):
...
  File "/usr/lib/python3.11/site-packages/setuptools/_distutils/fancy_getopt.py", line 276, in getopt
    self.option_ordeb.append((opt, val))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'FancyGetopt' object has no attribute 'option_ordeb'. Did you mean: 'option_order'?