Page MenuHomePhabricator

Python Wrapping does not work when wrapped classes were changed
Closed, ResolvedPublic

Description

http://cdash.mitk.org/viewBuildError.php?buildid=665496

/home/mbiuser/mitkdc/MITK-sb-R-c/MITK-build/Wrapping/Python/MITKPYTHON_wrap.cxx: In function ‘PyObject* _wrap_IOUtil_LoadImage(PyObject*, PyObject*, PyObject*)’:
/home/mbiuser/mitkdc/MITK-sb-R-c/MITK-build/Wrapping/Python/MITKPYTHON_wrap.cxx:52190:14: error: ‘LoadImage’ is not a member of ‘mitk::IOUtil’
     result = mitk::IOUtil::LoadImage((std::string const &)*arg1,(mitk::IOUtil::ReaderOptionsFunctorBase const *)arg2);
              ^
/home/mbiuser/mitkdc/MITK-sb-R-c/MITK-build/Wrapping/Python/MITKPYTHON_wrap.cxx: In function ‘PyObject* _wrap_IOUtil_LoadSurface(PyObject*, PyObject*, PyObject*)’:
/home/mbiuser/mitkdc/MITK-sb-R-c/MITK-build/Wrapping/Python/MITKPYTHON_wrap.cxx:52237:14: error: ‘LoadSurface’ is not a member of ‘mitk::IOUtil’
     result = mitk::IOUtil::LoadSurface((std::string const &)*arg1,(mitk::IOUtil::ReaderOptionsFunctorBase const *)arg2);
              ^
/home/mbiuser/mitkdc/MITK-sb-R-c/MITK-build/Wrapping/Python/MITKPYTHON_wrap.cxx: In function ‘PyObject* _wrap_IOUtil_LoadPointSet(PyObject*, PyObject*, PyObject*)’:
/home/mbiuser/mitkdc/MITK-sb-R-c/MITK-build/Wrapping/Python/MITKPYTHON_wrap.cxx:52284:14: error: ‘LoadPointSet’ is not a member of ‘mitk::IOUtil’
     result = mitk::IOUtil::LoadPointSet((std::string const &)*arg1,(mitk::IOUtil::ReaderOptionsFunctorBase const *)arg2);

Event Timeline

kislinsk created this task.
kislinsk moved this task from Backlog to Blocking v2018.04 on the MITK (2018-04) board.

The methods above were removed in a recent commit. Python Wrapping still tries to wrap them on the Ubuntu dart client, though. I guess this will be an issue rather often when classes were changed and it should be fixed urgently.