Mn 2.4 Install Problems on Ubuntu

112 views
Skip to first unread message

eyeorama

unread,
Dec 6, 2016, 7:15:07 PM12/6/16
to mnemosyne-proj-users
Hi all,

I have mnemosyne synced between my Android phone and my Ubuntu 16.04 LTS machine, and after the Android update (to version 1.1) last night I can't sync due to mismatched versions. I downloaded the Mnemosyne 2.4 tarball, and made sure I had all the dependencies installed, and everything seemed to go okay. But when I tested the installation, I got the following errors:

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.4', 'mnemosyne')
  File "/usr/local/lib/python3.5/dist-packages/setuptools-30.2.0-py3.5.egg/pkg_resources/__init__.py", line 739, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python3.5/dist-packages/setuptools-30.2.0-py3.5.egg/pkg_resources/__init__.py", line 1501, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/local/lib/python3.5/dist-packages/Mnemosyne-2.4-py3.5.egg/EGG-INFO/scripts/mnemosyne", line 132, in <module>
 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.4', 'mnemosyne')
  File "/usr/local/lib/python3.5/dist-packages/setuptools-30.2.0-py3.5.egg/pkg_resources/__init__.py", line 739, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python3.5/dist-packages/setuptools-30.2.0-py3.5.egg/pkg_resources/__init__.py", line 1501, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/local/lib/python3.5/dist-packages/Mnemosyne-2.4-py3.5.egg/EGG-INFO/scripts/mnemosyne", line 132, in <module>
 ImportError: cannot import name 'QtWebEngineWidgets'

Any idea what the problem could be?

Thanks much,

John A

Peter Bienstman

unread,
Dec 7, 2016, 2:08:12 AM12/7/16
to mnemosyne-...@googlegroups.com

Hi,

 

Ubuntu doesn’t seem to package webenginewidgets yet, but as far as I know you can install them through ‘sudo pip3 install PyQt5’.

 

Cheers,

 

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/cab5d35e-d814-40e9-8d29-bb5b41c7f013%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

eyeorama

unread,
Dec 7, 2016, 8:33:14 PM12/7/16
to mnemosyne-proj-users
I ran 'sudo pip3 install PyQt5' and got the following message:

The directory '/home/john/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/john/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.I did this, and re-ran the setup script. Mnemosyne started from the command line, although with the following errors:

I reran the mnemosyne setup script, and started it from the command line. I got these errors:

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[1207/074250:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open

QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open

It seemed to start fine, though, and my active database comes up. When I try to start the sync server, though, I get a an error 'Unable to start sync server'. (The 'QIODevice::write (QProcess): device not open' errors seem to pop up when I try to start the sync server)

I'd much appreciate any ideas on how to fix this.

Thanks!

John

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-users+unsub...@googlegroups.com.
To post to this group, send email to mnemosyne...@googlegroups.com.

Peter Bienstman

unread,
Dec 8, 2016, 1:15:58 AM12/8/16
to mnemosyne-...@googlegroups.com

Hi,

 

Probably you still have zombie sync servers running from you previous attempts to run the software. Can you try a reboot?

 

Cheers,

 

Peter

 

From: mnemosyne-...@googlegroups.com [mailto:mnemosyne-...@googlegroups.com] On Behalf Of eyeorama
Sent: 08 December 2016 02:33
To: mnemosyne-proj-users <mnemosyne-...@googlegroups.com>
Subject: Re: [mnemosyne-proj-users] Mn 2.4 Install Problems on Ubuntu

 

I ran 'sudo pip3 install PyQt5' and got the following message:

The directory '/home/john/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/john/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.I did this, and re-ran the setup script. Mnemosyne started from the command line, although with the following errors:

I reran the mnemosyne setup script, and started it from the command line. I got these errors:

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[1207/074250:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open

QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open

It seemed to start fine, though, and my active database comes up. When I try to start the sync server, though, I get a an error 'Unable to start sync server'.

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.

--

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/3016d21c-16f4-4531-8bd4-711117173e25%40googlegroups.com.

eyeorama

unread,
Dec 8, 2016, 7:44:49 AM12/8/16
to mnemosyne-proj-users
It worked!

I still got some of those messages about the QIO Device and sRGB profile, if that helps with anything, but everything works perfectly now.

Thank you!

John

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-users+unsub...@googlegroups.com.

--
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-users+unsub...@googlegroups.com.


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

Peter Bienstman

unread,
Dec 8, 2016, 7:54:06 AM12/8/16
to mnemosyne-...@googlegroups.com

Good to know J

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.

--
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.

--

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/0e431689-8f73-4345-a877-76ea3315f99c%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages