Page 1 sur 1

Eric 6 ne se lance pas

Posté : mer. 31 mai 2023 13:47
par erilem
Bonjour, ;)

Eric 6 ne se lance pas

Voici le contexte d'erreur :

Warning: translation file 'qtserialport_fr_FR'could not be loaded.
Using default.
Warning: translation file 'qtwebengine_fr_FR'could not be loaded.
Using default.
Warning: translation file 'eric6_fr_FR'could not be loaded.
Using default.
BackgroundService listening on: 35693
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <eric-bugs@eric-ide.python-projects.org>.
A log has been written to "/home/eric/.eric6/eric6_error.log".

Error information:

--------------------------------------------------------------------------------
2023-05-31, 13:45:20
--------------------------------------------------------------------------------
<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.6, 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.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]

Desktop: X-Cinnamon
--------------------------------------------------------------------------------
Distribution Info:
/etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=21.1
DISTRIB_CODENAME=vera
DISTRIB_DESCRIPTION="Linux Mint 21.1 Vera"

/etc/os-release
NAME="Linux Mint"
VERSION="21.1 (Vera)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21.1"
VERSION_ID="21.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide. ... en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=vera
UBUNTU_CODENAME=jammy

QProcess: Destroyed while process ("/usr/bin/python3") is still running.
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <eric-bugs@eric-ide.python-projects.org>.
A log has been written to "/home/eric/.eric6/eric6_error.log".

Error information:

--------------------------------------------------------------------------------
2023-05-31, 13:45:20
--------------------------------------------------------------------------------
<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.6, 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.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]

Desktop: X-Cinnamon
--------------------------------------------------------------------------------
Distribution Info:
/etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=21.1
DISTRIB_CODENAME=vera
DISTRIB_DESCRIPTION="Linux Mint 21.1 Vera"

/etc/os-release
NAME="Linux Mint"
VERSION="21.1 (Vera)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21.1"
VERSION_ID="21.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide. ... en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=vera
UBUNTU_CODENAME=jammy


Si Quelqu'un à une idée ... Je sèche ..
MERCI D'AVANCE

Re: Eric 6 ne se lance pas

Posté : jeu. 1 juin 2023 04:11
par alain
Bonjour Eric.

Cyrille a certainement raison. (surtout pour pyCharm) ;)

Mais ça devrait fonctionner avec python3.
As tu bien installé tout ces paquets comme il est demandé de le faire? Ils ne me semblent pas être dans ta liste des versions:

Code : Tout sélectionner

alain@alain-desktop:~$ apt policy mercurial build-essential qt5-default qtbase5-dev qttools5-dev-tools libqt5scintilla2-11 python3-pyqt5.qtwebkit python3-pyqt5.qtsvg python3-pyqt5.qtsql python3-pyqt5.qsci
mercurial:
  Installé : (aucun)
  Candidat : 5.3.1-1ubuntu1
 Table de version :
     5.3.1-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
build-essential:
  Installé : (aucun)
  Candidat : 12.8ubuntu1.1
 Table de version :
     12.8ubuntu1.1 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
     12.8ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
qt5-default:
  Installé : (aucun)
  Candidat : 5.12.8+dfsg-0ubuntu2.1
 Table de version :
     5.12.8+dfsg-0ubuntu2.1 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages
     5.12.8+dfsg-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
qtbase5-dev:
  Installé : (aucun)
  Candidat : 5.12.8+dfsg-0ubuntu2.1
 Table de version :
     5.12.8+dfsg-0ubuntu2.1 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages
     5.12.8+dfsg-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
qttools5-dev-tools:
  Installé : (aucun)
  Candidat : 5.12.8-0ubuntu1
 Table de version :
     5.12.8-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
python3-pyqt5.qtwebkit:
  Installé : (aucun)
  Candidat : 5.14.1+dfsg-3build1
 Table de version :
     5.14.1+dfsg-3build1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
python3-pyqt5.qtsvg:
  Installé : (aucun)
  Candidat : 5.14.1+dfsg-3build1
 Table de version :
     5.14.1+dfsg-3build1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
python3-pyqt5.qtsql:
  Installé : (aucun)
  Candidat : 5.14.1+dfsg-3build1
 Table de version :
     5.14.1+dfsg-3build1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
python3-pyqt5.qsci:
  Installé : (aucun)
  Candidat : 2.11.2+dfsg-6
 Table de version :
     2.11.2+dfsg-6 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
alain@alain-desktop:~$ 

Comme tu vois ils sont tous dans les dépôts ubuntu (donc mint), pas de soucis de ce côté.

Re: Eric 6 ne se lance pas

Posté : jeu. 1 juin 2023 11:06
par erilem
Hello -:)

Pour Python 3 , il est installé, je le lance sans problème et il fonctionne bien.
Lorsque "eric 6" plante, à la fin log il dit : "QProcess: Destroyed while process ("/usr/bin/python3") is still running"
Ce qui prouve aussi qu'il est bien présent.

Non, ce qui m'interpelle c'est plutôt : "BackgroundService listening on: 44241, An unhandled exception occurred."

pô grave ... de guerre lasse je risque d'aller voir du côté de PyCharm. J'espère que la version gratuite me sera suffisante.

Merci les gars

Re: Eric 6 ne se lance pas

Posté : ven. 2 juin 2023 01:45
par alain
Bonjour Eric.
erilem a écrit : jeu. 1 juin 2023 11:06 Pour Python 3 , il est installé, je le lance sans problème et il fonctionne bien.
Bin oui ça j'ai bien vu :l

Ce n'est pas ce que je te demande. Je te demande si tous les paquets que j'ai listé précédemment sont bien installés chez toi.
Sur mon retour tu vois qu'ils ne sont pas installés car je n'en ai pas l'utilité sur le poste que j'ai utilisé, mais ça te montre qu'ils sont disponibles dans les dépôts.

PS: Je ne dis pas non plus que ça va résoudre ton problème, c'est juste une question pour faire avancer le chmilblick.

PS2: Et j'avais bien vu qu'un service en arrière plan a rencontré une exception non gérée. Cherchons laquelle...