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.000504
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

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 Next › Last »

smls commented on 2014-10-20 16:59 (UTC)

It looks like russo79's patch was committed upstream, so after the next Mnemosyne release it will no longer need to be bundled with the PKGBUILD... :)

shuu commented on 2014-10-12 02:51 (UTC)

It looks like python2-distribute should be changed to python2-setuptools in the extra repo. Python2-distribute is not in the AUR anymore.

russo79 commented on 2014-09-03 19:51 (UTC)

Here [1] (in the mnemosyne directory) you'll find a PKGBUILD that fix this issue. The only thing to do is to force matplotlib to use the Qt4 backend. By default it chooses the Qt5 one and that conflicts with mnemosyne. [1] https://cloud.russo79.com/public.php?service=files&t=f00d660f9ae6001dd09276e960a02e9d Feel free to take it!

joelsc commented on 2014-09-03 17:45 (UTC)

Note that you can get the basic functionality (without plotting) by commenting line 9 from the file /usr/lib/python2.7/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py: - from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas + #from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas

vagyok commented on 2014-08-30 18:54 (UTC)

Thanks for your quick and helpful response. I can confirm that downgrading to python2-matplotlib 1.3.1-4 fixed the issue for me. As far as I can see, though, the current version of python2-matplotlib in [community] has been 1.4.0-1 since 2014-08-28.

smls commented on 2014-08-30 14:15 (UTC)

For now, you can make it work by downgrading python2-matplotlib to version 1.3.x (which is still the current version in [community] -- only version 1.4.0 from [community-testing] is causing the issue). As for the python2-pyqt -> python2-pyqt4 rename, I've updated the PKGBUILD now to reflect this. Still investigating the issue with matplotlib 1.4 though.

smls commented on 2014-08-30 13:06 (UTC)

@vagyok: Thanks for reporting; I see the same errors. For what it's worth, python2-pyqt4 is the correct dependency as Mnemosyne is a Qt4 program; the fact that the matplotlib dependency tries to load Qt5 is strange. I'll investigate.

vagyok commented on 2014-08-30 12:09 (UTC)

python2-pyqt , which is currently a dependency of this package, no longer seems to exist - it is apparently either python2-pyqt4 (which replaced python2-pyqt ) or python2-pyqt5 in [extra] now. Trying it with python2-pyqt4 (and its pyqt4-common dependency) gave me the following error: File "/usr/lib/python2.7/site-packages/matplotlib/backends/qt_compat.py", line 91, in <module> from PyQt5 import QtCore, QtGui, QtWidgets ImportError: No module named PyQt5 (in full: http://pastebin.com/FMT3WFsB ) Trying it with both python2-pyqt4 (and its pyqt4-common dependency) and python2-pyqt5 (and its pyqt5-common dependency) installed before rebuilding the package gave me the following error: File "/usr/lib/python2.7/site-packages/matplotlib/backends/qt_compat.py", line 91, in <module> from PyQt5 import QtCore, QtGui, QtWidgets RuntimeError: the PyQt5.QtCore and PyQt4.QtCore modules both wrap the QObject class (in full: http://pastebin.com/6aMr6es9 ) Trying to remove python2-pyqt4 (and/or pyqt4-common) so as to use only python2-pyqt5 and pyqt5-common failed because this package depends on python2-matplotlib in [community], which requires python2-pyqt4 explicitly, which, in turn, requires pyqt4-common. Any suggestions?