Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 25/01/2015, à 22:24

f.x0

Re : Pytrainer et utopic unicorn

postes le retour de

gksudo pytrainer -d

SOPI

Hors ligne

#27 Le 26/01/2015, à 22:25

Turkish

Re : Pytrainer et utopic unicorn

Salut f.xo,

j'avais pas vu ton dernier post (en page 2)...hier soir.

ta commande fonctionne et permet le lancement de pytrainer....

Merci de ton suivi pour ce problème et de ta réactivité.

Sais tu si les manips pourraient avoir une incidence sur le système sachant que pytrainer n'est plus proposé dans les dépôts ?

Hors ligne

#28 Le 27/01/2015, à 01:08

f.x0

Re : Pytrainer et utopic unicorn

Non, je crois que tu as de la chance, car les dépendances de pytrainer
qui ont été utilisées semblent être celles de utopic unicorn.

Par contre IL FAUT SUPPRIMER LES 3 LIGNES AJOUTÉES AU FICHIER SOURCES.LIST

Pour cela ouvres un terminal
tapes

gksudo gedit /etc/apt/sources.list

et supprimes ces 3 dernières lignes (ajoutées temporairement) SANS LAISSER D'ESPACE

deb http://fr.archive.ubuntu.com/ubuntu/ trusty universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ trusty-updates universe multiverse

Enregistres ton fichier
quittes gedit


postes ensuite le résultat de

sudo apt-get update

puis de

sudo apt-get dist-upgrade

SOPI

Hors ligne

#29 Le 27/01/2015, à 20:54

Turkish

Re : Pytrainer et utopic unicorn

Ign http://extras.ubuntu.com utopic InRelease
Ign http://ppa.launchpad.net utopic InRelease                                  
Atteint http://extras.ubuntu.com utopic Release.gpg                            
Ign http://archive.canonical.com utopic InRelease                              
Ign http://ppa.launchpad.net utopic InRelease                                  
Ign http://security.ubuntu.com utopic-security InRelease                       
Ign http://fr.archive.ubuntu.com utopic InRelease                              
Atteint http://extras.ubuntu.com utopic Release                                
Atteint http://archive.canonical.com utopic Release.gpg                        
Ign http://ppa.launchpad.net utopic InRelease                                  
Réception de : 1 http://security.ubuntu.com utopic-security Release.gpg [933 B]
Atteint http://archive.canonical.com utopic Release                            
Atteint http://ppa.launchpad.net utopic Release.gpg                            
Ign http://fr.archive.ubuntu.com utopic-updates InRelease                      
Réception de : 2 http://security.ubuntu.com utopic-security Release [62,0 kB]  
Ign http://ppa.launchpad.net utopic Release.gpg                                
Atteint http://extras.ubuntu.com utopic/main Sources                           
Ign http://fr.archive.ubuntu.com utopic-backports InRelease                    
Atteint http://ppa.launchpad.net utopic Release.gpg                            
Atteint http://extras.ubuntu.com utopic/main i386 Packages                     
Atteint http://fr.archive.ubuntu.com utopic Release.gpg                        
Atteint http://ppa.launchpad.net utopic Release                                
Ign http://ppa.launchpad.net utopic Release                                    
Atteint http://archive.canonical.com utopic/partner Sources                    
Réception de : 3 http://fr.archive.ubuntu.com utopic-updates Release.gpg [933 B]
Réception de : 4 http://security.ubuntu.com utopic-security/main Sources [37,7 kB]
Atteint http://ppa.launchpad.net utopic Release                                
Atteint http://archive.canonical.com utopic/partner i386 Packages              
Atteint http://fr.archive.ubuntu.com utopic-backports Release.gpg              
Atteint http://archive.canonical.com utopic/partner Translation-en             
Réception de : 5 http://security.ubuntu.com utopic-security/restricted Sources [2 107 B]
Atteint http://fr.archive.ubuntu.com utopic Release                            
Réception de : 6 http://security.ubuntu.com utopic-security/universe Sources [7 066 B]
Réception de : 7 http://fr.archive.ubuntu.com utopic-updates Release [62,0 kB] 
Réception de : 8 http://security.ubuntu.com utopic-security/multiverse Sources [723 B]
Réception de : 9 http://security.ubuntu.com utopic-security/main i386 Packages [110 kB]
Atteint http://fr.archive.ubuntu.com utopic-backports Release                  
Réception de : 10 http://security.ubuntu.com utopic-security/restricted i386 Packages [8 438 B]
Atteint http://ppa.launchpad.net utopic/main i386 Packages                     
Atteint http://ppa.launchpad.net utopic/main Translation-en                    
Ign http://extras.ubuntu.com utopic/main Translation-fr_FR                     
Réception de : 11 http://security.ubuntu.com utopic-security/universe i386 Packages [47,2 kB]
Ign http://extras.ubuntu.com utopic/main Translation-fr                        
Ign http://extras.ubuntu.com utopic/main Translation-en                        
Réception de : 12 http://security.ubuntu.com utopic-security/multiverse i386 Packages [2 246 B]
Atteint http://ppa.launchpad.net utopic/main i386 Packages                     
Atteint http://ppa.launchpad.net utopic/main Translation-en                    
Atteint http://security.ubuntu.com utopic-security/main Translation-en         
Atteint http://security.ubuntu.com utopic-security/multiverse Translation-en   
Atteint http://security.ubuntu.com utopic-security/restricted Translation-en   
Err http://ppa.launchpad.net utopic/main i386 Packages                         
  404  Not Found
