Bug 903760 - uncaught exception when starting mnemosyne on Fedora 18
Summary: uncaught exception when starting mnemosyne on Fedora 18
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mnemosyne
Version: 18
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 909074 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-24 19:24 UTC by kazi
Modified: 2013-02-12 16:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-08 02:26:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description kazi 2013-01-24 19:24:00 UTC
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:

Comment 1 Jiri Popelka 2013-01-25 09:25:45 UTC
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'.

Comment 2 kazi 2013-01-25 15:37:49 UTC
"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.

Comment 3 Jiri Popelka 2013-01-28 08:52:48 UTC
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

Comment 4 kazi 2013-01-28 14:05:42 UTC
"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
****

Comment 5 Jiri Popelka 2013-01-28 14:17:55 UTC
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

Comment 6 Jiri Popelka 2013-01-28 14:38:30 UTC
Got it. python-matplotlib moved qt4 backend to -qt4 subpackage in 1.2.0-5,
so we need to require python-matplotlib-qt4 now.

Comment 7 Fedora Update System 2013-01-28 14:43:09 UTC
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

Comment 8 kazi 2013-01-28 14:54:22 UTC
Mnemosyne 2.1 works after "python-matplotlib-qt4" is installed.

Thank you, that was super fast.

Comment 9 Fedora Update System 2013-01-30 00:37:22 UTC
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).

Comment 10 Fedora Update System 2013-02-08 02:26:43 UTC
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.

Comment 11 Jiri Popelka 2013-02-12 16:13:25 UTC
*** Bug 909074 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.