I'm having some trouble installing on Mac OS X and I'd appreciate some
guidance as to whether it's a bug or something I'm doing wrong.
I have all of the dependencies installed (using MacPorts) and I ran
sudo make setup
sudo make
Which gave me this:
Installed /Volumes/Ocean/Users/patrick/mnemosyne-proj/mnemosyne
Processing dependencies for Mnemosyne==2.0-pre
Finished processing dependencies for Mnemosyne==2.0-pre
./bin/mnemosyne -d dot_mnemosyne2
Uncaught exception!
Traceback (innermost last):
File "./bin/mnemosyne", line 7, in <module>
execfile(__file__)
File "/Volumes/Ocean/Users/patrick/mnemosyne-proj/mnemosyne/
mnemosyne/pyqt_ui/mnemosyne", line 122, in <module>
mnemosyne.initialise(data_dir=data_dir, filename=filename)
File "/Volumes/Ocean/Users/patrick/mnemosyne-proj/mnemosyne/
mnemosyne/libmnemosyne/__init__.py", line 157, in initialise
Upgrade1(self.component_manager).run()
File "/Volumes/Ocean/Users/patrick/mnemosyne-proj/mnemosyne/
mnemosyne/libmnemosyne/upgrades/upgrade1.py", line 36, in run
self.upgrade_from_old_data_dir(old_data_dir)
File "/Volumes/Ocean/Users/patrick/mnemosyne-proj/mnemosyne/
mnemosyne/libmnemosyne/upgrades/upgrade1.py", line 56, in
upgrade_from_old_data_dir
config_file = file(join(old_data_dir, "config"), "rb")
IOError: [Errno 2] No such file or directory: u'/Volumes/Ocean/Users/
patrick/Library/Mnemosyne_1/config'
If I close the error message that pops up and try to make the program
again, I get error messages in this sequence:
"Unable to load file, query failed"
"Creating temporary database"
and the the uncaught exception above
If I try running the program directly, I get this error:
lightning:mnemosyne patrick$ mnemosyne
Traceback (most recent call last):
File "/usr/local/bin/mnemosyne", line 5, in <module>
pkg_resources.run_script('Mnemosyne==2.0-pre', 'mnemosyne')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/pkg_resources.py", line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/pkg_resources.py", line 1207, in run_script
execfile(script_filename, namespace, namespace)
File "/Library/Python/2.7/site-packages/Mnemosyne-2.0_pre-py2.7.egg/
EGG-INFO/scripts/mnemosyne", line 15, in <module>
from PyQt4.QtGui import QApplication
ImportError: No module named PyQt4.QtGui
However, if I then open a python terminal prompt and type
import PyQt4.QtGui
I am able to load the module.
Any ideas?
Regards,
Patrick
--
You received this message because you are subscribed to the Google Groups
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mnemosyne-proj-users?hl=en.