Atteint http://security.ubuntu.com utopic-security/universe Translation-en     
Ign http://ppa.launchpad.net utopic/main Translation-fr_FR                     
Ign http://ppa.launchpad.net utopic/main Translation-fr                 
Ign http://ppa.launchpad.net utopic/main Translation-en                 
Réception de : 13 http://fr.archive.ubuntu.com utopic-updates/main Sources [62,9 kB]
Réception de : 14 http://fr.archive.ubuntu.com utopic-updates/restricted Sources [2 107 B]
Réception de : 15 http://fr.archive.ubuntu.com utopic-updates/universe Sources [11,8 kB]
Réception de : 16 http://fr.archive.ubuntu.com utopic-updates/multiverse Sources [723 B]
Réception de : 17 http://fr.archive.ubuntu.com utopic-updates/main i386 Packages [161 kB]
Réception de : 18 http://fr.archive.ubuntu.com utopic-updates/restricted i386 Packages [8 438 B]
Réception de : 19 http://fr.archive.ubuntu.com utopic-updates/universe i386 Packages [63,8 kB]
Réception de : 20 http://fr.archive.ubuntu.com utopic-updates/multiverse i386 Packages [2 246 B]
Atteint http://fr.archive.ubuntu.com utopic-backports/restricted Sources       
Atteint http://fr.archive.ubuntu.com utopic-backports/multiverse Sources       
Atteint http://fr.archive.ubuntu.com utopic-backports/restricted i386 Packages 
Atteint http://fr.archive.ubuntu.com utopic-backports/multiverse i386 Packages 
Atteint http://fr.archive.ubuntu.com utopic-backports/multiverse Translation-en
Atteint http://fr.archive.ubuntu.com utopic-backports/restricted Translation-en
Atteint http://fr.archive.ubuntu.com utopic/main Sources                       
Atteint http://fr.archive.ubuntu.com utopic/restricted Sources                 
Atteint http://fr.archive.ubuntu.com utopic/universe Sources                   
Atteint http://fr.archive.ubuntu.com utopic/multiverse Sources                 
Atteint http://fr.archive.ubuntu.com utopic/main i386 Packages                 
Atteint http://fr.archive.ubuntu.com utopic/restricted i386 Packages           
Atteint http://fr.archive.ubuntu.com utopic/universe i386 Packages             
Atteint http://fr.archive.ubuntu.com utopic/multiverse i386 Packages           
Atteint http://fr.archive.ubuntu.com utopic/main Translation-fr                
Atteint http://fr.archive.ubuntu.com utopic/main Translation-en                
Atteint http://fr.archive.ubuntu.com utopic/multiverse Translation-fr          
Atteint http://fr.archive.ubuntu.com utopic/multiverse Translation-en          
Atteint http://fr.archive.ubuntu.com utopic/restricted Translation-fr          
Atteint http://fr.archive.ubuntu.com utopic/restricted Translation-en          
Atteint http://fr.archive.ubuntu.com utopic/universe Translation-fr            
Atteint http://fr.archive.ubuntu.com utopic/universe Translation-en            
Atteint http://fr.archive.ubuntu.com utopic-updates/main Translation-en        
Atteint http://fr.archive.ubuntu.com utopic-updates/multiverse Translation-en  
Atteint http://fr.archive.ubuntu.com utopic-updates/restricted Translation-en  
Atteint http://fr.archive.ubuntu.com utopic-updates/universe Translation-en    
Atteint http://fr.archive.ubuntu.com utopic-backports/main Sources             
Atteint http://fr.archive.ubuntu.com utopic-backports/universe Sources         
Atteint http://fr.archive.ubuntu.com utopic-backports/main i386 Packages       
Atteint http://fr.archive.ubuntu.com utopic-backports/universe i386 Packages   
Atteint http://fr.archive.ubuntu.com utopic-backports/main Translation-en      
Atteint http://fr.archive.ubuntu.com utopic-backports/universe Translation-en  
654 ko réceptionnés en 29s (22,4 ko/s)                                         
W: Impossible de récupérer http://ppa.launchpad.net/screenlets/ppa/ubuntu/dists/utopic/main/binary-i386/Packages  404  Not Found

