Paquets de la bibliothèque graphique - Debian

Plus d'informations
il y a 4 ans 3 mois #22881 par LeMath
Bonjour,

En suivant cette procédure : https://github.com/Noethys/Noethys
Je n'arrive pas à installer les paquets de la bibliothèque graphique.

root@:~# dpkg -i libtiff4_3.9.5-2ubuntu1.8_amd64.deb wxpython_3.0.0-1_amd64.deb wxwidgets_3.0.0-1_amd64.deb
dpkg: regarding libtiff4_3.9.5-2ubuntu1.8_amd64.deb containing libtiff4:amd64, pre-dependency problem:
 libtiff4 pre-depends on multiarch-support
  multiarch-support is not installed.

dpkg: error processing archive libtiff4_3.9.5-2ubuntu1.8_amd64.deb (--install):
 pre-dependency problem - not installing libtiff4:amd64
(Reading database ... 59905 files and directories currently installed.)
Preparing to unpack wxpython_3.0.0-1_amd64.deb ...
Unpacking wxpython (3.0.0-1) over (3.0.0-1) ...
Preparing to unpack wxwidgets_3.0.0-1_amd64.deb ...
Unpacking wxwidgets (3.0.0-1) over (3.0.0-1) ...
dpkg: dependency problems prevent configuration of wxwidgets:
 wxwidgets depends on libpango1.0-0; however:
  Package libpango1.0-0 is not installed.
 wxwidgets depends on libpng12-0; however:
  Package libpng12-0 is not installed.
 wxwidgets depends on libtiff4; however:
  Package libtiff4 is not installed.

dpkg: error processing package wxwidgets (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wxpython:
 wxpython depends on wxwidgets; however:
  Package wxwidgets is not configured yet.
  Package wxwidgets which provides wxwidgets is not configured yet.

dpkg: error processing package wxpython (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libtiff4_3.9.5-2ubuntu1.8_amd64.deb
 wxwidgets
 wxpython

Merci d'avance pour votre aide.
Mathieu

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois #22915 par Claude
Bonjour,

Quelle version de Debian ?

Claude
Les utilisateur(s) suivant ont remercié: LeMath

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois #22919 par LeMath
Bonjour,

Debian 10.

Merci à vous.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois #22921 par Claude
Bonjour,

Ah oui mais en relisant le premier message je vois:
root@:~# dpkg -i libtiff4_3.9.5-2ubuntu1.8_amd64.deb wxpython_3.0.0-1_amd64.deb

Dans la procédure il est indiqué que c'est pour les vieilles versions, il faudra que je supprime cette partie ou que je l'identifie mieux sur github.
En principe en version 10 la procédure décrite fonctionne je vais vérifier.

Claude
Les utilisateur(s) suivant ont remercié: LeMath

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois #22922 par Claude
Je confirme.
Installation toute fraîche d'une Debian Stable (10)
Je suis la procédure indiquée ici:
https://github.com/Noethys/Noethys

Si tu fais un copier-coller de ce qui suit (3 lignes de commande à
copier) ça fonctionne

apt-get install python-mysqldb python-dateutil python-numpy python-pil
python-reportlab python-matplotlib python-xlrd python-excelerator
python-pip python-espeak python-pyscard python-opencv python-crypto
python-appdirs python-wxgtk3.0 python-sqlalchemy libcanberra-gtk-module
python-psutil python-paramiko python-lxml

pip install pyttsx

pip install icalendar

Claude
Les utilisateur(s) suivant ont remercié: LeMath

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois #22929 par LeMath
Bonjour,

Merci tout d'abord pour la réponse.

Mais ce n'est pas ces lignes là qui me pose problème mais bien celle-ci qui donne l'erreur du premier post :
dpkg -i dossier/wxwidget*****.deb dossier/wxpython*****.deb dossier/libtiff4*****.deb
Merci beaucoup.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois #22930 par Claude
Bonjour,

Oui j'avais bien compris.
Mais ces lignes là ne sont utiles que pour les (très) anciennes versions de debian ou ubuntu.
Il ne faut donc pas en tenir compte, je vais regarder pour indiquer ça de manière plus claire sur la procédure, ou même tout simplement supprimer cette partie.
Donc au final c'est bon, ça fonctionne ?

Claude
Les utilisateur(s) suivant ont remercié: LeMath

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois - il y a 4 ans 2 mois #22932 par LeMath
Bonjour,

Merci encore pour votre aide.
Voici les erreurs lors du lancement :
root@:~/Noethys-master/noethys# python Noethys.py
Traceback (most recent call last):
  File "Noethys.py", line 37, in 
    from Utils import UTILS_Historique
  File "/root/Noethys-master/noethys/Utils/UTILS_Historique.py", line 15, in 
    import GestionDB
  File "/root/Noethys-master/noethys/GestionDB.py", line 71, in 
    CERTIFICATS_SSL = GetCertificatsSSL()
  File "/root/Noethys-master/noethys/GestionDB.py", line 66, in GetCertificatsSSL
    chemin_fichier = UTILS_Fichiers.GetRepUtilisateur(fichier)
  File "/root/Noethys-master/noethys/Utils/UTILS_Fichiers.py", line 100, in GetRepUtilisateur
    os.mkdir(chemin)
OSError: [Errno 2] No such file or directory: '/root/.config/noethys'
root@:~/Noethys-master/noethys#
Dernière édition: il y a 4 ans 2 mois par LeMath.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois #22933 par Claude
Il ne faut pas lancer Noethys en étant root
L'utilisateur root ou le sudo ne doivent être utilisés que pour des opérations système (installer les paquets comme indiqué dans la procédure).
Mais les applications doivent être lancées en utilisateur simple.

Il faut:
1 - Effacer en tant que root le dossier Noethys-master dans /root
2- Passer en utilisateur "normal"
3- Télécharger le zip noethys sur github, et le décompacter dans le répertoire utilisateur.

Et ça devrait fonctionner.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois - il y a 4 ans 2 mois #22934 par LeMath
Toujours le même message d'erreur :
CDQT@vps:~/Noethys-master/noethys$ python Noethys.py
Traceback (most recent call last):
  File "Noethys.py", line 37, in <module>
    from Utils import UTILS_Historique
  File "/home/CDQT/Noethys-master/noethys/Utils/UTILS_Historique.py", line 15, in <module>
    import GestionDB
  File "/home/CDQT/Noethys-master/noethys/GestionDB.py", line 71, in <module>
    CERTIFICATS_SSL = GetCertificatsSSL()
  File "/home/CDQT/Noethys-master/noethys/GestionDB.py", line 66, in GetCertificatsSSL
    chemin_fichier = UTILS_Fichiers.GetRepUtilisateur(fichier)
  File "/home/CDQT/Noethys-master/noethys/Utils/UTILS_Fichiers.py", line 100, in GetRepUtilisateur
    os.mkdir(chemin)
OSError: [Errno 2] No such file or directory: '/home/CDQT/.config/noethys'
CDQT@vps:~/Noethys-master/noethys$
Dernière édition: il y a 4 ans 2 mois par LeMath.

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.320 secondes
Propulsé par Kunena