[Qgis-user] Problems installing OpenLayers Plugin

José Carlos Guerrero Antúnez jcgantunez at gmail.com
Wed Aug 15 19:40:02 PDT 2018


Hi,

I have this error message when I want to install the OpenLayer plugin,
although it seems that it is installed does not work correctly. I have
tried uninstalling and re-installing the plugin but the problem persists.

OSX 10.13.6 MacOS High Sierra

Versión de Python: 2.7.10 (default, Oct  6 2017, 22:29:07) [GCC 4.2.1
Compatible Apple LLVM 9.0.0 (clang-900.0.31)]
Versión de QGIS: 2.18.22 Las Palmas, exported

--------------------------------------------------------------------------------------------
Error Message:

TypeError: setHostName(self, QString): argument 1 has unexpected type
'QPyNullVariant'

Traceback (most recent call last):
  File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 342, in startPlugin
    plugins[packageName].initGui()
  File
"/Users/joseca/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py",
line 156, in initGui
    self.setGDALProxy()
  File
"/Users/joseca/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py",
line 316, in setGDALProxy
    proxy = getProxy()
  File
"/Users/joseca/.qgis2/python/plugins/openlayers_plugin/tools_network.py",
line 40, in getProxy
    proxy.setHostName(settings.value("/proxyHost"))
TypeError: setHostName(self, QString): argument 1 has unexpected type
'QPyNullVariant'
----------------------------------------------------------------------------------------

What can I do to fix this problem?


Regards,

-- 
José Carlos Guerrero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180815/98e4a6e6/attachment.html>


More information about the Qgis-user mailing list