E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
sudo apt-get dist-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants seront mis à jour :
  firefox firefox-locale-en firefox-locale-fr libjasper1 oxideqt-codecs-extra
5 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 42,6 Mo dans les archives.
Après cette opération, 9 216 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de : 1 http://fr.archive.ubuntu.com/ubuntu/ utopic-updates/main libjasper1 i386 1.900.1-debian1-2ubuntu0.2 [135 kB]
Réception de : 2 http://fr.archive.ubuntu.com/ubuntu/ utopic-updates/main firefox i386 35.0.1+build1-0ubuntu0.14.10.1 [40,6 MB]
Réception de : 3 http://fr.archive.ubuntu.com/ubuntu/ utopic-updates/main firefox-locale-en i386 35.0.1+build1-0ubuntu0.14.10.1 [634 kB]
Réception de : 4 http://fr.archive.ubuntu.com/ubuntu/ utopic-updates/main firefox-locale-fr i386 35.0.1+build1-0ubuntu0.14.10.1 [429 kB]
Réception de : 5 http://fr.archive.ubuntu.com/ubuntu/ utopic-updates/main oxideqt-codecs-extra i386 1.4.2-0ubuntu0.14.10.1 [848 kB]
42,6 Mo réceptionnés en 5min 30s (129 ko/s)                                    
(Lecture de la base de données... 183207 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libjasper1_1.900.1-debian1-2ubuntu0.2_i386.deb ...
Dépaquetage de libjasper1:i386 (1.900.1-debian1-2ubuntu0.2) sur (1.900.1-debian1-2ubuntu0.1) ...
Préparation du dépaquetage de .../firefox_35.0.1+build1-0ubuntu0.14.10.1_i386.deb ...
Dépaquetage de firefox (35.0.1+build1-0ubuntu0.14.10.1) sur (35.0+build3-0ubuntu0.14.10.2) ...
Préparation du dépaquetage de .../firefox-locale-en_35.0.1+build1-0ubuntu0.14.10.1_i386.deb ...
Dépaquetage de firefox-locale-en (35.0.1+build1-0ubuntu0.14.10.1) sur (35.0+build3-0ubuntu0.14.10.2) ...
Préparation du dépaquetage de .../firefox-locale-fr_35.0.1+build1-0ubuntu0.14.10.1_i386.deb ...
Dépaquetage de firefox-locale-fr (35.0.1+build1-0ubuntu0.14.10.1) sur (35.0+build3-0ubuntu0.14.10.2) ...
Préparation du dépaquetage de .../oxideqt-codecs-extra_1.4.2-0ubuntu0.14.10.1_i386.deb ...
Dépaquetage de oxideqt-codecs-extra:i386 (1.4.2-0ubuntu0.14.10.1) sur (1.3.4-0ubuntu0.14.10.1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.0.2-2) ...
Traitement des actions différées (« triggers ») pour mime-support (3.55ubuntu1.1) ...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.22-1ubuntu2) ...
Paramétrage de libjasper1:i386 (1.900.1-debian1-2ubuntu0.2) ...
Paramétrage de firefox (35.0.1+build1-0ubuntu0.14.10.1) ...
Please restart all running instances of firefox, or you will experience problems.
Paramétrage de firefox-locale-en (35.0.1+build1-0ubuntu0.14.10.1) ...
Paramétrage de firefox-locale-fr (35.0.1+build1-0ubuntu0.14.10.1) ...
Paramétrage de oxideqt-codecs-extra:i386 (1.4.2-0ubuntu0.14.10.1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.19-10ubuntu2.2) ...

