Just updated to 1.2.1 and now neither OpenLayers nor Leaflet work. Best wishes, Anita
On Thu, Mar 10, 2016 at 7:27 PM, Anita Graser <[email protected]> wrote: > Hi, > > Openlayers prints: > > Traceback (most recent call last): > File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 122, > in exportLayers > symbol = layer.rendererV2().symbolForFeature(feat) > TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext): > not enough arguments > > > ... and Leaflet prints: > > Traceback (most recent call last): > File > "C:/Users/anita/.qgis2/python/plugins\qgis2web\leafletLayerScripts.py", > line 32, in exportJSONLayer > symbol = i.rendererV2().symbolForFeature(feat) > TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext): > not enough arguments > > Reprojected0: 2.5d > > > > ... so there is this extra "Reprojected0: 2.5d" in the case Leaflet is > selected. > > Best wishes, > Anita > > > > > > On Thu, Mar 10, 2016 at 2:07 PM, Luigi Pirelli <[email protected]> wrote: > >> I never investigated this problems deeply... happen only on win, and >> seems that stdout is not available by default (=> bad file descriptor) >> >> Anita, did you check if the problem disappear with the qgis python >> console opened? >> >> cheers >> Luigi Pirelli >> >> >> ************************************************************************************************** >> * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com >> * LinkedIn: https://www.linkedin.com/in/luigipirelli >> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli >> * GitHub: https://github.com/luipir >> * Mastering QGIS: >> https://www.packtpub.com/application-development/mastering-qgis >> >> ************************************************************************************************** >> >> >> On 10 March 2016 at 13:46, Tom Chadwin <[email protected]> wrote: >> > Really? print causes an error in Windows if the console is not open? >> > >> > >> > >> > -- >> > View this message in context: >> http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5255594.html >> > Sent from the Quantum GIS - User mailing list archive at Nabble.com. >> > _______________________________________________ >> > Qgis-user mailing list >> > [email protected] >> > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user >> > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user >> _______________________________________________ >> Qgis-user mailing list >> [email protected] >> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user >> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user >> > >
_______________________________________________ Qgis-user mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
