[Qgis-developer] Python error after digitizing branch merge

Marco Hugentobler marco.hugentobler at karto.baug.ethz.ch
Wed Jan 9 12:33:20 EST 2008


Hi Tim,

Is that after the latest merge commit?
For me, it compiles but python bindings don't load when starting qgis. I tried 
to use the python console to find out why (as described in 
http://wiki.qgis.org/qgiswiki/PythonBindings), but didn't succeed. What is 
the PYTHONPATH I have to set? <qgisprefix>/python ?

Regards,
Marco

Am Mittwoch 09 Januar 2008 17:58:54 schrieb Tim Sutton:
> Hi Marco
>
> Congratulations on being the first to get your branch merged in for
> the feature freeze :-) I get the following when trying to build on mac
> with python bindings:
>
> sipguiQgsRubberBand.cpp: In function 'PyObject*
> meth_QgsRubberBand_size(PyObject*, PyObject*)':
> sipguiQgsRubberBand.cpp:1892: error: 'class QgsRubberBand' has no
> member named 'size'
> sipguiQgsRubberBand.cpp: In function 'PyObject*
> meth_QgsRubberBand_getPoints(PyObject*, PyObject*)':
> sipguiQgsRubberBand.cpp:1919: error: 'class QgsRubberBand' has no
> member named 'getPoints'
> sipguiQgsRubberBand.cpp: In function 'PyObject*
> meth_QgsRubberBand_getPoint(PyObject*, PyObject*)':
> sipguiQgsRubberBand.cpp:1949: error: 'class QgsRubberBand' has no
> member named 'getPoint'
> make[3]: *** [sipguiQgsRubberBand.o] Error 1
> make[2]: *** [python/gui/gui.so] Error 2
> make[1]: *** [python/CMakeFiles/python.dir/all] Error 2
> make: *** [all] Error 2
>
> Peter Ersts reported similar issue on IRC (running Linux I think).
>
> Regards



-- 
Dr. Marco Hugentobler
Institute of Cartography
ETH Zurich
Technical Advisor QGIS Project Steering Committee



More information about the Qgis-developer mailing list