Ok, I looked at hacking mnemosyne and saw python-qt4-sql among the 
dependencies there and ran

 sudo apt-get install python-qt4-sql

and now I have different error ...

$ mnemosyne
An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/local/bin/mnemosyne", line 4, in <module>
    __import__('pkg_resources').run_script('Mnemosyne==2.3.1', 'mnemosyne')
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 517, in 
run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1443, in 
run_script
    exec(script_code, namespace, namespace)
  File 
"/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.3.1-py2.7.egg/EGG-INFO/scripts/mnemosyne",
 
line 191, in <module>
  File "build/bdist.linux-x86_64/egg/mnemosyne/libmnemosyne/__init__.py", 
line 172, in initialise
    self.register_components()
  File "build/bdist.linux-x86_64/egg/mnemosyne/libmnemosyne/__init__.py", 
line 242, in register_components
    exec("from %s import %s" % (module_name, class_name))
  File "<string>", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/mnemosyne/pyqt_ui/qt_web_server.py", 
line 13, in <module>
  File "build/bdist.linux-x86_64/egg/mnemosyne/web_server/web_server.py", 
line 14, in <module>
 ImportError: No module named static

Still no joy.

On Tuesday, November 25, 2014 6:07:55 PM UTC+7, jfmxl wrote:
>
> An unexpected error has occurred.
> Please forward the following info to the developers:
>
> Traceback (innermost last):
>   File "/usr/local/bin/mnemosyne", line 4, in <module>
>     __import__('pkg_resources').run_script('Mnemosyne==2.3.1', 'mnemosyne')
>   File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 517, in 
> run_script
>     self.require(requires)[0].run_script(script_name, ns)
>   File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1443, in 
> run_script
>     exec(script_code, namespace, namespace)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.3.1-py2.7.egg/EGG-INFO/scripts/mnemosyne",
>  
> line 191, in <module>
>   File "build/bdist.linux-x86_64/egg/mnemosyne/libmnemosyne/__init__.py", 
> line 172, in initialise
>     self.register_components()
>   File "build/bdist.linux-x86_64/egg/mnemosyne/libmnemosyne/__init__.py", 
> line 242, in register_components
>     exec("from %s import %s" % (module_name, class_name))
>   File "<string>", line 1, in <module>
>   File 
> "build/bdist.linux-x86_64/egg/mnemosyne/pyqt_ui/browse_cards_dlg.py", line 
> 9, in <module>
>  ImportError: cannot import name QtSql
>
> I'm on debian wheezy, just installed mnemosyne. I installed all the 
> dependencies first. Didn't see anything to do with QtSql.
>
> $ sudo apt-get install libqt4-sql
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> libqt4-sql is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> What do I need to do?
>

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/552bf56c-539a-4f8d-bbab-63ff07a0ebad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to