Open dtvkoe opened 6 years ago
Issue is occurring on QGis 3.4* version as well - Specifically working with the
OpenLayers Plugin - Bing Roads
An error has occurred while executing Python code:
TypeError: writeXml() takes 3 positional arguments but 4 were given
TypeError: writeXml() takes 3 positional arguments but 4 were given
Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS version: 3.4.1-Madeira Madeira, 383851c597
Python Path:
C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python
C:/Users/nomd/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/nomd/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins
C:\PROGRA~1\QGIS3~1.4\bin\python37.zip
C:\PROGRA~1\QGIS3~1.4\apps\Python37\DLLs
C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib
C:\PROGRA~1\QGIS3~1.4\bin
C:\PROGRA~1\QGIS3~1.4\apps\Python37
C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages
C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\win32
C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\Pythonwin
C:/Users/nomd/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/nomd/qgis
I can confirm this for 3.6 under Ubuntu 18.04 as well. It looks like the problem originates in the OpenLayer plugin.
An error has occurred while executing Python code:
TypeError: writeXml() takes 3 positional arguments but 4 were given
TypeError: writeXml() takes 3 positional arguments but 4 were given
Python version: 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0]
QGIS version: 3.6.2-Noosa Noosa, 656500e
Python Path:
/usr/share/qgis/python
/home/ovidiu/.local/share/QGIS/QGIS3/profiles/default/python
/home/ovidiu/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python36.zip
/usr/lib/python3.6
/usr/lib/python3.6/lib-dynload
/usr/local/lib/python3.6/dist-packages
/usr/lib/python3/dist-packages
/home/ovidiu/.local/share/QGIS/QGIS3/profiles/default/python
I have seen this as well with QGIS 3.6.2-Noosa on Windows 10.
I have this problem with QGIS 3.10.7 on Window 10 too.
If the project contains a layer that is based on a javascript API, saving the QGIS project file is not possible anymore.
While pressing on the save button the following python error occurs:
QGIS remembers the project file as saved but after opening the project file again a javascript api based layer is gone.
I've encountered this problem when loading "Google Streets" and "Bing Roads" layer.
This problem doesn't occur when adding layers like "OpenStreetMap" which are not javascript base.
I also don't have this problem when using QGIS 2.18.22.