Dernière modification par Turkish (Le 27/01/2015, à 21:26)

Hors ligne

#30 Le 27/01/2015, à 23:27

f.x0

Re : Pytrainer et utopic unicorn

Ça l"air OK,
mais tu as un dépôt PPA pour screenlets
qui n'est pas (encore) valable pour utopic,
comme tu peux le voir ici.

Il faut que tu le désactives ou que tu le supprimes.


SOPI

Hors ligne

#31 Le 24/02/2015, à 23:25

αjet

Re : Pytrainer et utopic unicorn

J'ai eu la meme mesaventure, a savoir que je voulais installer pytrainer sur mon pc (ubuntu 14.10) et ai realise que le paquet n'est plus present dans les depots universe. Voici comment j'ai procede:

1. telechargement des sources de la derniere version publiee (1.10 a ce jour): https://github.com/pytrainer/pytrainer/ … ag/v1.10.0
2. decompression de l'archive dans un dossier temporaire
3. verification des dependances, voir https://github.com/pytrainer/pytrainer/ … er/INSTALL
Dans mon cas j'ai du installer les paquets suivants:
  a. python-gtk2
  b. python-glade2
  c. python-matplotlib
  d. python-sqlalchemy
  e. python-migrate (il s'agit du paquet contenant sqlalchemy-migrate)
  f. zenity
  g. python-webkit
4. installer pytrainer a l'aide de la commande:

sudo python setup.py install

5. lancer pytrainer

pytrainer -i

Et ca roule cool

Certaines des dependances listees etaient deja resolu dans mon cas, mais il est fort probable que les votre soient differentes suivant ce qui est deja installe sur votre systeme.
D'ailleurs j'ai pas trouve toutes les dependances du premier coup. Dans ce cas, pytrainer crash quand on essaie de le lancer. Les erreurs retournees dans la console m'ont permi de retrouver les dependances non satisfaites.

J'imagine qu'il est aussi possible de s'en sortir avec python pip.

En esperant que ce post aide quelqu'un ! N'hesitez pas a demander si vous avez besoin d'un coup de main.


αjet: ça se prononce alfajet, bordel ! | GMT+1 | Viens poueter avec moi, bordel ! | Mes photos | Shaarli | Fluidbuntu-fr

Hors ligne