On Friday, 6 September 2019 06:44:23 UTC-4, Peter Bienstman wrote:
>
> 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.
>

There was no Mnemosyne available in the Ubuntu "Software Center" listings. 
However version 2.4 installed from the command line.
 

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

My Ubuntu version is 18.04.3 LTS which is the latest version. (Please note 
I only use LTS versions(. The Mnemosyne version it installed is 2.4

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

I attempted to install webenginewidgets via...
    sudo apt-get install python3-pyqt5.qtwebengine
Reading state information... Done
RESPONSE:
python3-pyqt5.qtwebengine is already the newest version 
(5.10.1+dfsg-1ubuntu2).

AND
sudo apt install qtwebengine5-dev
RESPONSE:
qtwebengine5-dev is already the newest version (5.9.5+dfsg-0ubuntu2)

Again mnemosyne will not run via the GUI / Desktop
Using the Command line:

*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'
kevin@Frodo4-MSI:~$ mnemosyne --version
Mnemosyne 2.4
========

FROM the QT Website: *" https://wiki.qt.io/QtWebEngine/How_to_Try "*
I tried: 

Installing dependencies on Ubuntu 

sudo apt-get install bison build-essential gperf flex ruby python 
libasound2-dev libbz2-dev libcap-dev \libcups2-dev libdrm-dev libegl1-mesa-dev 
libgcrypt11-dev libnss3-dev libpci-dev libpulse-dev libudev-dev \libxtst-dev 
gyp ninja-build

Again running mnemosyne from the command line....


*kevin@Frodo4-MSI:~$ mnemosyneAn 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'

 

I'm really struggling here and hope you could provide some detailed 
instruction on how to properly install the Qtwebenginewidgets. manually if 
necessary, to get Mnemosyne working properly.
I now into my 3rd week of the current semester and hope I don't fall too 
far behind in using this awesome flash card tool.

Again I thank you in advance for your expertise in this matter.

Cheers
Kevin

 

*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]>
*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$ 
<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].
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].
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/b9948b5d-0f5c-4d2c-9a95-c531ab319e90%40googlegroups.com.

Reply via email to