From santi in the other thread, you need python-cherrypy3
I will update the instructions accordingly.
Peter
Quoting mjulius <[email protected]>:
I got the following message when I used the easy_install:
Searching for cherrypy
Best match: CherryPy 2.3.0
Adding CherryPy 2.3.0 to easy-install.pth file
Using /usr/lib/pymodules/python2.7
Processing dependencies for cherrypy
Finished processing dependencies for cherrypy
And the following error when the application loaded:
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: cannot import name wsgiserver
On Saturday, June 23, 2012 8:55:58 PM UTC+8, Peter Bienstman wrote:
Hmm, I seem to recall some issues with this package.
Try installing it with
sudo easy_install cherrypy
Peter
Quoting mjulius <[email protected]>:
>
>
> 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: cannot import name wsgiserver
>
> On Saturday, June 23, 2012 8:15:44 PM UTC+8, Peter Bienstman wrote:
>>
>> Install python-cherrypy
>>
>> Peter
>>
>> Quoting mjulius <[email protected]>:
>>
>> > from cherrypy import wsgiserver
>> >
>> > ImportError: No module named cherrypy
>>
>>
>>
>>
>
> --
> 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/-/6i71nOSj7csJ.
> 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/-/iQUByuo6g0wJ.
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].
For more options, visit https://groups.google.com/groups/opt_out.