Hi,

Which version of Mnemosyne did Ubuntu install? If it’s 2.4, then it will be too 
old to help with the dependencies of the new Mnemosyne.

Newer versions of Ubuntu have a more up-to-date version of Mnemosyne, so 
perhaps it’s worthwhile updating your system?

You can also try to install Ubuntu packages with the extra dependences 
manually, like webenginewidgets, but that could be quite time consuming.

Cheers,

Peter

From: [email protected] 
<[email protected]> On Behalf Of MrJay
Sent: 05 September 2019 22:44
To: mnemosyne-proj-users <[email protected]>
Subject: Re: [mnemosyne-proj-users] Mnemosyne will not launch -- Import error - 
QtWebEngineWidgets

Greetings Peter,
Pleased to meet you.

Following your suggestion I was able to install Mnemosyne via the package 
manager via:
sudo apt install mnemosyne

However that was not without encountering errors which were eliminated when I 
remove the "...2.6.1 Python3 install" via:
a)  sudo python3 setup.py install --record files.txt
b)  sudo rm -rf Mnemosyne-2.6.1-py3.6.eggudo xargs rm -rf < files.txt
c)  sudo rm -rf Mnemosyne-2.6.1-py3.6.egg   (From the 
/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.6-py3.6.egg/   folder)

After which I got what appeared to be a clean install.

HOWEVER:
Upon running Mnemosyne from the GUI Mnemosyne failed to launch.
Upon running Mnemosyne from terminal I got back:

kevin@Frodo4-MSI:~$ mnemosyne
An unexpected error has occurred.
===========
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 132, in <module>
    from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some 
reason.
 ImportError: cannot import name 'QtWebEngineWidgets'
An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 132, in <module>
    from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some 
reason.
 ImportError: cannot import name 'QtWebEngineWidgets'
===========
Again I call upon your invaluable expertise to help me resolve this install 
successfully.
Thanks and
Cheers
Kevin

**********************





On Tuesday, 3 September 2019 23:49:12 UTC-4, Peter Bienstman wrote:
Hi,

I would suggest you first try to install Mnemosyne from Ubuntu's package 
manager. Even if it's not the latest version, it will pull in all the 
dependencies, so that you'll have an easier time manually installing the latest 
version.

Cheers,

Peter


________________________________
From: MrJay <[email protected]<javascript:>>
Sent: Tuesday, 3 September 2019 21:15
To: mnemosyne-proj-users
Subject: [mnemosyne-proj-users] Mnemosyne will not launch -- Import error - 
QtWebEngineWidgets

Greetings,

After doing battle for many days installing the various components I finally 
got Mnemosyne to compile, only to have it NOT LAUNCH with the following errors 
(below).

My system" Ubuntu 18.03.3 LTS, (uname = Linux Frodo4-MSI 5.0.0-25-generic 
#26~18.04.1-Ubuntu SMP Thu Aug 1 13:51:02 UTC 2019 x86_64 x86_64 x86_64 
GNU/Linux)

Attempting to install: Mnamosyne 2.6.1

Error output =:

kevin@Frodo4-MSI:~/Downloads/Extracted3/Mnemosyne-2.6.1$<mailto:kevin@Frodo4-MSI:~/Downloads/Extracted3/Mnemosyne-2.6.1$>
 mnemosyne
Log body:
 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 145, in <module>
    from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some 
reason.
 ImportError: cannot import name 'QtWebEngineWidgets'

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 145, in <module>
    from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some 
reason.
 ImportError: cannot import name 'QtWebEngineWidgets'
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 145, in <module>
    from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some 
reason.
 ImportError: cannot import name 'QtWebEngineWidgets'

Any assistance you can offer to get this package working would be greatly 
appreciated.
FYI I use Mnemosyne extensive in my college pursuits, which start again, 
tomorrow.
Thanks for you help
Kevin
 =================

--
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]<javascript:>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/b111adaa-42c5-432d-921f-0646384a7065%40googlegroups.com<https://groups.google.com/d/msgid/mnemosyne-proj-users/b111adaa-42c5-432d-921f-0646384a7065%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/546d8123-e477-49c6-9cf8-cf37110ab1c7%40googlegroups.com<https://groups.google.com/d/msgid/mnemosyne-proj-users/546d8123-e477-49c6-9cf8-cf37110ab1c7%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/88b31f610d69484a824721845012cdd8%40xmail102.UGent.be.

Reply via email to