Eric 6 ne se lance pas

Postez ici toutes vos demandes d’assistance.
Répondre
Avatar du membre
erilem
Messages : 4
Enregistré le : mar. 30 mai 2023 18:17
Localisation : Saint Etienne (France)
Contact :

Eric 6 ne se lance pas

Message 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
Pc :Pc Dell Inspiron 7706 2n1 | Os Linux Mint 21.1 Vera | Desk Cinnamon 5.6.8 | Kernel 5.15.0-72-generic x86_64 | Cpu Core i7-1165G7 | Ram 16 Go | NVIDIA GP107M [GeForce MX350]

Avatar du membre
cyrille
Administrateur du site
Messages : 12285
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: Eric 6 ne se lance pas

Message par cyrille »

Me semble que c'est une histoire de version de python, j'ai déjà du répondre à une demande similaire (zone de recherche)
Je te conseille pyCharm comme IDE python, plus complet qu'ERIC 6 (soit dit très bon aussi)
cf https://cbiot.fr/dokuwiki/python:pycharm
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
alain
Administrateur du site
Messages : 14704
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: Eric 6 ne se lance pas

Message 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é.
PC are like air conditioning, they becomes useless when you open Windows (L.T)
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: ATI RX 580-8 Go | OS : LM 20.3 Uma Xfce 4.16 | K: 5.4
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 21.3 Xfce 4.18| K: 6.5
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 10.5 | K: 5.10
In a world without walls and fences, who needs windows and gates?

Avatar du membre
erilem
Messages : 4
Enregistré le : mar. 30 mai 2023 18:17
Localisation : Saint Etienne (France)
Contact :

Re: Eric 6 ne se lance pas

Message 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
Pc :Pc Dell Inspiron 7706 2n1 | Os Linux Mint 21.1 Vera | Desk Cinnamon 5.6.8 | Kernel 5.15.0-72-generic x86_64 | Cpu Core i7-1165G7 | Ram 16 Go | NVIDIA GP107M [GeForce MX350]

Avatar du membre
cyrille
Administrateur du site
Messages : 12285
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: Eric 6 ne se lance pas

Message par cyrille »

Je l'utilise depuis un bail, elle est très complète, plus que Eric 6, AMA
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
alain
Administrateur du site
Messages : 14704
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: Eric 6 ne se lance pas

Message 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...
PC are like air conditioning, they becomes useless when you open Windows (L.T)
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: ATI RX 580-8 Go | OS : LM 20.3 Uma Xfce 4.16 | K: 5.4
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 21.3 Xfce 4.18| K: 6.5
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 10.5 | K: 5.10
In a world without walls and fences, who needs windows and gates?

Répondre