1. I already have libqt4-sql
2. I installed python-qt4-sql
3. I already have python-qt4-sql

It starts but I receive the following when it starts:

Uncaught exception!

Traceback (innermost last):

File "/usr/local/bin/mnemosyne", line 5, in <module>

pkg_resources.run_script('Mnemosyne==2.0', '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.0-py2.7.egg/EGG-INFO/scripts/mnemosyne",
 
line 146, in <module>

debug_file=options.debug_file)

File 
"/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.0-py2.7.egg/mnemosyne/libmnemosyne/__init__.py",
 
line 146, in initialise

self.register_components()

File 
"/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.0-py2.7.egg/mnemosyne/libmnemosyne/__init__.py",
 
line 199, 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.0-py2.7.egg/mnemosyne/pyqt_ui/qt_sync_server.py",
 
line 16, in <module>

from mnemosyne.libmnemosyne.sync_server import SyncServer

File 
"/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.0-py2.7.egg/mnemosyne/libmnemosyne/sync_server.py",
 
line 8, in <module>

from openSM2sync.server import Server

File 
"/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.0-py2.7.egg/openSM2sync/server.py",
 
line 17, in <module>

from cherrypy import wsgiserver

ImportError: No module named cherrypy




On Saturday, June 23, 2012 5:36:42 PM UTC+8, Peter Bienstman wrote:
>
> No problem, it helps me debug the installation instructions. 
>
> Does installing libqt4-sql help? 
>
> Also double check whether you have libqt4-sql-sqlite and python-qt4-sql 
>
> Peter 
>
> Quoting mjulius <[email protected]>: 
>
> > Oh gosh,  I'm sorry if this is the help request that doesn't end but.. 
> > 
> > It installed a-ok but as soon as it starts, I get the following error: 
> > 
> > Uncaught exception! 
> > 
> > Traceback (innermost last): 
> > 
> > File "/usr/local/bin/mnemosyne", line 5, in <module> 
> > 
> > pkg_resources.run_script('Mnemosyne==2.0', '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.0-py2.7.egg/EGG-INFO/scripts/mnemosyne",
>  
>
> > line 146, in <module> 
> > 
> > debug_file=options.debug_file) 
> > 
> > File 
> > 
> "/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.0-py2.7.egg/mnemosyne/libmnemosyne/__init__.py",
>  
>
> > line 146, in initialise 
> > 
> > self.register_components() 
> > 
> > File 
> > 
> "/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.0-py2.7.egg/mnemosyne/libmnemosyne/__init__.py",
>  
>
> > line 199, 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.0-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 
> > 
> > On Friday, June 22, 2012 10:07:53 PM UTC+8, Peter Bienstman wrote: 
> >> 
> >> Oops, missed one to apt-get: python-setuptools 
> >> 
> >> Peter 
> >> 
> >> On Thursday, June 21, 2012 08:45:09 PM mjulius wrote: 
> >> > Oh yeah, oops. That was a mouthful of apt-get.  I failed to notice. 
> >> > 
> >> > I cd'd into the directory and tried to install but I am getting the 
> >> > following error: 
> >> > 
> >> > Traceback (most recent call last): 
> >> >   File "setup.py", line 4, in <module> 
> >> >     from setuptools import setup 
> >> > ImportError: No module named setuptools 
> >> > 
> >> > hmm. 
> >> > 
> >> > On Thursday, June 21, 2012 3:05:03 PM UTC+8, Peter Bienstman wrote: 
> >> > > On Wednesday, June 20, 2012 08:47:43 PM mjulius wrote: 
> >> > > > I'm sorry but nothing has changed.  I still receive the same 
> error 
> >> when 
> >> > > 
> >> > > I 
> >> > > 
> >> > > > am configuring python as per the README in PyQt 
> >> > > 
> >> > > Once you've installed PyQt using apt-get, there is no need to 
> install 
> >> it 
> >> > > yet 
> >> > > another time from source :-) 
> >> > > 
> >> > > Just untar mnemosyne, cd into its directory and do 
> >> > > 
> >> > > sudo python setup.py install 
> >> > > 
> >> > > Peter 
> >> -- 
> >> Peter Bienstman 
> >> Ghent University, Dept. of Information Technology 
> >> Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium 
> >> tel: +32 9 264 34 46, fax: +32 9 264 35 93 
> >> WWW: http://photonics.intec.UGent.be 
> >> email: [email protected] 
> >> 
> >> 
> > 
> > -- 
> > 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]. 
> > To view this discussion on the web visit   
> > https://groups.google.com/d/msg/mnemosyne-proj-users/-/q3kH1BKCygUJ. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
> > 
>
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msg/mnemosyne-proj-users/-/0m0H_D24B6oJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to