eric7 stuck at startup (ubuntu 22.04)
Detlev Offenbach
detlev at die-offenbachs.de
Sat Feb 18 15:19:42 GMT 2023
Hi,
the observed issue is caused by Ubuntu. Starting with Ubuntu 22.04 they
changed libssl from version 1.x to 3.x. Unfortunately Qt6 is still
compiled against libssl 1.x. This will change with Qt 6.5 once it is
released. The only solution is to install the package libssl1.1 from
Ubuntu 20.04.
Regards,
Detlev
Am 18.02.23 um 15:47 schrieb mhamant at free.fr:
> Hi Michael,
>
> Thank you for the quick answer. It doesn't seem to be that same issue.
> BTW I installed eric through pip.
>
> I tried to drop .eric7 folder as well.
>
> ----- Mail original -----
>> De: "MichaelR" <MichaelR42 at runbox.com>
>> À: eric at riverbankcomputing.com
>> Envoyé: Samedi 18 Février 2023 15:27:48
>> Objet: Re: eric7 stuck at startup (ubuntu 22.04)
>>
>> That sounds kinda similar to something I recently ran across:
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031373
>>
>> The short answer for me was to install libqt6sql6-sqlite. Debian's
>> eric package is being updated to reflect that dependency. Perhaps
>> Ubuntu "inherited" this problem?
>>
>>
>>
>>
>> On Sat, 18 Feb 2023 15:03:21 +0100 (CET)
>> mhamant at free.fr wrote:
>>
>>> Hi,
>>>
>>> I'm running Ubuntu 22.04,
>>> I just created a new venv, ran 'pip install eric-ide'.
>>> Activate the venv then start eric with 'eric7_ide --debug'
>>>
>>> The main splash screen and main window appear and gets stuck on
>>> "Starting Debugger".
>>>
>>> In the console I get the following output. At the end I hit Ctrl+C,
>>> the traceback is displayed but nothing more happens.
>>>
>>> What's wrong ?
>>>
>>> ===
>>>
>>> $ eric7_ide --debug
>>> DEBUG:root:Importing Preferences
>>> Warning: translation file 'qscintilla_en_US'could not be loaded.
>>> Using default.
>>> qt.tlsbackend.ossl: Incompatible version of OpenSSL (built with
>>> OpenSSL 1.x, runtime version is >= 3.x) qt.network.ssl: The backend
>>> "cert-only" does not support QSslKey qt.network.ssl: Active TLS
>>> backend does not support key creation qt.network.ssl: The backend
>>> "cert-only" does not support QSslKey qt.network.ssl: Active TLS
>>> backend does not support key creation qt.network.ssl: The backend
>>> "cert-only" does not support QSslKey qt.network.ssl: Active TLS
>>> backend does not support key creation qt.network.ssl: The backend
>>> "cert-only" does not support QSslKey qt.network.ssl: Active TLS
>>> backend does not support key creation DEBUG:root:Starting...
>>> DEBUG:root:Generating Main Window...
>>> DEBUG:root:Initializing Basic Services...
>>> DEBUG:root:Creating Conda Interface...
>>> DEBUG:root:Creating Pip Interface...
>>> qt.network.ssl: The backend "cert-only" does not provide system CA
>>> certificates DEBUG:root:Creating Virtual Environments Manager...
>>> DEBUG:root:Creating Project Manager...
>>> DEBUG:root:Creating Multi-Project Manager...
>>> DEBUG:root:Creating Debug Server...
>>> Background Service listening on: 127.0.0.1:43129
>>> DEBUG:root:Initializing Plugin Manager...
>>> qt.network.ssl: The backend "cert-only" does not provide system CA
>>> certificates DEBUG:root:Generating Main User Interface...
>>> DEBUG:root:Creating Application Objects...
>>> DEBUG:root:Creating Viewmanager...
>>> DEBUG:root:Creating Previewer...
>>> DEBUG:root:Creating Python AST Viewer
>>> DEBUG:root:Creating Python Disassembly Viewer
>>> DEBUG:root:Creating Project Browser...
>>> DEBUG:root:Creating Multiproject Browser...
>>> DEBUG:root:Creating Task Viewer...
>>> DEBUG:root:Creating Log Viewer...
>>> DEBUG:root:Creating Debug Viewer...
>>> DEBUG:root:Creating Shell...
>>> DEBUG:root:Creating Template Viewer...
>>> DEBUG:root:Creating File Browser...
>>> DEBUG:root:Creating Symbols Viewer...
>>> DEBUG:root:Creating Code Documentation Viewer...
>>> qt.webenginecontext:
>>>
>>> GL Type: desktop
>>> Surface Type: OpenGL
>>> Surface Profile: CompatibilityProfile
>>> Surface Version: 4.3
>>> QSG RHI Backend: OpenGL
>>> Using Supported QSG Backend: yes
>>> Using Software Dynamic GL: no
>>> Using Multithreaded OpenGL: no
>>>
>>> Init Parameters:
>>> * application-name eric7
>>> * browser-subprocess-path
>>> /home/martin/eric_install/lib/python3.10/site-packages/PyQt6/Qt6/libexec/QtWebEngineProcess
>>> * create-default-gl-context
>>> * disable-features
>>> ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
>>> * disable-setuid-sandbox
>>> * disable-speech-api
>>> * enable-features
>>> NetworkServiceInProcess,TracingServiceInProcess
>>> * enable-threaded-compositing
>>> * in-process-gpu
>>> * use-gl desktop
>>>
>>> DEBUG:root:Creating PyPI Package Manager...
>>> DEBUG:root:Creating Conda Package Manager...
>>> DEBUG:root:Creating Chat Widget...
>>> DEBUG:root:Creating IRC Widget...
>>> qt.network.ssl: The backend "cert-only" does not provide system CA
>>> certificates DEBUG:root:Creating MicroPython Widget...
>>> DEBUG:root:Creating Numbers Viewer...
>>> DEBUG:root:Creating Jedi Assistant...
>>> JSON server (JediServer) listening on: 127.0.0.1:44037
>>> qt.network.ssl: The backend "cert-only" does not provide system CA
>>> certificates DEBUG:root:Creating Internal Help Viewer...
>>> DEBUG:root:Creating Layout...
>>> DEBUG:root:Creating sidebars...
>>> DEBUG:root:Creating Sidebars Layout...
>>> DEBUG:root:Creating central widget...
>>> DEBUG:root:Created Layout
>>> DEBUG:root:Creating Debugger UI...
>>> DEBUG:root:Setting up signal/slot-connections...
>>> DEBUG:root:Initializing Tools...
>>> DEBUG:root:Registering Objects...
>>> DEBUG:root:Initializing Actions...
>>> DEBUG:root:Initializing Menus...
>>> DEBUG:root:Initializing Toolbars...
>>> DEBUG:root:Initializing Statusbar...
>>> DEBUG:root:Initializing Plugins...
>>> DEBUG:root:Activating Plugins...
>>> DEBUG:root:Generating Plugins Toolbars...
>>> DEBUG:root:Cleaning Plugins Download Area...
>>> DEBUG:root:Restoring Toolbarmanager...
>>> DEBUG:root:Setting View Profile...
>>> DEBUG:root:Reading Tasks...
>>> DEBUG:root:Reading Templates...
>>> DEBUG:root:Starting Debugger...
>>> qt.network.ssl: The backend "cert-only" does not provide system CA
>>> certificates DEBUG:root:<Debug-Server> {"jsonrpc": "2.0", "method":
>>> "DebuggerId", "params": {"debuggerId":
>>> "martin-Z87-D3HP/35629/main"}}
>>>
>>> DEBUG:root:<Debug-Server> {"jsonrpc": "2.0", "method":
>>> "ResponseCapabilities", "params": {"capabilities": 63,
>>> "clientType":
>>> "Python3", "debuggerId": "martin-Z87-D3HP/35629/main"}}
>>>
>>> DEBUG:root:<Debug-Server> {"jsonrpc": "2.0", "method":
>>> "ResponseThreadSet", "params": {"debuggerId":
>>> "martin-Z87-D3HP/35629/main"}}
>>>
>>> DEBUG:root:<Debug-Server> {"jsonrpc": "2.0", "method":
>>> "ResponseStack", "params": {"stack": [], "threadName":
>>> "MainThread",
>>> "debuggerId": "xxx/35629/main"}}
>>>
>>> DEBUG:root:<Debug-Server> {"jsonrpc": "2.0", "method":
>>> "ResponseBanner", "params": {"version": "Python 3.10.6 (main, Nov
>>> 14
>>> 2022, 16:10:14) [GCC 11.3.0]", "platform": "martin-Z87-D3HP",
>>> "debuggerId": "xxx/35629/main"}}
>>>
>>> DEBUG:root:<Debug-Server> {"jsonrpc": "2.0", "method":
>>> "ResponseThreadList", "params": {"currentID": 140685372854272,
>>> "threadList": [{"id": 140685372854272, "name": "MainThread",
>>> "broken": false, "except": false}], "debuggerId":
>>> "xxx/35629/main"}}
>>>
>>> ^CTraceback (most recent call last):
>>> File
>>> "/home/xxx/eric_install/lib/python3.10/site-packages/eric7/Utilities/BackgroundClient.py",
>>> line 250, in <module> backgroundClient.run() File
>>> "/home/xxx/eric_install/lib/python3.10/site-packages/eric7/Utilities/BackgroundClient.py",
>>> line 169, in run header = self.__receive(struct.calcsize(b"!II"))
>>> File
>>> "/home/xxx/eric_install/lib/python3.10/site-packages/eric7/Utilities/BackgroundClient.py",
>>> line 121, in __receive newData = self.connection.recv(length -
>>> len(data)) KeyboardInterrupt
>>
--
Detlev Offenbach
detlev at die-offenbachs.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xBD1F26A5DA8A6150.asc
Type: application/pgp-keys
Size: 660 bytes
Desc: OpenPGP public key
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20230218/586a8cee/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20230218/586a8cee/attachment-0001.sig>
More information about the Eric
mailing list