Bonjour,
J'ai un message d'erreur pour certains de mes utilisateurs lorsque le wapt-get session-setup ce lance avez-vous une idées d'ou cela pourrait venir, voici le message :
2017-06-22 18:32:23,780 CRITICAL UpgradeDB ERROR : unable to open database file, copy back backup database c:\users\tmoutoucarpin\tmp6tnbwp.sqlite
merci de votre aide et de vos idées.
Cordialement,
Bonjour Cyril, Apparemment, l'errur se passe à un changement de version Wapt. La base de données de session utilisateur ne peut pas être mise à jour. Cette mise à jour est effectuée par :
* backup de la base dans un fichier temporaire au cas où l'upgrade ne marche pas * un dump en json du contenu * drop des tables dans la base * recréation des tables avec la nouvelle structure * réimport des données Json * Si il y a un problème dans ce processus, le backup est remis à la place.
Le processus d'upgrade est lancé si la version de structure stockée dans la base de données est inférieure à la version requise, ou
Un problème d'ouverture de fichier de base de données peut se poser si 2 processus sont lancés simultanément ou si la base en elle même est corrompue ? ou problème de droits ?
On peut essayer d'ouvrir avec sqlite admin (paquet tis-sqliteadmin ...) la base %APPDATA%\wapt\waptsession.sqlite pour un utilisateur qui a le problème d'upgrade Si elle ne s'ouvre pas, on peut la renommer pour qu'une nouvelle base soit créée. Tous les scripts session_setup seront alors réexécutés une fois pour l'utilisateur.
Le message d'erreur laisse penser que wapt ne peut pas ouvrir la
Le 22/06/2017 à 18:38, Cyril CHEFDEVILLE a écrit :
Bonjour,
J'ai un message d'erreur pour certains de mes utilisateurs lorsque le wapt-get session-setup ce lance avez-vous une idées d'ou cela pourrait venir, voici le message :
2017-06-22 18:32:23,780 CRITICAL UpgradeDB ERROR : unable to open database file, copy back backup database c:\users\tmoutoucarpin\tmp6tnbwp.sqlite
merci de votre aide et de vos idées.
Cordialement,
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour Hubert,
Merci beaucoup de ta réponse cela ma bien aidé et j'ai grace a cela resolu mon problème grace à l'ouvrir avec sqlite admin (paquet tis-sqliteadmin ...) de la base %APPDATA%\wapt\waptsession.sqlite pour l'utilisateur qui avait le problème d'upgrade, elle ne s'ouvrait pas, je les donc renommer pour qu'une nouvelle base soit créée et après tous les scripts session_setup se sont alors réexécutés pour cette utilisateur.
Encore merci et bonne journée a toi.
Cordialement,
De: "Hubert TOUVET" htouvet@tranquil.it À: wapt@lists.tranquil.it Envoyé: Lundi 26 Juin 2017 09:43:11 Objet: Re: [Wapt] erreur session-setup
Bonjour Cyril, Apparemment, l'errur se passe à un changement de version Wapt. La base de données de session utilisateur ne peut pas être mise à jour. Cette mise à jour est effectuée par :
* backup de la base dans un fichier temporaire au cas où l'upgrade ne marche pas * un dump en json du contenu * drop des tables dans la base * recréation des tables avec la nouvelle structure * réimport des données Json * Si il y a un problème dans ce processus, le backup est remis à la place.
Le processus d'upgrade est lancé si la version de structure stockée dans la base de données est inférieure à la version requise, ou
Un problème d'ouverture de fichier de base de données peut se poser si 2 processus sont lancés simultanément ou si la base en elle même est corrompue ? ou problème de droits ?
On peut essayer d'ouvrir avec sqlite admin (paquet tis-sqliteadmin ...) la base %APPDATA%\wapt\waptsession.sqlite pour un utilisateur qui a le problème d'upgrade Si elle ne s'ouvre pas, on peut la renommer pour qu'une nouvelle base soit créée. Tous les scripts session_setup seront alors réexécutés une fois pour l'utilisateur.
Le message d'erreur laisse penser que wapt ne peut pas ouvrir la
Le 22/06/2017 à 18:38, Cyril CHEFDEVILLE a écrit :
Bonjour,
J'ai un message d'erreur pour certains de mes utilisateurs lorsque le wapt-get session-setup ce lance avez-vous une idées d'ou cela pourrait venir, voici le message :
2017-06-22 18:32:23,780 CRITICAL UpgradeDB ERROR : unable to open database file, copy back backup database c:\users\tmoutoucarpin\tmp6tnbwp.sqlite
merci de votre aide et de vos idées.
Cordialement,
_______________________________________________ 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
Bonjour à tous,
J'aurai besoin dans mon paquet wapt Firefox de modifié un fichier txt en rajoutant dedans une ligne de code a l'installation de celui-ci, ce fichier txt ce situe dans %APPDATA%\Mozilla\Firefox\Profiles\ et le dossier xxxxxx.default qui n'est jamais le même pour chaque utilisateurs et PC, ça fait depuis ce matin de je test plein de chose et rien n'a fonctionne.
Si quelqu'un a une petite idée ou la déjà fait je serai preneur de la solution.
Merci d'avance pour toute vos solutions.
Cordialement,
Bonjour
Plusieurs solution :
Dans le def install() vous pouvez lister tous les profiles de la machine puis traiter le fichier concernée pour chaque profiles trouvée.
Ensuite vous pouvez également traiter ce fichiers en session_setup.
Les deux méthode suppose que le profil firefox soit déjà là au moment du lancement.
Pouvez-vous nous expliquée ce que vous souhaitez faire ?
Simon
Le 29/06/2017 à 15:20, Cyril CHEFDEVILLE a écrit :
Bonjour à tous,
J'aurai besoin dans mon paquet wapt Firefox de modifié un fichier txt en rajoutant dedans une ligne de code a l'installation de celui-ci, ce fichier txt ce situe dans %APPDATA%\Mozilla\Firefox\Profiles\ et le dossier xxxxxx.default qui n'est jamais le même pour chaque utilisateurs et PC, ça fait depuis ce matin de je test plein de chose et rien n'a fonctionne.
Si quelqu'un a une petite idée ou la déjà fait je serai preneur de la solution.
Merci d'avance pour toute vos solutions.
Cordialement,
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt