IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Scripts/Batch Discussion :

bug dans batch [Batch]


Sujet :

Scripts/Batch

  1. #1
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Juillet 2017
    Messages
    337
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Vienne (Poitou Charente)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2017
    Messages : 337
    Points : 61
    Points
    61
    Par défaut bug dans batch
    Bonjour,
    j'ai un fichier BATCH avec comme contenu :
    magick out.tif -crop 72x74+319+92 +repage ftxt: > cielab.txt

    et le contenu de cielab.txt est :

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 72x74+319+92 +repage ftxt:

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 72x74+319+92 +repage ftxt:

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 72x74+319+92 +repage ftxt:

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 72x74+319+92 +repage ftxt:

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 72x74+319+92 +repage ftxt:

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 72x74+319+92 +repage ftxt:

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 72x74+319+92 +repage ftxt:

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 72x74+319+92 +repage ftxt:

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 72x74+319+92 +repage ftxt:

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 72x74+319+92 +repage ftxt:

    et ça boucle à l'infini

    merci de m'aider !

    ça me le fait aussi avec d'autres commandes mais pas toutes

  2. #2
    Membre éprouvé
    Homme Profil pro
    Développeur .NET en devenir
    Inscrit en
    Août 2017
    Messages
    546
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 45
    Localisation : France, Moselle (Lorraine)

    Informations professionnelles :
    Activité : Développeur .NET en devenir
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Août 2017
    Messages : 546
    Points : 1 084
    Points
    1 084
    Par défaut
    Bonjour,

    D'après la documentation, tu devrais rajouter le paramètre -debug si tu souhaites créer un log avec certains événements :
    https://imagemagick.org/script/comma...ions.php#debug

    Tu peux aussi éventuellement utiliser en complément le paramètre -log

  3. #3
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Juillet 2017
    Messages
    337
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Vienne (Poitou Charente)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2017
    Messages : 337
    Points : 61
    Points
    61
    Par défaut
    ça me met tout simplement une suite de lignes avec le -debug en plus
    je pense que ça ne vient pas d'imagemagick mais de batch

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 77x69+473+92 +repage ftxt: -debug

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 77x69+473+92 +repage ftxt: -debug

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 77x69+473+92 +repage ftxt: -debug

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 77x69+473+92 +repage ftxt: -debug

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 77x69+473+92 +repage ftxt: -debug

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 77x69+473+92 +repage ftxt: -debug

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 77x69+473+92 +repage ftxt: -debug

    C:\Users\Sylvain ARD\Dropbox\Documents Sylvain\autoentrepreneur\Contrats\Projet couleurs\PROGRAMME\Delphi\Win32\Debug>magick out.tif -crop 77x69+473+92 +repage ftxt: -debug

  4. #4
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Juillet 2017
    Messages
    337
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Vienne (Poitou Charente)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2017
    Messages : 337
    Points : 61
    Points
    61
    Par défaut
    ah j'ai trouvé en fait mon batch s'appelait magick.bat donc il se rappelait lui-même en boucle infinie, maintenant que je l'ai renommé ça marche

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Bug dans le TCheckListBox ?
    Par Tardiff Jean-François dans le forum Composants VCL
    Réponses: 6
    Dernier message: 04/11/2004, 08h39
  2. installation cachée dans batch
    Par zorian dans le forum Windows
    Réponses: 5
    Dernier message: 24/05/2004, 19h50
  3. Bug dans les expressions régulières ?
    Par SergioF dans le forum Linux
    Réponses: 8
    Dernier message: 12/05/2004, 15h14
  4. [PROPERTIES] Bug dans java.util.Properties ?
    Par mathieu dans le forum Collection et Stream
    Réponses: 6
    Dernier message: 28/04/2004, 15h11
  5. bug dans une base Access
    Par bizouard dans le forum Access
    Réponses: 5
    Dernier message: 29/12/2003, 12h41

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo