I am having some troubles installing / running mnemosyne 2.6 on my kubuntu 17.10
Problem 1: I can't run mnemosyne as regular user.
Problem 2: I can't set up mnemosyne (when running as root) to enable sync with
my mobile running mnemosyne for android.
I have given details of my installation along with error output from mnemosyne
below.
I hope someone can guide me along to fixing my installation.
lsb_release -a:
o LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
lars@lars-Studio-1749:~/programs/Mnemosyne-2.6$ uname -a
Linux lars-Studio-1749 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux
I am using python 3.6:
Initially I had installed mnemosyne using apt-get, but then I got mnemosyne 2.4
And syncing with mnemosyne from my android mnemosyne app gave an error, that
I needed the same version of the database on each device.
So I tried installing mnemosyne 2.6:
ars@lars-Studio-1749:~/programs/Mnemosyne-2.6$ which python
/usr/bin/python
lars@lars-Studio-1749:~/programs/Mnemosyne-2.6$ ls -lahtr /usr/bin/python
lrwxrwxrwx 1 root root 16 Feb 3 14:10 /usr/bin/python -> /usr/bin/python3
lars@lars-Studio-1749:~/programs/Mnemosyne-2.6$ ls -lahtr /usr/bin/python3
lrwxrwxrwx 1 root root 9 Jan 11 17:12 /usr/bin/python3 -> python3.6
I initially could not run "sudo python setup.py install"
because I did not have python3-setuptools installed, so I installed that and
tried again:
sudo apt install python3-setuptools
sudo python setup.py install
This time the installation went well, but then when I started mnemosyne
I got the following error:
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', 'mnemosyne')
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 742, in
run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1503,
in run_script
exec(code, namespace, namespace)
File
"/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6-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-py3.6.egg/mnemosyne/libmnemosyne/__init__.py",
line 200, in initialise
self.activate_components()
File
"/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6-py3.6.egg/mnemosyne/libmnemosyne/__init__.py",
line 296, in activate_components
sync_server.activate()
File
"/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6-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-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-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-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-py3.6.egg/openSM2sync/server.py",
line 98, in __init__
from cheroot import wsgi
ModuleNotFoundError: No module named 'cheroot'
Then I tried running mnemosyne as root from the console:
sudo mnemosyne
This time mnemosyne started successfully, everything seemed fine untill I
configured the server so I could sync with my android phone.
then I got the error below:
An unexpected error has occurred.
Please forward the following info to the developers:
Traceback (innermost last):
File
"/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6-py3.6.egg/mnemosyne/pyqt_ui/configuration_dlg.py",
line 55, in accept
self.tab_widget.widget(index).apply()
File
"/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6-py3.6.egg/mnemosyne/pyqt_ui/configuration_wdgt_servers.py",
line 84, in apply
self.component_manager.current("sync_server").activate()
File
"/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6-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-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-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-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-py3.6.egg/openSM2sync/server.py",
line 98, in __init__
from cheroot import wsgi
ModuleNotFoundError: No module named 'cheroot'
--
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/3a13eeb6-4e6b-4c84-83b6-86365d945625%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.