Hi, Are you sure you've deleted config.db and config? There seems to be still a Qt object stored in the configuration database which is being picked up.
Peter > -----Original Message----- > From: [email protected] [mailto:mnemosyne- > [email protected]] On Behalf Of Chris > Sent: 05 November 2014 13:47 > To: [email protected] > Subject: [mnemosyne-proj-users] Unexpected error occurs when starting > mnemosyne headless > > I upgraded to Mnemosyne 2.3.1 and now I get the following error, when > starting Mnemosyne in headless mode: > > > ...:~$ mnemosyne --sync-server --web-server An unexpected error has > occurred. > Please forward the following info to the developers: > > Traceback (innermost last): > File "/usr/local/bin/mnemosyne", line 5, in <module> > pkg_resources.run_script('Mnemosyne==2.3.1', 'mnemosyne') > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in > run_script > self.require(requires)[0].run_script(script_name, ns) > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1401, 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 79, in <module> > File "build/bdist.linux- > x86_64/egg/mnemosyne/libmnemosyne/__init__.py", line 186, in initialise > self.activate_components() > File "build/bdist.linux- > x86_64/egg/mnemosyne/libmnemosyne/__init__.py", line 264, in > activate_components > self.component_manager.current("config").activate() > File "build/bdist.linux- > x86_64/egg/mnemosyne/libmnemosyne/configuration.py", line 82, in > activate > self.load() > File "build/bdist.linux- > x86_64/egg/mnemosyne/libmnemosyne/configuration.py", line 213, in load > self[cursor[0]] = eval(cursor[1]) > File "<string>", line 1, in <module> > AttributeError: 'module' object has no attribute 'QtCore' > An unexpected error has occurred. > Please forward the following info to the developers: > > Traceback (innermost last): > File "/usr/local/bin/mnemosyne", line 5, in <module> > pkg_resources.run_script('Mnemosyne==2.3.1', 'mnemosyne') > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in > run_script > self.require(requires)[0].run_script(script_name, ns) > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1401, 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 79, in <module> > File "build/bdist.linux- > x86_64/egg/mnemosyne/libmnemosyne/__init__.py", line 186, in initialise > self.activate_components() > File "build/bdist.linux- > x86_64/egg/mnemosyne/libmnemosyne/__init__.py", line 264, in > activate_components > self.component_manager.current("config").activate() > File "build/bdist.linux- > x86_64/egg/mnemosyne/libmnemosyne/configuration.py", line 82, in > activate > self.load() > File "build/bdist.linux- > x86_64/egg/mnemosyne/libmnemosyne/configuration.py", line 213, in load > self[cursor[0]] = eval(cursor[1]) > File "<string>", line 1, in <module> > AttributeError: 'module' object has no attribute 'QtCore' > > > This error didn't occur with Mnemosyne 2.3, only after the upgrade to > Mnemosyne 2.3.1. > The system is Ubuntu 14.04. > I also deleted the config directory (~/.config/mnemosyne) but this didn't > solve the problem. > > > > -- > 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 mnemosyne-proj- > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/ec32e3dd- > 7607-4be2-b997-8afd8b3b8501%40googlegroups.com > <https://groups.google.com/d/msgid/mnemosyne-proj-users/ec32e3dd- > 7607-4be2-b997- > 8afd8b3b8501%40googlegroups.com?utm_medium=email&utm_source=foo > ter> . > For more options, visit https://groups.google.com/d/optout. -- 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/000801cff8f8%24752a0660%245f7e1320%24%40UGent.be. For more options, visit https://groups.google.com/d/optout.
