<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
I have python, but not python QT, as far as I know. It doesn't show up in my installed programs list (windows xp), so unless it came bundled with the QGIS installer then no.<br><br>Should I install it?<br>Michael<br><br><hr size="2" width="100%">> Date: Tue, 10 May 2011 13:46:32 -0700<br>> From: Matt C <mattwigway@gmail.com><br>> <br>> Yes, setting the projection to Google Mercator (EPSG:900913) is very <br>> important (you can use the "Enable 'on the fly' CRS transformation" box <br>> to reproject your data, assuming the projection for your data is set <br>> correctly). This error looks like a QT problem, though. Do you have <br>> qt-python installed?<br>> -Matt<br>> <br>> On 05/10/2011 03:19 AM, Michael Spencer wrote:<br>> > I find it quite temperamental (v1.6), but generally only if I have <br>> > data already loaded that is in a different projection. Starting a <br>> > project using google mercator seems to be fine. Although often after <br>> > adding the data I have to drag the map about before it refreshes and <br>> > then it zooms out to the whole world.<br>> ><br>> > Michael<br>> ><br><hr size="2" width="100%">> > > Date: Tue, 10 May 2011 08:50:50 +0100<br>> > ><br>> > > Noticed openlayers plugin stopped working some time ago but even <br>> > after reinstalling it still does not work in qgis1.6 or 1.7. Had used <br>> > it quite happily with previous versions of qgis and indeed these versions.<br>> > ><br>> > > An error has occured while executing Python code:<br>> > ><br>> > > Traceback (most recent call last):<br>> > > File "C:/Documents and <br>> > Settings/med4/.qgis/python/plugins\openlayers\openlayers_plugin.py", <br>> > line 95, in setVisible<br>> > > self.__initGui()<br>> > > File "C:/Documents and <br>> > Settings/med4/.qgis/python/plugins\openlayers\openlayers_plugin.py", <br>> > line 82, in __initGui<br>> > > self.__setDocWidget()<br>> > > File "C:/Documents and <br>> > Settings/med4/.qgis/python/plugins\openlayers\openlayers_plugin.py", <br>> > line 78, in __setDocWidget<br>> > > self.__oloWidget = OpenLayersOverviewWidget(self.__iface, <br>> > self.__dockwidget, self.__olLayerTypeRegistry)<br>> > > File "C:/Documents and <br>> > Settings/med4/.qgis/python/plugins\openlayers\openlayers_ovwidget.py", <br>> > line 82, in __init__<br>> > > self.__init()<br>> > > File "C:/Documents and <br>> > Settings/med4/.qgis/python/plugins\openlayers\openlayers_ovwidget.py", <br>> > line 91, in __init<br>> > > proxy = getProxy()<br>> > > File "C:/Documents and <br>> > Settings/med4/.qgis/python/plugins\openlayers\tools_network.py", line <br>> > 34, in getProxy<br>> > > elif proxyType in ["4","HttpCachingProxy"] and QT_VERSION >= <br>> > 0X040400: proxy.setType(QtNetwork.QNetworkProxy.HttpCachingProxy)<br>> > > NameError: global name 'QT_VERSION' is not defined<br>> > ><br>> > > Python version:<br>> > > 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]<br>> > ><br>> > ><br>> > > QGIS version:<br>> > > 1.7.0-Trunk Trunk, 15229<br>> > ><br>> > > Python path: ['C:/OSGeo4W/apps/qgis-dev/./python', 'C:/Documents and <br>> > Settings/med4/.qgis/python', 'C:/Documents and <br>> > Settings/med4/.qgis/python/plugins', <br>> > 'C:/OSGeo4W/apps/qgis-dev/./python/plugins', <br>> > 'C:\\OSGeo4W\\bin\\python25.zip', 'C:\\OSGeo4W\\apps\\Python25\\DLLs', <br>> > 'C:\\OSGeo4W\\apps\\Python25\\lib', <br>> > 'C:\\OSGeo4W\\apps\\Python25\\lib\\plat-win', <br>> > 'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk', <br>> > 'C:\\OSGeo4W\\apps\\qgis-dev\\bin', 'C:\\OSGeo4W\\apps\\Python25', <br>> > 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages', <br>> > 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32', <br>> > 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib', <br>> > 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin', <br>> > 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode', <br>> > 'C:\\Documents and <br>> > Settings\\med4\\.qgis\\python\\plugins\\fTools\\tools', 'C:\\Documents <br>> > and Settings\\med4\\.qgis\\python\\plugins\\mmqgis/forms']<br>> > ><br> </body>
</html>