_tkinter.TclError: wrong # args: should be ".!text3 insert i
Résolu/Fermé
A voir également:
- _tkinter.tclerror: cannot use geometry manager grid inside .!frame which already has slaves managed by pack
- _tkinter.tclerror: image "pyimage2" doesn't exist - Forum Python
- _tkinter.tclerror: invalid command name ".!entry" ✓ - Forum Python
- Self.tk.call(('image', 'create', imgtype, name,) + options) _tkinter.tclerror: couldn't recognize data in image file ✓ - Forum Python
- _tkinter.tclerror: couldn't recognize data in image file - Forum Python
- _tkinter.tclerror: cannot use geometry manager grid inside . which already has slaves managed by pack - Forum Python
2 réponses
yg_be
Messages postés
22731
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
27 avril 2024
1 477
20 janv. 2023 à 19:25
20 janv. 2023 à 19:25
bonjour,
Peux-tu partager un programme que nous puissions tester? Donc, soit tu simplifies ton programme pour qu'il n'utilise pas de fichier, soit tu partages aussi les fichiers.
https://www.mediafire.com/folder/8mudtbxv0i0zg/Partage_CCM
yg_be
Messages postés
22731
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
27 avril 2024
1 477
21 janv. 2023 à 12:52
21 janv. 2023 à 12:52
Ton fichier ProjIKOS.Sauve après chargement via pickle, ne contient qu'une chaine, "Erreur".
Du coup, erreur à la ligne 392.
L'as-tu testé?
Pr.Witherfire
>
yg_be
Messages postés
22731
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
27 avril 2024
21 janv. 2023 à 16:26
21 janv. 2023 à 16:26
Oui mais peut importe le text normalement cela devrait marcher non? Pourquoi le text"Erreur" Ne marche t'il pas?
yg_be
Messages postés
22731
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
27 avril 2024
1 477
>
Pr.Witherfire
21 janv. 2023 à 17:11
21 janv. 2023 à 17:11
Si j'adapte le code pour éviter l'erreur à la ligne 392, tout se passe bien, aucun message d'erreur.
Pr.Witherfire
>
yg_be
Messages postés
22731
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
27 avril 2024
21 janv. 2023 à 18:13
21 janv. 2023 à 18:13
Ok merci. Du coup, il faut que j'essaye avec un try: ?
yg_be
Messages postés
22731
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
27 avril 2024
1 477
>
Pr.Witherfire
21 janv. 2023 à 19:30
21 janv. 2023 à 19:30
Je ne parviens pas à obtenir l'erreur que tu signales au départ.
21 janv. 2023 à 11:36
Ok. Les dossiers aussi avec ou juste le fichier ?