eric does not start on ubuntu 18.04

Bug #1816671 reported by Norbert
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eric (Debian)
Unknown
Unknown
eric (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. Install Ubuntu 18.04 LTS
2. Install eric with `sudo apt install eric`
3. Launch `eric` from terminal or from its desktop-file

   (really /usr/share/applications/eric.desktop simply calls `eric`)

Expected results:
* eric starts normally

Actual results:
* eric shows logo and then immediately closes with following output in terminal:

$ eric
Warning: translation file 'qt_en_US'could not be loaded.
Using default.
Warning: translation file 'qscintilla_en_US'could not be loaded.
Using default.
BackgroundService listening on: 39207
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/mate/.eric6/eric6_error.log".

Error information:
--------------------------------------------------------------------------------
2019-02-20, 00:14:22
--------------------------------------------------------------------------------
<class 'ModuleNotFoundError'>:
No module named 'distutils.sysconfig'
--------------------------------------------------------------------------------
  File "/usr/share/eric/modules/eric6.py", line 379, in <module>
    main()
  File "/usr/share/eric/modules/eric6.py", line 360, in main
    disablecrash, restartArgs)
  File "/usr/share/eric/modules/UI/UserInterface.py", line 248, in __init__
    self.pluginManager = PluginManager(self, develPlugin=plugin)
  File "/usr/share/eric/modules/PluginManager/PluginManager.py", line 98, in __init__
    "global": os.path.join(Utilities.getPythonModulesDirectory(),
  File "/usr/share/eric/modules/Globals/__init__.py", line 108, in getPythonModulesDirectory
    import distutils.sysconfig

--------------------------------------------------------------------------------
Version Numbers:
  Python 3.6.7
  Qt 5.9.5
  PyQt 5.10.1
  sip 4.19.7
  QScintilla 2.10.2
  WebKit 602.1
  eric6 17.11.1 (rev. ab851fd69434)

Platform: linux
3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0]
--------------------------------------------------------------------------------
Distribution Info:
  /etc/os-release
  NAME="Ubuntu"
  VERSION="18.04.2 LTS (Bionic Beaver)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 18.04.2 LTS"
  VERSION_ID="18.04"
  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"
  VERSION_CODENAME=bionic
  UBUNTU_CODENAME=bionic

  /etc/lsb-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=18.04
  DISTRIB_CODENAME=bionic
  DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: eric 17.11.1-1
ProcVersionSignature: Ubuntu 4.15.0-45.48-generic 4.15.18
Uname: Linux 4.15.0-45-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Wed Feb 20 00:07:23 2019
InstallationDate: Installed on 2018-04-26 (298 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
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
Norbert (nrbrtx) wrote :

First seen on AskUbuntu ( https://askubuntu.com/q/1119380/66509 ). Fixable by manual installation of `python3-setuptools` package.

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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