[C++-sig] to_python_converter error question ...

Pierre Barbier de Reuille pierre.barbier at cirad.fr
Wed Sep 10 13:30:39 CEST 2003


When I try to import a module I made, I have the error :

RuntimeError: trying to register to_python_converter for a type which 
already has a registered to_python_converter

But when I re-import it, it just works ... is it normal ??? Then another 
question : how to know which converter is duplicated ?
Is it possible to trace what python do when importing ?

Thanks,

-- 
Pierre Barbier de Reuille

INRA - UMR Cirad/Inra/Cnrs/Univ.MontpellierII AMAP
Botanique et Bio-informatique de l'Architecture des Plantes
TA40/PSII, Boulevard de la Lironde
34398 MONTPELLIER CEDEX 5, France

tel   : (33) 4 67 61 65 77    fax   : (33) 4 67 61 56 68 






More information about the Cplusplus-sig mailing list