Nyall Dawson wrote
> Wouldn't that cause a ton of other errors though? It's used pretty
> heavily all throughout QGIS, and there's many other sip classes
> relying on it...
That was my thought. I've certainly never come across the error before, and
since the plugin basically queries the hell out o
Matthias Kuhn-2 wrote
> The good news: This can be fixed, I've just fixed it in master [1].
> Please let me know if you need this backported and where to (so you can
> test).
Brilliant - many thanks. I'd argue for a backport to LTR. I claim
compatibility back to 2.8, but I'm perfectly happy to dro
Hi Jürgen,
On 10/17/2016 10:50 AM, Jürgen E. Fischer wrote:
> Hi Matthias,
>
> On Mon, 17. Oct 2016 at 10:36:58 +0200, Matthias Kuhn wrote:
>> I had the same thoughts. And no final explanation.
>
> Or it's simply a bogus pointer that doesn't point at anything with RTTI
> (anymore)?
True. The sa
Hi Matthias,
On Mon, 17. Oct 2016 at 10:36:58 +0200, Matthias Kuhn wrote:
> I had the same thoughts. And no final explanation.
Or it's simply a bogus pointer that doesn't point at anything with RTTI
(anymore)?
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-
On 10/17/2016 10:28 AM, Nyall Dawson wrote:
> On 17 October 2016 at 18:24, Matthias Kuhn wrote:
>> Hi Tom,
>>
>> RTTI is some low-level C++ functionality to determine an objects type
>> (roughly equivalent to `type(myobject)` in python). It can be enabled
>> and disabled during compilation. Appare
On 17 October 2016 at 18:24, Matthias Kuhn wrote:
> Hi Tom,
>
> RTTI is some low-level C++ functionality to determine an objects type
> (roughly equivalent to `type(myobject)` in python). It can be enabled
> and disabled during compilation. Apparently it was disabled on your QGIS
> build.
Wouldn'
Hi Tom,
RTTI is some low-level C++ functionality to determine an objects type
(roughly equivalent to `type(myobject)` in python). It can be enabled
and disabled during compilation. Apparently it was disabled on your QGIS
build.
The bad news: QGIS uses this information to determine which type of
s
So RTTI is info about object data types at runtime? Is the print unable to
determine the symbollayer or symbollayerlist (or whatever the latter is)
type? Why?
Obviously, my aim is not to print, but to use the data. However, the error
occurred before I used print to investigate the problem.
Can
OK, I didn't have the code which causes it quite right:
if isinstance(layer.rendererV2(), QgsCategorizedSymbolRendererV2):
symbol = layer.rendererV2().categories()[0].symbol()
print symbol.symbolLayerCount()
Outputs 1
However:
if isinstance(layer.rendererV2(), QgsCategorizedSymbolRend
Sure:
if isinstance(layer.rendererV2(), QgsCategorizedSymbolRendererV2):
symbol = layer.rendererV2().categories()[0].symbol()
It's here:
https://github.com/tomchadwin/qgis2web/blob/leafletRefactor/leafletScriptStrings.py#L376
To recreate:
1. Install the qgis2web leafletRefactor branch from
2016-10-15 13:05 GMT+02:00 Tom Chadwin :
> What on earth does that mean when running a Python plugin?
>
... referenced to what ? Can you send us an example of your code ?
Thank you
geo
>
> Thanks
>
> Tom
>
>
>
> -
> Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon
> --
> Vi
11 matches
Mail list logo