← Back to team overview

yade-dev team mailing list archive

[Bug 539562] [NEW] Some coverters from std::vector<type> to python broken

 

Public bug reported:

Converters defined in py/yadeWrapper/customConverters.cpp seem not to be
picked up by boost::python (although they used to). Simple test:

f=utils.facet([[0,0,0],[1,1,1],[2,2,2]])
f.shape.vertices

TypeError: No Python class registered for C++ class
std::vector<Wm3::Vector3<double>, std::allocator<Wm3::Vector3<double> >
>

** Affects: yade
     Importance: High
     Assignee: Václav Šmilauer (eudoxos)
         Status: Confirmed


** Tags: regression

** Changed in: yade
   Importance: Undecided => High

** Changed in: yade
       Status: New => Confirmed

** Changed in: yade
     Assignee: (unassigned) => Václav Šmilauer (eudoxos)

-- 
Some coverters from std::vector<type> to python broken
https://bugs.launchpad.net/bugs/539562
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: Confirmed

Bug description:
Converters defined in py/yadeWrapper/customConverters.cpp seem not to be picked up by boost::python (although they used to). Simple test:

f=utils.facet([[0,0,0],[1,1,1],[2,2,2]])
f.shape.vertices

TypeError: No Python class registered for C++ class std::vector<Wm3::Vector3<double>, std::allocator<Wm3::Vector3<double> > >





Follow ups

References