Make sure you have these dependencies: libqt4-sql python-qt4-sql libqt4-sql-sqlite

Cheers,

Peter

On 10/09/2012 10:54 PM, [email protected] wrote:
Hi,

Working with Ubuntu 12.04.1, just got the latest version, and downloaded all 
the dependencies from the package list given in the readme file in the tarball. 
Try to run it, will give me this.

Any idea what the problem might be?

Uncaught exception!
Traceback (innermost last):
   File "/usr/local/bin/mnemosyne", line 5, in <module>
     pkg_resources.run_script('Mnemosyne==2.1', 'mnemosyne')
   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in 
run_script
     self.require(requires)[0].run_script(script_name, ns)
   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in 
run_script
     execfile(script_filename, namespace, namespace)
   File 
"/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.1-py2.7.egg/EGG-INFO/scripts/mnemosyne",
 line 151, in <module>
     debug_file=options.debug_file)
   File 
"/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.1-py2.7.egg/mnemosyne/libmnemosyne/__init__.py",
 line 150, in initialise
     self.register_components()
   File 
"/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.1-py2.7.egg/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/local/lib/python2.7/dist-packages/Mnemosyne-2.1-py2.7.egg/mnemosyne/pyqt_ui/browse_cards_dlg.py",
 line 9, in <module>
     from PyQt4 import QtCore, QtGui, QtSql
  ImportError: cannot import name QtSql


--
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 https://groups.google.com/groups/opt_out.


Reply via email to