Description of problem: when I try to start the program, I get an uncaught exception error. Version-Release number of selected component (if applicable): mnemosyne version: 2.1-1.fc18 How reproducible: I uninstalled and reinstalled and still there is this problem. Steps to Reproduce: 1. /usr/bin/mnemosyne Actual results: ****************************** Uncaught exception! Traceback (innermost last): File "/usr/bin/mnemosyne", line 151, in <module> debug_file=options.debug_file) File "/usr/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 150, in initialise self.register_components() File "/usr/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 201, in register_components exec("from %s import %s" % (module_name, class_name)) File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py", line 9, in <module> from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas ImportError: No module named backend_qt4agg ****************************** Expected results: Additional info:
There must be some problem with python-matplotlib. Is it installed ? What does 'rpm -V python-matplotlib' (run it as root) say ? You can possibly try to reinstall it with 'yum reinstall python-matplotlib'.
"rpm -V python-matplotlib" does not give any output. "yum info python-matplotlib" gives: Name : python-matplotlib Arch : i686 Version : 1.2.0 Release : 5.fc18 Size : 49 M Repo : installed From repo : updates Re-installed python-matplotlib. Original problem exists with mnemosyne.
Does the following command show any output ? (It's been silent here) python -c 'from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas' You can also try 2.2a from updates-testing, yum --enablerepo=updates-testing update mnemosyne
"python -c 'from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas'" yeilds the following: ***** Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named backend_qt4agg ***** 2.2a from updates-testing yeilds the following: **** An unexpected error has occurred. Please forward the following info to the developers: Traceback (innermost last): File "/usr/bin/mnemosyne", line 155, in <module> debug_file=options.debug_file) File "/usr/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 160, in initialise self.register_components() File "/usr/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 211, in register_components exec("from %s import %s" % (module_name, class_name)) File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py", line 9, in <module> from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas ImportError: No module named backend_qt4agg ****
Aha. You are right, I had tried with python-matplotlib-1.2.0-4, which was OK. I can reproduce it with python-matplotlib-1.2.0-5
Got it. python-matplotlib moved qt4 backend to -qt4 subpackage in 1.2.0-5, so we need to require python-matplotlib-qt4 now.
mnemosyne-2.2-3.a.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2013-1542/mnemosyne-2.2-3.a.fc18
Mnemosyne 2.1 works after "python-matplotlib-qt4" is installed. Thank you, that was super fast.
Package mnemosyne-2.2-3.a.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mnemosyne-2.2-3.a.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1542/mnemosyne-2.2-3.a.fc18 then log in and leave karma (feedback).
mnemosyne-2.2-3.a.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 909074 has been marked as a duplicate of this bug. ***