[Qgis-developer] Compilation core.sip syntax error and ImportError: dynamic module does not define init function

Nathan Woodrow madmanwoo at gmail.com
Wed Jun 12 01:03:57 PDT 2013


Hey Radim,

Which platform are you on and what version of SIP do you have?  Your
version of might not support something in the header that I added.

- Nathan


On Wed, Jun 12, 2013 at 6:02 PM, Radim Blazek <radim.blazek at gmail.com>wrote:

> With latest master b287661c (but I think that it is happening since
> few commits before)  I get error when compiling python:
>
> sip: /home/radim/devel/qgis/python/core/core.sip:1: syntax error
>
> if I run make again, it gets over this error and fails on
>
> sip: /home/radim/devel/qgis/python/analysis/analysis.sip:1: syntax error
>
> and so on, syntax error in: networkanalysis.sip, gui.sip. In the end
> it compiles but when I try to run python with qgis libs or QGIS with
> python I get:
>
>     from qgis import gui
> ImportError: dynamic module does not define init function (initgui)
>
> I am not sure if it is caused by previous compilation error.
>
> What should I do?
>
> Radim
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130612/9500b915/attachment.html>


More information about the Qgis-developer mailing list