Public bug reported:
Today I did a full upgrade of my Intrepid Ibex system. After finishing,
Mnemosyne (package 'mnemosyne') began to always crash on startup:
I suspected the corruption until I removed ~/.mnemosyne entirely. Here's what I
see:
[EMAIL PROTECTED]:22436~>Traceback (most recent call last): [10:32AM]
File "/usr/bin/mnemosyne", line 14, in <module>
from mnemosyne.pyqt_ui.main_dlg import MainDlg, install_tooltip_strings,
prefix
File "/var/lib/python-support/python2.5/mnemosyne/pyqt_ui/main_dlg.py", line
12, in <module>
from add_items_dlg import *
File "/var/lib/python-support/python2.5/mnemosyne/pyqt_ui/add_items_dlg.py",
line 13, in <module>
from edit_item_dlg import *
File "/var/lib/python-support/python2.5/mnemosyne/pyqt_ui/edit_item_dlg.py",
line 10, in <module>
from preview_item_dlg import *
File
"/var/lib/python-support/python2.5/mnemosyne/pyqt_ui/preview_item_dlg.py", line
10, in <module>
from sound import *
File "/var/lib/python-support/python2.5/mnemosyne/pyqt_ui/sound.py", line 163,
in <module>
engine = PyGameSoundEngine()
File "/var/lib/python-support/python2.5/mnemosyne/pyqt_ui/sound.py", line 41,
in __init__
import pygame
File "/usr/lib/python2.5/site-packages/pygame/__init__.py", line 185, in
<module>
try: import pygame.surfarray
File "/usr/lib/python2.5/site-packages/pygame/surfarray.py", line 76, in
<module>
import pygame._numpysurfarray as numpysf
File "/usr/lib/python2.5/site-packages/pygame/_numpysurfarray.py", line 48, in
<module>
import numpy
File "/usr/lib/python2.5/site-packages/numpy/__init__.py", line 93, in <module>
import add_newdocs
File "/usr/lib/python2.5/site-packages/numpy/add_newdocs.py", line 9, in
<module>
from lib import add_newdoc
File "/usr/lib/python2.5/site-packages/numpy/lib/__init__.py", line 19, in
<module>
from financial import *
File "/usr/lib/python2.5/site-packages/numpy/lib/financial.py", line 78, in
<module>
"""
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
The relevant package versions:
[EMAIL PROTECTED]:22443~>apt-cache policy mnemosyne python-qt3 python-pygame
python2.5 [10:37AM]
mnemosyne:
Installed: 1.1-0ubuntu1
Candidate: 1.1-0ubuntu1
Version table:
*** 1.1-0ubuntu1 0
500 http://archive.ubuntu.com intrepid/universe Packages
100 /var/lib/dpkg/status
python-qt3:
Installed: 3.17.4-1ubuntu4
Candidate: 3.17.4-1ubuntu4
Version table:
*** 3.17.4-1ubuntu4 0
500 http://archive.ubuntu.com intrepid/main Packages
100 /var/lib/dpkg/status
python-pygame:
Installed: 1.8.1release-0ubuntu1
Candidate: 1.8.1release-0ubuntu1
Version table:
*** 1.8.1release-0ubuntu1 0
500 http://archive.ubuntu.com intrepid/universe Packages
100 /var/lib/dpkg/status
python2.5:
Installed: 2.5.2-11ubuntu3
Candidate: 2.5.2-11ubuntu3
Version table:
*** 2.5.2-11ubuntu3 0
500 http://archive.ubuntu.com intrepid/main Packages
100 /var/lib/dpkg/status
I initially thought perhaps it was a python2.4 vs python2.5 issue, but
editing /usr/bin/mnemosyne to invoke 2.4 specifically didn't help.
Removing and reinstalling didn't help either.
What *did* help was
[EMAIL PROTECTED]:22440~>dpkg -i
python-pygame_1.7.1release-4.1ubuntu1_amd64.deb [ 4:38PM]
dpkg - warning: downgrading python-pygame from 1.8.1release-0ubuntu1 to
1.7.1release-4.1ubuntu1.
...
After which Mnemosyne opens up fine. I emailed the author while trying
to debug it, and he said if it was a pygame issue, "I'd open an Ubuntu
report about this. Intrepid is still in alpha, I think, and there seems
to be some issue with pygame there." So I guess that means the issue is
not Mnemosyne's fault.
** Affects: pygame (Ubuntu)
Importance: Undecided
Status: New
--
Pygame causes Mnemosyne to crash
https://bugs.launchpad.net/bugs/274953
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs