Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.lang.python > #3668

Re: Problème d'importation de model

Path csiph.com!aioe.org!Faqf6A55NG1s8DSVkh3L9A.user.46.165.242.75.POSTED!not-for-mail
From Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid>
Newsgroups fr.comp.lang.python
Subject Re: Problème d'importation de model
Date Mon, 06 Dec 2021 13:29:54 +0100
Organization Université de Strasbourg
Message-ID <87wnkhrk59.fsf@universite-de-strasbourg.fr.invalid> (permalink)
References <vLydnQmH5LMndjD8nZ2dnUU798zNnZ2d@giganews.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
Injection-Info gioia.aioe.org; logging-data="53171"; posting-host="Faqf6A55NG1s8DSVkh3L9A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
X-Notice Filtered by postfilter v. 0.9.2
Cancel-Lock sha1:fUZvBmEFVnL9tenMCdIicvyOcZs=
Xref csiph.com fr.comp.lang.python:3668

Show key headers only | View raw


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 | NextPrevious in thread | Find similar


Thread

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