[Qgis-developer] Compilation core.sip syntax error and ImportError: dynamic module does not define init function
Radim Blazek
radim.blazek at gmail.com
Tue Oct 1 04:07:34 PDT 2013
On Wed, Jun 12, 2013 at 11:09 AM, Jürgen E. <jef at norbit.de> wrote:
> Hi Nathan,
>
> On Wed, 12. Jun 2013 at 18:03:57 +1000, Nathan Woodrow wrote:
>> 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.
>
> Also affects lucid - see also 0f3f440cdf0f194c5c1558b936b9058924a324c8
If I revert 61e101dd4 and 597c4028 it compiles, but QGIS gives on start
ProcessingToolbox.py", line 57, in __init__
useCategories = settings.value(self.USE_CATEGORIES, type = bool)
TypeError: QSettings.value(QString, QVariant defaultValue=QVariant()):
'type' is not a valid keyword argument
so it seems that keyword_arguments="Optional" in Module definition is
now necessary but it is not supported by SIP 4.10.2. The fix by Jef
0f3f440cd fixes compilation, but did somebody try if it also works?
For me it does not.
In any case, the fix is only applied if compiled as Debian package,
would it be possible to do it conditional in .sip files according to
SIP version?
Radim
>
>
> Jürgen
>
>
> --
> Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
> Software Engineer D-26506 Norden http://www.norbit.de
> committ(ed|ing) to Quantum GIS IRC: jef on FreeNode
>
> --
> norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
> Rheinstrasse 13, 26506 Norden
> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list