Public bug reported:

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 
<eric-b...@eric-ide.python-projects.org>.
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)

** Affects: eric (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1816671

Title:
  eric does not start on ubuntu 18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eric/+bug/1816671/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to