[Qgis-developer] OpenlayersPlugin QGIS

Marica Landini bulma at ferrara.linux.it
Thu Oct 1 03:24:32 PDT 2015


Hi,
I need to use OpenlayersPlugin QGIS behind proxy network.
But I need to use defaultproxy settings configuration.

QGIS works fine with this defaultproxy settings
(also connection to wms/etc...
reading plugin list and download it).

But (with the defaultproxy settings) I can not work with OpenlayersPlugin
QGIS
that return:
TypeError: unable to convert a QVariant of type 10 to a QMetaType of type 2

I can instead use this plugin with http proxy and setting manually the
configuration (Settings->Options->Network)

I have tryed to modify OpenlayersPlugin tool_network.py
commenting setHostName/setPort/setUser/setPassword
and using
QNetworkProxy.setApplicationProxy(QNetworkProxy(QNetworkProxy.DefaultProxy))
obvious I do not get TypeError,
but the plugin not work properly (e.g. I do not get OSM layer).

How can I resolve this problem?
There is another plugin that works with default (machine) proxy settings?
(apologies for my english)...

Cheers,
Marica

-- 
Ti prego di cercare di non inviarmi files .doc, .xls, .ppt, .dwg
Preferisco formati liberi.
Please try to avoid to send me .doc, .xls, .ppt, .dwg files.
I prefer free formats.
http://it.wikipedia.org/wiki/Formato_aperto
http://en.wikipedia.org/wiki/Open_format

Marica Landini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151001/6b72a250/attachment.html>


More information about the Qgis-developer mailing list