Mnemosyne stopped opening (cheroot, serves)

30 views
Skip to first unread message

danibor...@gmail.com

unread,
Dec 9, 2018, 10:05:15 AM12/9/18
to mnemosyne-proj-users
Mnemosyne was working fine. I attempted to turn on the server-sync function from my desktop (Ubuntu 18) so I could use it on my phone. The following error message showed up when I attempted to 'activate' my server. Then I installed cheroot from CMD, restarted the PC, and now whenever I so much as OPEN Mnemosyne the same message appears. I can't do the flashcards now, edit them, or anything else. That's all that appears. I did attempt to uninstall and install cheroot, as well as restart the PC. There is no configuration within ~/config/mnemosyne/config.py that would seem to fix this problem. Help! I live off Mnemosyne for my graduate studies!
—————
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.6.1', 'mnemosyne')
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 658, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1438, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6.1-py3.6.egg/EGG-INFO/scripts/mnemosyne", line 262, in <module>
debug_file=options.debug_file)
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6.1-py3.6.egg/mnemosyne/libmnemosyne/__init__.py", line 193, in initialise
self.activate_components()
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6.1-py3.6.egg/mnemosyne/libmnemosyne/__init__.py", line 287, in activate_components
sync_server.activate()
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6.1-py3.6.egg/mnemosyne/pyqt_ui/qt_sync_server.py", line 196, in activate
component_manager=self.component_manager)
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6.1-py3.6.egg/mnemosyne/pyqt_ui/qt_sync_server.py", line 67, in __init__
super().__init__(ui=self, **kwds)
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6.1-py3.6.egg/mnemosyne/libmnemosyne/sync_server.py", line 31, in __init__
port=config["sync_server_port"], **kwds)
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6.1-py3.6.egg/mnemosyne/libmnemosyne/component.py", line 57, in __init__
super().__init__(**kwds) # For parent classes other than 'Object'.
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6.1-py3.6.egg/openSM2sync/server.py", line 98, in __init__
from cheroot import wsgi
ModuleNotFoundError: No module named 'cheroot'

Peter Bienstman

unread,
Dec 9, 2018, 10:13:57 AM12/9/18
to mnemosyne-proj-users
The error message indicates that cheroot was not properly installed. Personally, I'd try with 'sudo pip3 install cheroot' to make sure you're not installing it for python 2.x or something like that.

If that doesn't help, I suggest asking around on an Ubuntu forum, as the issue not really with Mnemosyne itself.

Daniel Coimbra

unread,
Dec 10, 2018, 4:01:19 AM12/10/18
to mnemosyne-...@googlegroups.com
Thanks, Peter, you're the best. I fixed it by installing cheroot in its Python 3.x version.
P.S. Mnemosyne is pretty much my most-loved nonessential software. (It's become essential to me, really.)

On Sun, Dec 9, 2018 at 1:14 PM Peter Bienstman <peter.b...@gmail.com> wrote:
The error message indicates that cheroot was not properly installed. Personally, I'd try with 'sudo pip3 install cheroot' to make sure you're not installing it for python 2.x or something like that.

If that doesn't help, I suggest asking around on an Ubuntu forum, as the issue not really with Mnemosyne itself.

--
You received this message because you are subscribed to a topic in the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mnemosyne-proj-users/1Gy_VMR_06Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mnemosyne-proj-u...@googlegroups.com.
To post to this group, send email to mnemosyne-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/2dab6fe1-dbb0-453a-b939-f012c3b891d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Peter Bienstman

unread,
Dec 10, 2018, 4:14:18 AM12/10/18
to mnemosyne-...@googlegroups.com

You’re welcome!

 

Peter

--
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 mnemosyne-proj-u...@googlegroups.com.


To post to this group, send email to mnemosyne-...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages