Discussion:
[Eric] Problems with eric6 on Ubuntu 18.10
Tony Arnold
2018-10-25 17:26:02 UTC
Permalink
I've just upgraded to Ubuntu 18.10 and have hit problems running eric6
(version 18.10).

When I first ran it using the pyqt5 (5.11.2) and sip (4.19.2) installed
from the Ubuntu respositories, I got the following:


$ eric6
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/eric6/eric6.py", line 28, in
<module>
import Globals.compatibility_fixes # __IGNORE_WARNING__
File "/usr/lib/python3/dist-packages/eric6/Globals/__init__.py", line
21, in <module>
from PyQt5.QtCore import QDir, QLibraryInfo, QByteArray,
QCoreApplication, \
RuntimeError: the sip module implements API v12.0 to v12.4 but the
PyQt5.QtCore module requires API v12.5

So I installed pyqt5 using pip which also installed a newer version of sip eric6 runs, but I get:


$ eric6
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
qt.network.ssl: QSslSocket: cannot resolve sk_new_null
qt.network.ssl: QSslSocket: cannot resolve sk_push
qt.network.ssl: QSslSocket: cannot resolve sk_free
qt.network.ssl: QSslSocket: cannot resolve sk_num
qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve sk_value
qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
qt.network.ssl: QSslSocket: cannot resolve SSLeay
qt.network.ssl: Incompatible version of OpenSSL
BackgroundService listening on: 37969
qt.network.ssl: QSslSocket: cannot call unresolved function d2i_X509


The last message is repeated for ever.

I've seen the last set of errors before but cannot remember who it was fixed.

Any thoughts on how to resolve this issue?

Regards,
Tony.
--
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT Services | G64, Kilburn Building | The University of Manchester | Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039
0***@gmail.com
2018-10-25 17:37:45 UTC
Permalink
圚 2018幎10月25日星期四 EDT 䞋午1:26:02Tony Arnold 写道
Post by Tony Arnold
I've just upgraded to Ubuntu 18.10 and have hit problems running eric6
(version 18.10).
Ubuntu 18.10 didn't ship eric6 18.10 in it traditional apt/dpkg repository.
It was shipping eric6 18.05-1.1. Did you install from some other repositories,
like the snap store or something like that? Or did you just manually installed
eric6?
Post by Tony Arnold
When I first ran it using the pyqt5 (5.11.2) and sip (4.19.2) installed
Ubuntu 18.10 never ships python3-sip 4.19.2. It ships python3-sip 4.19.12.
Was it a typo?
Post by Tony Arnold
$ eric6
File "/usr/lib/python3/dist-packages/eric6/eric6.py", line 28, in
<module>
import Globals.compatibility_fixes # __IGNORE_WARNING__
File "/usr/lib/python3/dist-packages/eric6/Globals/__init__.py", line
21, in <module>
from PyQt5.QtCore import QDir, QLibraryInfo, QByteArray,
QCoreApplication, \
RuntimeError: the sip module implements API v12.0 to v12.4 but the
PyQt5.QtCore module requires API v12.5
It looks like a bug at Ubuntu side and perhaps you should contact Ubuntu
Developers.
Post by Tony Arnold
So I installed pyqt5 using pip which also installed a newer version of sip
Installing pyqt5 from pypi without coordination with other pyqt5-written
software can easily mess up your system, especially when Ubuntu 18.10 is
shipping shiny new openssl 1.1.1...
Post by Tony Arnold
$ eric6
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
qt.network.ssl: QSslSocket: cannot resolve sk_new_null
qt.network.ssl: QSslSocket: cannot resolve sk_push
qt.network.ssl: QSslSocket: cannot resolve sk_free
qt.network.ssl: QSslSocket: cannot resolve sk_num
qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve sk_value
qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
qt.network.ssl: QSslSocket: cannot resolve
OPENSSL_add_all_algorithms_noconf
qt.network.ssl: QSslSocket: cannot
Post by Tony Arnold
resolve OPENSSL_add_all_algorithms_conf qt.network.ssl: QSslSocket: cannot
resolve SSLeay
qt.network.ssl: Incompatible version of OpenSSL
BackgroundService listening on: 37969
qt.network.ssl: QSslSocket: cannot call unresolved function d2i_X509
The last message is repeated for ever.
I've seen the last set of errors before but cannot remember who it was fixed.
Any thoughts on how to resolve this issue?
--
Thanks,
Boyuan Yang (as eric6 packager in Debian (but not Ubuntu))
Tony Arnold
2018-10-25 17:44:15 UTC
Permalink
Hi Boyuan,
在 2018年10月25日星期四 EDT 下午1:26:02,Tony Arnold 写道:
Post by Tony Arnold
I've just upgraded to Ubuntu 18.10 and have hit problems running eric6
(version 18.10).
Ubuntu 18.10 didn't ship eric6 18.10 in it traditional apt/dpkg repository.
It was shipping eric6 18.05-1.1. Did you install from some other repositories,
like the snap store or something like that? Or did you just manually installed
eric6?
I downloaded from the eri6 web site. eric6 was installed before I
upgraded.
Post by Tony Arnold
When I first ran it using the pyqt5 (5.11.2) and sip (4.19.2) installed
Ubuntu 18.10 never ships python3-sip 4.19.2. It ships python3-sip 4.19.12.
Was it a typo?
Yes, that was a typo. I have 4.19.12.
Post by Tony Arnold
$ eric6
File "/usr/lib/python3/dist-packages/eric6/eric6.py", line 28, in
<module>
import Globals.compatibility_fixes # __IGNORE_WARNING__
File "/usr/lib/python3/dist-packages/eric6/Globals/__init__.py", line
21, in <module>
from PyQt5.QtCore import QDir, QLibraryInfo, QByteArray,
QCoreApplication, \
RuntimeError: the sip module implements API v12.0 to v12.4 but the
PyQt5.QtCore module requires API v12.5
It looks like a bug at Ubuntu side and perhaps you should contact Ubuntu
Developers.
Looks like a mismatch between version of sip and version og PyQt.QtCore
to me.
Post by Tony Arnold
So I installed pyqt5 using pip which also installed a newer version of sip
Installing pyqt5 from pypi without coordination with other pyqt5-
written
software can easily mess up your system, especially when Ubuntu 18.10 is
shipping shiny new openssl 1.1.1...
Yes, I've discovered that in the past! Virtual environments can help,
but not sure if eric6 supports installing/running in a venv.

Regards,
Tony.
--
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT Services | G64, Kilburn Building | The University of Manchester | Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039
Detlev Offenbach
2018-10-25 18:10:32 UTC
Permalink
sip should be uninstalled because PyQt5 5.11.2 uses a private sip. The way it
is on your system causes the obsolete version being used. Please note that
upgrading PyQt5 might need an upgrade of QScintilla as well.

Detlev
Post by Tony Arnold
Hi Boyuan,
在 2018年10月25日星期四 EDT 下午1:26:02,Tony Arnold 写道:
Post by Tony Arnold
I've just upgraded to Ubuntu 18.10 and have hit problems running eric6
(version 18.10).
Ubuntu 18.10 didn't ship eric6 18.10 in it traditional apt/dpkg repository.
It was shipping eric6 18.05-1.1. Did you install from some other repositories,
like the snap store or something like that? Or did you just manually installed
eric6?
I downloaded from the eri6 web site. eric6 was installed before I
upgraded.
Post by Tony Arnold
When I first ran it using the pyqt5 (5.11.2) and sip (4.19.2) installed
Ubuntu 18.10 never ships python3-sip 4.19.2. It ships python3-sip 4.19.12.
Was it a typo?
Yes, that was a typo. I have 4.19.12.
Post by Tony Arnold
$ eric6
File "/usr/lib/python3/dist-packages/eric6/eric6.py", line 28, in
<module>
import Globals.compatibility_fixes # __IGNORE_WARNING__
File "/usr/lib/python3/dist-packages/eric6/Globals/__init__.py",
line
21, in <module>
from PyQt5.QtCore import QDir, QLibraryInfo, QByteArray,
QCoreApplication, \
RuntimeError: the sip module implements API v12.0 to v12.4 but the
PyQt5.QtCore module requires API v12.5
It looks like a bug at Ubuntu side and perhaps you should contact Ubuntu
Developers.
Looks like a mismatch between version of sip and version og PyQt.QtCore
to me.
Post by Tony Arnold
So I installed pyqt5 using pip which also installed a newer version of sip
Installing pyqt5 from pypi without coordination with other pyqt5-
written
software can easily mess up your system, especially when Ubuntu 18.10 is
shipping shiny new openssl 1.1.1...
Yes, I've discovered that in the past! Virtual environments can help,
but not sure if eric6 supports installing/running in a venv.
Regards,
Tony.
--
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT
Services | G64, Kilburn Building | The University of Manchester |
Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039
_______________________________________________
Eric mailing list
https://www.riverbankcomputing.com/mailman/listinfo/eric
--
Detlev Offenbach
***@die-offenbachs.de
Tony Arnold
2018-10-25 18:35:14 UTC
Permalink
Detlev,
Post by Detlev Offenbach
sip should be uninstalled because PyQt5 5.11.2 uses a private sip. The way it
is on your system causes the obsolete version being used. Please note that
upgrading PyQt5 might need an upgrade of QScintilla as well.
apt wants to remove other packages which depend on python3-sip,
including python3-pyqt5!

I think it's time to report a bug to the Ubuntu folks.

Regards,
Tony.
Post by Detlev Offenbach
Detlev
Post by Tony Arnold
Hi Boyuan,
On Thu, 2018-10-25 at 13:37 -0400,
在 2018年10月25日星期四 EDT 下午1:26:02,Tony Arnold 写道:
Post by Tony Arnold
I've just upgraded to Ubuntu 18.10 and have hit problems
running
eric6
(version 18.10).
Ubuntu 18.10 didn't ship eric6 18.10 in it traditional apt/dpkg repository.
It was shipping eric6 18.05-1.1. Did you install from some other repositories,
like the snap store or something like that? Or did you just
manually
installed
eric6?
I downloaded from the eri6 web site. eric6 was installed before I
upgraded.
Post by Tony Arnold
When I first ran it using the pyqt5 (5.11.2) and sip (4.19.2) installed
Ubuntu 18.10 never ships python3-sip 4.19.2. It ships python3-sip 4.19.12.
Was it a typo?
Yes, that was a typo. I have 4.19.12.
Post by Tony Arnold
$ eric6
File "/usr/lib/python3/dist-packages/eric6/eric6.py", line 28, in
<module>
import Globals.compatibility_fixes # __IGNORE_WARNING__
File "/usr/lib/python3/dist-
packages/eric6/Globals/__init__.py",
line
21, in <module>
from PyQt5.QtCore import QDir, QLibraryInfo, QByteArray,
QCoreApplication, \
RuntimeError: the sip module implements API v12.0 to v12.4 but the
PyQt5.QtCore module requires API v12.5
It looks like a bug at Ubuntu side and perhaps you should contact Ubuntu
Developers.
Looks like a mismatch between version of sip and version og
PyQt.QtCore
to me.
Post by Tony Arnold
So I installed pyqt5 using pip which also installed a newer
version
of sip
Installing pyqt5 from pypi without coordination with other pyqt5-
written
software can easily mess up your system, especially when Ubuntu
18.10
is
shipping shiny new openssl 1.1.1...
Yes, I've discovered that in the past! Virtual environments can help,
but not sure if eric6 supports installing/running in a venv.
Regards,
Tony.
--
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT
Services | G64, Kilburn Building | The University of Manchester |
Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039
_______________________________________________
Eric mailing list
https://www.riverbankcomputing.com/mailman/listinfo/eric
--
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT Services | G64, Kilburn Building | The University of Manchester | Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039
Tony Arnold
2018-10-26 16:29:13 UTC
Permalink
Detlev,

Apologies as I hadn't fully understood your advice. I've now uninstalled sip using pip and that has fixed the problem.

Many thanks.

Regards,
Tony.

On Thu, 2018-10-25 at 18:35 +0000, Tony Arnold wrote:

Detlev,


On Thu, 2018-10-25 at 20:10 +0200, Detlev Offenbach wrote:

sip should be uninstalled because PyQt5 5.11.2 uses a private sip.

The way it

is on your system causes the obsolete version being used. Please note

that

upgrading PyQt5 might need an upgrade of QScintilla as well.



apt wants to remove other packages which depend on python3-sip,

including python3-pyqt5!


I think it's time to report a bug to the Ubuntu folks.


Regards,

Tony.


Detlev


Am Donnerstag, 25. Oktober 2018, 19:44:15 CEST schrieb Tony Arnold:

Hi Boyuan,


On Thu, 2018-10-25 at 13:37 -0400,

<mailto:***@gmail.com>

***@gmail.com


wrote:


圚 2018幎10月25日星期四 EDT 䞋午1:26:02Tony Arnold 写道


I've just upgraded to Ubuntu 18.10 and have hit problems

running

eric6

(version 18.10).



Ubuntu 18.10 didn't ship eric6 18.10 in it traditional apt/dpkg

repository.

It was shipping eric6 18.05-1.1. Did you install from some other

repositories,

like the snap store or something like that? Or did you just

manually

installed

eric6?



I downloaded from the eri6 web site. eric6 was installed before I

upgraded.



When I first ran it using the pyqt5 (5.11.2) and sip (4.19.2)

installed

from the Ubuntu respositories, I got the following:



Ubuntu 18.10 never ships python3-sip 4.19.2. It ships python3-sip

4.19.12.

Was it a typo?



Yes, that was a typo. I have 4.19.12.



$ eric6

Traceback (most recent call last):


File "/usr/lib/python3/dist-packages/eric6/eric6.py", line

28, in


<module>


import Globals.compatibility_fixes # __IGNORE_WARNING__



File "/usr/lib/python3/dist-

packages/eric6/Globals/__init__.py",


line

21, in <module>


from PyQt5.QtCore import QDir, QLibraryInfo, QByteArray,


QCoreApplication, \

RuntimeError: the sip module implements API v12.0 to v12.4 but

the

PyQt5.QtCore module requires API v12.5



It looks like a bug at Ubuntu side and perhaps you should contact

Ubuntu

Developers.



Looks like a mismatch between version of sip and version og

PyQt.QtCore

to me.







So I installed pyqt5 using pip which also installed a newer

version

of sip

eric6 runs, but I get:



Installing pyqt5 from pypi without coordination with other pyqt5-

written

software can easily mess up your system, especially when Ubuntu

18.10

is

shipping shiny new openssl 1.1.1...



Yes, I've discovered that in the past! Virtual environments can

help,

but not sure if eric6 supports installing/running in a venv.


Regards,

Tony.
--
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate

of IT

Services | G64, Kilburn Building | The University of Manchester |

Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039

_______________________________________________

Eric mailing list

<mailto:***@riverbankcomputing.com>

***@riverbankcomputing.com



<https://www.riverbankcomputing.com/mailman/listinfo/eric>

https://www.riverbankcomputing.com/mailman/listinfo/eric
--
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT Services | G64, Kilburn Building | The University of Manchester | Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039

_______________________________________________

Eric mailing list

<mailto:***@riverbankcomputing.com>

***@riverbankcomputing.com


<https://www.riverbankcomputing.com/mailman/listinfo/eric>

https://www.riverbankcomputing.com/mailman/listinfo/eric
--
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT Services | G64, Kilburn Building | The University of Manchester | Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039
Continue reading on narkive:
Loading...