paleolimbot / qosm

OpenStreetMaps tiles for QGIS
GNU General Public License v2.0
1 stars 1 forks source link

QAbstractButton.setChecked(bool): argument 1 has unexpected type 'unicode' #3

Open tonighx opened 6 years ago

tonighx commented 6 years ago

Une erreur est survenue lors de l'éxécution du code Python:

TypeError: QAbstractButton.setChecked(bool): argument 1 has unexpected type 'unicode' Traceback (most recent call last): File "C:/Users/ASUS/.qgis2/python/plugins\qosm\qosm.py", line 250, in qosmSettings self.settingsdialog.sync_dialog() File "C:/Users/ASUS/.qgis2/python/plugins\qosm\qosmpy\dialog_settings.py", line 41, in sync_dialog self.autoDownload.setChecked(s.get(s.AUTODOWNLOAD)) TypeError: QAbstractButton.setChecked(bool): argument 1 has unexpected type 'unicode'

Version de Python : 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] Version de QGIS : 2.18.13 Las Palmas, 8cba0bb9eb

Chemin Python : C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\processing C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python C:/Users/ASUS/.qgis2/python C:/Users/ASUS/.qgis2/python/plugins C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins C:\PROGRA~1\QGIS2~1.18\bin\python27.zip C:\PROGRA~1\QGIS2~1.18\apps\Python27\DLLs C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\plat-win C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\lib-tk C:\PROGRA~1\QGIS2~1.18\bin C:\PROGRA~1\QGIS2~1.18\apps\Python27 C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32 C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32\lib C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Pythonwin C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\wx-2.8-msw-unicode C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg C:/Users/ASUS/.qgis2//python

paleolimbot commented 6 years ago

Thanks for the update...I recommend using "Quick Map Services" instead of this plugin...it is far better implemented.

Cheers!