Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > fr.comp.lang.python > #3668
| From | Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> |
|---|---|
| Newsgroups | fr.comp.lang.python |
| Subject | Re: Problème d'importation de model |
| Date | 2021-12-06 13:29 +0100 |
| Organization | Université de Strasbourg |
| Message-ID | <87wnkhrk59.fsf@universite-de-strasbourg.fr.invalid> (permalink) |
| References | <vLydnQmH5LMndjD8nZ2dnUU798zNnZ2d@giganews.com> |
Tornado09 <nospam_thierry.branchelot@sfr.fr.invalid> writes: [...] > AttributeError: 'panda3d.core.NodePath' object has no attribute 'reparenTo' Je t'explique comment j'ai fait pour te répondre : - le message dit que "reparenTo" n'est pas un attribut (ou une méthode) connu(e) de la classe panda3d.core.NodePath - je cherche la doc de cette classe : effectivement, il n'y a rien qui s'appelle comme ça - en cherchant un peu, je trouve qu'il existe une méthode appelée "reparent_to" Donc mon hypothèse est qu'il y a eu un problème de recopie sur ce nom, si j'étais toi j'essaierais de le corriger. (En règle générale, rares sont les noms qui ne sont pas formés de mots du dictionnaire.) Note que je n'ai pas le moindre idée de ce doit faire ce code, je me trompe peut être complètement sur le problème. -- Alain.
Back to fr.comp.lang.python | Previous | Next — Previous in thread | Find similar
Probl�me d'importation de model Tornado09 <nospam_thierry.branchelot@sfr.fr.invalid> - 2021-12-06 04:53 -0600 Re: Problème d'importation de model Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2021-12-06 13:29 +0100
csiph-web