eric does not start on fresh installation of Jammy 22.04 LTS (!!!!1111)

Bug #1979559 reported by Norbert
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
eric (Debian)
Fix Released
Unknown
eric (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

j@j:~$ eric
Warning: translation file 'qscintilla_en_US'could not be loaded.
Using default.
BackgroundService listening on: 39995
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <email address hidden>.
A log has been written to "/home/j/.eric6/eric6_error.log".

Error information:

--------------------------------------------------------------------------------
2022-06-22, 21:31:02
--------------------------------------------------------------------------------
<class 'TypeError'>:
setPixelSize(self, int): argument 1 has unexpected type 'float'
--------------------------------------------------------------------------------
  File "/usr/share/eric/modules/eric6.py", line 425, in <module>
    main()
  File "/usr/share/eric/modules/eric6.py", line 404, in main
    mainWindow = UserInterface(app, loc, splash, pluginFile, disabledPlugins,
  File "/usr/share/eric/modules/UI/UserInterface.py", line 297, in __init__
    self.__createLayout(debugServer)
  File "/usr/share/eric/modules/UI/UserInterface.py", line 814, in __createLayout
    self.__createSidebarsLayout(debugServer)
  File "/usr/share/eric/modules/UI/UserInterface.py", line 1103, in __createSidebarsLayout
    self.pipWidget = PipPackagesWidget(self.pipInterface)
  File "/usr/share/eric/modules/PipInterface/PipPackagesWidget.py", line 61, in __init__
    self.setupUi(self)
  File "/usr/share/eric/modules/PipInterface/Ui_PipPackagesWidget.py", line 30, in setupUi
    self.pipMenuButton = E5ToolButton(self.baseWidget)
  File "/usr/share/eric/modules/E5Gui/E5ToolButton.py", line 55, in __init__
    font.setPixelSize(self.__badgeLabel.height() / 2.5)

--------------------------------------------------------------------------------
Version Numbers:
  Python 3.10.4, 64-Bit
  Qt 5.15.3
  PyQt 5.15.6
  PyQtChart not installed
  PyQtWebEngine 5.15.5
  QScintilla 2.11.6
  sip 6.5.1
  WebEngine 87.0.4280.144
  eric6 21.1 (rev. a0f9e97c0186)

Platform: linux
3.10.4 (main, Apr 2 2022, 09:04:19) [GCC 11.2.0]

Desktop: MATE
--------------------------------------------------------------------------------
Distribution Info:
  /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=22.04
    DISTRIB_CODENAME=jammy
    DISTRIB_DESCRIPTION="Ubuntu 22.04 LTS"

  /etc/os-release
    PRETTY_NAME="Ubuntu 22.04 LTS"
    NAME="Ubuntu"
    VERSION_ID="22.04"
    VERSION="22.04 LTS (Jammy Jellyfish)"
    VERSION_CODENAME=jammy
    ID=ubuntu
    ID_LIKE=debian
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    UBUNTU_CODENAME=jammy

An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <email address hidden>.
A log has been written to "/home/j/.eric6/eric6_error.log".

Error information:

--------------------------------------------------------------------------------
2022-06-22, 21:31:02
--------------------------------------------------------------------------------
<class 'RuntimeError'>:
wrapped C/C++ object of type BackgroundService has been deleted
--------------------------------------------------------------------------------
  File "/usr/share/eric/modules/Utilities/BackgroundService.py", line 392, in <lambda>
    lambda x=lang: self.on_disconnectSocket(x))
  File "/usr/share/eric/modules/Utilities/BackgroundService.py", line 427, in on_disconnectSocket
    self.tr('Background client disconnected.'),

--------------------------------------------------------------------------------
Version Numbers:
  Python 3.10.4, 64-Bit
  Qt 5.15.3
  PyQt 5.15.6
  PyQtChart not installed
  PyQtWebEngine 5.15.5
  QScintilla 2.11.6
  sip 6.5.1
  WebEngine 87.0.4280.144
  eric6 21.1 (rev. a0f9e97c0186)

Platform: linux
3.10.4 (main, Apr 2 2022, 09:04:19) [GCC 11.2.0]

Desktop: MATE
--------------------------------------------------------------------------------
Distribution Info:
  /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=22.04
    DISTRIB_CODENAME=jammy
    DISTRIB_DESCRIPTION="Ubuntu 22.04 LTS"

  /etc/os-release
    PRETTY_NAME="Ubuntu 22.04 LTS"
    NAME="Ubuntu"
    VERSION_ID="22.04"
    VERSION="22.04 LTS (Jammy Jellyfish)"
    VERSION_CODENAME=jammy
    ID=ubuntu
    ID_LIKE=debian
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    UBUNTU_CODENAME=jammy

QProcess: Destroyed while process ("/usr/bin/python3") is still running.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: eric 21.1+ds1-2
ProcVersionSignature: Ubuntu 5.15.0-40.43-generic 5.15.35
Uname: Linux 5.15.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Wed Jun 22 21:31:11 2022
InstallationDate: Installed on 2022-05-31 (21 days ago)
InstallationMedia: Ubuntu-MATE 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
PackageArchitecture: all
SourcePackage: eric
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in eric (Ubuntu):
status: New → Confirmed
Revision history for this message
Norbert (nrbrtx) wrote :
tags: removed: third-party-packages
Changed in eric (Debian):
status: Unknown → New
Revision history for this message
Hemmi Jean (jhemmi) wrote :

i've got the same problem with eric6 after liveusb install.
A solution is eric7 described here https://pypi.org/project/eric-ide/

Changed in eric (Debian):
status: New → Fix Released
Revision history for this message
david sinfield (bows) wrote :

Same problem here. Is there a workaround?

Revision history for this message
Erik Meitner (eamuwmath) wrote :

From the developer:

"Date: 2022-10-01.10:47:01

Ubuntu delivers an outdated version of eric6 as of January 2022 (i.e. 21.1). eric6 is
obsolete and no longer maintained. Furthermore it is not compatible with Python 3.10, which
causes your observation.

The solution to this is to upgrade to eric7 (latest is 22.9 with 22.10 immanent)."

https://tracker.die-offenbachs.homelinux.org/issues/issue447

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.