Bonjour,
J'ai suivi cette doc pour ajouter une icône à mon paquet : http://dev.tranquil.it/wiki/WAPT_-_Rajouter_un_icone_au_paquet Mais une fois le paquet construit et uploadé sur le serveur, j'ai toujours l'icône point d'interrogation bleu sur l'interface 127.0.0.1:8088/list. J'ai loupé quelque chose ?
Merci d'avance.
Bonjour, J'ai un soucis sur un paquet de mise à jour de java. Lorsque je teste mon paquet via PyScripter le paquet s'installe correctement en testant et désinstallant les anciennes versions par contre il me renvoie une erreur lorsque je le déploie via la console. Je joins le code en dessous, ainsi que l'erreur renvoyée. Cordialement, David MONTAIGNE
Bonjour Frédéric, j'ai déjà eu cette erreur plusieurs fois (most recent call last) mais impossible de me rappeller d'où cela venait... Si ça me revient je te le dit. En rechanche, ton paquet Java 8 qui désinstalle les anciennes versions 7 m'interesse. Est-ce un paquet que tu as développé toi-même ? Cdlt.
frédéric VOLPI frederic.volpi@ac-nantes.fr écrit:
Bonjour, J'ai un soucis sur un paquet de mise à jour de java. Lorsque je teste mon paquet via PyScripter le paquet s'installe correctement en testant et désinstallant les anciennes versions par contre il me renvoie une erreur lorsque je le déploie via la console. Je joins le code en dessous, ainsi que l'erreur renvoyée. Cordialement, David MONTAIGNE
-- Frédéric volpi Administrateur Réseau Lycée LIVET NANTES 02 51 81 23 45
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour
Le mien fait ceci:
http://wapt.lesfourmisduweb.org/wapt/smp-java_8.40-23_all.wapt
A modifier si besoin
Simon
Le 17/03/2015 12:07, informatique a écrit :
Bonjour Frédéric, j'ai déjà eu cette erreur plusieurs fois (most recent call last) mais impossible de me rappeller d'où cela venait... Si ça me revient je te le dit. En rechanche, ton paquet Java 8 qui désinstalle les anciennes versions 7 m'interesse. Est-ce un paquet que tu as développé toi-même ? Cdlt.
*frédéric VOLPI <frederic.volpi@ac-nantes.fr mailto:frederic.volpi@ac-nantes.fr> écrit:* Bonjour, J'ai un soucis sur un paquet de mise à jour de java. Lorsque je teste mon paquet via PyScripter le paquet s'installe correctement en testant et désinstallant les anciennes versions par contre il me renvoie une erreur lorsque je le déploie via la console. Je joins le code en dessous, ainsi que l'erreur renvoyée. Cordialement, David MONTAIGNE
-- Frédéric volpi Administrateur Réseau Lycée LIVET NANTES 02 51 81 23 45
WAPT mailing list WAPT@lists.tranquil.it mailto:WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Plus de précision sur mon paquet:
Verifie toute les installation qui porte le nom "java" présente, désinstalle avec la uninstallkey si la version n'est pas celle égale a la version renseignée dans le paquet.
rempacer if Version(uninstall['version']) != versionuninstall : par if Version(uninstall['version']) < versionuninstall :
Pour gérer les version supérieur.
Si la désinstallation n'a pas fonctionné le paquet bascule en erreur.
Vérifie ensuite si la version que l'on veut désinstallée n'est pas déjà présente (ou supérieur) , si oui je quitte
Est ensuite lancée l'installation de la dernière version de java
Je vérifie à la fin que tout a bien fonctionné, si je ne trouve pas la version de java indiquée à la fin de l'installation, le paquet est mis en erreur.
Je ne garantis rien pour ce paquet " with ABSOLUTELY NO WARRANTY" ... ...
Simon
Le 17/03/2015 12:17, Fonteneau Simon a écrit :
Bonjour
Le mien fait ceci:
http://wapt.lesfourmisduweb.org/wapt/smp-java_8.40-23_all.wapt
A modifier si besoin
Simon
Le 17/03/2015 12:07, informatique a écrit :
Bonjour Frédéric, j'ai déjà eu cette erreur plusieurs fois (most recent call last) mais impossible de me rappeller d'où cela venait... Si ça me revient je te le dit. En rechanche, ton paquet Java 8 qui désinstalle les anciennes versions 7 m'interesse. Est-ce un paquet que tu as développé toi-même ? Cdlt.
*frédéric VOLPI <frederic.volpi@ac-nantes.fr mailto:frederic.volpi@ac-nantes.fr> écrit:* Bonjour, J'ai un soucis sur un paquet de mise à jour de java. Lorsque je teste mon paquet via PyScripter le paquet s'installe correctement en testant et désinstallant les anciennes versions par contre il me renvoie une erreur lorsque je le déploie via la console. Je joins le code en dessous, ainsi que l'erreur renvoyée. Cordialement, David MONTAIGNE
-- Frédéric volpi Administrateur Réseau Lycée LIVET NANTES 02 51 81 23 45
WAPT mailing list WAPT@lists.tranquil.it mailto:WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Re bonjour, Sur les conseils d'Hubert j'ai solutionné mon problème avec java en utilisant le msi. Je l'ai trouvé dans C:\users\administrateur\AppData\LocalLow\Sun\Java\jre1.8.0_40_x64. En revanche, je ne comprends toujours pas pourquoi mon script se comportait bien dans PyScripter et bugait via le client wapt. @+
Bonjour,
J'ai rencontré exactement le même problème avec Java récemment. Après recherche, il s'agit d'un bug de Java lorsqu'il est installé avec le compte System. Voir : https://www.reddit.com/r/sysadmin/comments/3gicn5/for_those_of_you_trying_to...
Quand vous testez le paquet depuis Pyscripter vous utiliser un compte administrateur, donc ça fonctionne. Quand vous déployez via la console, cela utilise le compte System, et ça ne fonctionne pas.
La solution est donc d'utiliser le MSI comme vous l'avez indiqué.
Cordialement, Bastien
Le 17/03/2015 15:21, David MONTAIGNE a écrit :
Re bonjour, Sur les conseils d'Hubert j'ai solutionné mon problème avec java en utilisant le msi. Je l'ai trouvé dans C:\users\administrateur\AppData\LocalLow\Sun\Java\jre1.8.0_40_x64. En revanche, je ne comprends toujours pas pourquoi mon script se comportait bien dans PyScripter et bugait via le client wapt. @+
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour, Oui, c'est un paquet que nous avons développé afin de ne pas laisser de scories des anciennes versions. Il était en pièce jointe dans le premier post sur la liste. Cordialement, David
Le 17/03/2015 12:07, informatique a écrit :
Bonjour Frédéric, j'ai déjà eu cette erreur plusieurs fois (most recent call last) mais impossible de me rappeller d'où cela venait... Si ça me revient je te le dit. En rechanche, ton paquet Java 8 qui désinstalle les anciennes versions 7 m'interesse. Est-ce un paquet que tu as développé toi-même ? Cdlt.
*frédéric VOLPI <frederic.volpi@ac-nantes.fr mailto:frederic.volpi@ac-nantes.fr> écrit:* Bonjour, J'ai un soucis sur un paquet de mise à jour de java. Lorsque je teste mon paquet via PyScripter le paquet s'installe correctement en testant et désinstallant les anciennes versions par contre il me renvoie une erreur lorsque je le déploie via la console. Je joins le code en dessous, ainsi que l'erreur renvoyée. Cordialement, David MONTAIGNE
-- Frédéric volpi Administrateur Réseau Lycée LIVET NANTES 02 51 81 23 45
WAPT mailing list WAPT@lists.tranquil.it mailto:WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Il faut prendre le MSI et pas le EXE. Pour récupérer le MSI, faire une installation et copier le msi que l'installeur exe a copié dans C:\Windows\Installer (on le retrouve par la date et la taille, car son nom de fichier est cryptique...)
Hubert
Le 17/03/2015 11:36, frédéric VOLPI a écrit :
Bonjour, J'ai un soucis sur un paquet de mise à jour de java. Lorsque je teste mon paquet via PyScripter le paquet s'installe correctement en testant et désinstallant les anciennes versions par contre il me renvoie une erreur lorsque je le déploie via la console. Je joins le code en dessous, ainsi que l'erreur renvoyée. Cordialement, David MONTAIGNE
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
important : dans le dépôt http://wapt.tranquil.it/wapt
le paquet tis-java est maintenant juste un wrapper (= a une dépendance) vers tis-java8 cela pour permettre la cohabitation de java7 et java8 qui est parfois nécessaire... java8 a été upgradé en 8u40.
à prendre en compte si vous utilisez le paquet tis...
Hubert.
Le 17/03/2015 11:36, frédéric VOLPI a écrit :
Bonjour, J'ai un soucis sur un paquet de mise à jour de java. Lorsque je teste mon paquet via PyScripter le paquet s'installe correctement en testant et désinstallant les anciennes versions par contre il me renvoie une erreur lorsque je le déploie via la console. Je joins le code en dessous, ainsi que l'erreur renvoyée. Cordialement, David MONTAIGNE
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour,
je pense avoir trouvé une erreur en voulant reprendre votre setup.py qui désinstalle les anciennes versions.
if iswin64(): print("installation de JRE 8u40 32 bits") if not installed_softwares('{26A24AE4-039D-4CA4-87B4-2F83218040F0}'): run(r'"jre-8u40-windows-i586.exe" /s' ) else: print("JRE 8u40 32 bits present") print("installation de JRE 8u40 64 bits") if not installed_softwares('{26A24AE4-039D-4CA4-87B4-2F86418040F0}'): run(r'"jre-8u40-windows-x64.exe" /s' ) else: print("JRE 8u40 64 bits present") else: print("installation de JRE 7u71 32 bits") run(r'"jre-7u71-windows-i586.exe" /s')
Pourquoi installer la version 7.71 si le poste n'est pas un 64 bits ? Cela est volontaire ?
Cdlt.
frédéric VOLPI frederic.volpi@ac-nantes.fr écrit:
Bonjour, J'ai un soucis sur un paquet de mise à jour de java. Lorsque je teste mon paquet via PyScripter le paquet s'installe correctement en testant et désinstallant les anciennes versions par contre il me renvoie une erreur lorsque je le déploie via la console. Je joins le code en dessous, ainsi que l'erreur renvoyée. Cordialement, David MONTAIGNE
-- Frédéric volpi Administrateur Réseau Lycée LIVET NANTES 02 51 81 23 45
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour, En ce qui concerne notre paquet java, nous avons une spécificité dans notre lycée, nous avons deux versions de windows, winXP en 32 bits et win7 en 64 bits. C'est donc cette particularité qui explique notre test (if iswin64():). En gros si c'est un 64 bits c'est un win7 sinon c'est un XP. Nous avons quelques soucis avec la version 8 de java sur nos XP nous avons donc décidé de figer la version de java sur les postes en XP. Cordialement, David MONTAIGNE
Le 20/03/2015 10:50, informatique a écrit :
Bonjour,
je pense avoir trouvé une erreur en voulant reprendre votre setup.py qui désinstalle les anciennes versions.
- if iswin64():* print("installation de JRE 8u40 32 bits") if not
installed_softwares('{26A24AE4-039D-4CA4-87B4-2F83218040F0}'): run(r'"jre-8u40-windows-i586.exe" /s' ) else: print("JRE 8u40 32 bits present") print("installation de JRE 8u40 64 bits") if not installed_softwares('{26A24AE4-039D-4CA4-87B4-2F86418040F0}'): run(r'"jre-8u40-windows-x64.exe" /s' ) else: print("JRE 8u40 64 bits present") *else:* print("installation de JRE 7u71 32 bits") *run(r'"jre-7u71-windows-i586.exe" /s')*
Pourquoi installer la version 7.71 si le poste n'est pas un 64 bits ? Cela est volontaire ?
Cdlt.
*frédéric VOLPI <frederic.volpi@ac-nantes.fr mailto:frederic.volpi@ac-nantes.fr> écrit:* Bonjour, J'ai un soucis sur un paquet de mise à jour de java. Lorsque je teste mon paquet via PyScripter le paquet s'installe correctement en testant et désinstallant les anciennes versions par contre il me renvoie une erreur lorsque je le déploie via la console. Je joins le code en dessous, ainsi que l'erreur renvoyée. Cordialement, David MONTAIGNE
-- Frédéric volpi Administrateur Réseau Lycée LIVET NANTES 02 51 81 23 45
WAPT mailing list WAPT@lists.tranquil.it mailto:WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour,
Je me répond à moi même après avoir trouvé la solution : La commande wapt-scanpackage n'est pas lancée automatiquement à l'upload d'un paquet. Il faut la configurer explicitement dans le fichier wapt-get.ini à l'aide de la directive "after_upload", tel que décrit ici : http://dev.tranquil.it/wiki/WAPT_-_Fichier_wapt-get.ini
Le 17/03/2015 09:43, Bastien HERMITTE a écrit :
Bonjour,
J'ai suivi cette doc pour ajouter une icône à mon paquet : http://dev.tranquil.it/wiki/WAPT_-_Rajouter_un_icone_au_paquet Mais une fois le paquet construit et uploadé sur le serveur, j'ai toujours l'icône point d'interrogation bleu sur l'interface 127.0.0.1:8088/list. J'ai loupé quelque chose ?
Merci d'avance. _______________________________________________ WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour Bastien,
Je me répond à moi même après avoir trouvé la solution : La commande wapt-scanpackage n'est pas lancée automatiquement à l'upload d'un paquet. Il faut la configurer explicitement dans le fichier wapt-get.ini à l'aide de la directive "after_upload", tel que décrit ici : http://dev.tranquil.it/wiki/WAPT_-_Fichier_wapt-get.ini
normalement cette directive after_upload ne devrait plus être utilisée avec un serveur wapt récent. Elle était en place auparavant quand l'upload de paquet se passait avec WinSCP (ça nous rappelle qu'il faudrait mettre à jour les documentations :-)
Avec une version récente, la commande wapt-get build-upload fait un POST http vers le serveur en python qui copie le fichier au bon endroit et après lance directement la commande wapt-scanpackages.py. Si elle n'est pas lancé correctement, ça doit être un bug.
Vous utilisez la version du serveur WAPT sous Linux ou bien sous Windows? Lors de l'exécution de wapt-scanpackage, normalement le script extrait l'icône du paquet pour le mettre dans le répertoire /var/www/wapt/icons/ (sous linux) pour qu'il soit directement accessible par le navigateur.
Par contre, au niveau du service wapt, les icônes qui sont affichées dans la page web ont du être téléchargé au préalable localement dans le répertoire c:\wapt\cache\icons lors d'une mise à jour des listings de paquets.
Cordialement,
Denis
Le 17/03/2015 09:43, Bastien HERMITTE a écrit :
Bonjour,
J'ai suivi cette doc pour ajouter une icône à mon paquet : http://dev.tranquil.it/wiki/WAPT_-_Rajouter_un_icone_au_paquet Mais une fois le paquet construit et uploadé sur le serveur, j'ai toujours l'icône point d'interrogation bleu sur l'interface 127.0.0.1:8088/list. J'ai loupé quelque chose ?
Merci d'avance. _______________________________________________ WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt