Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QMS installs, but can't be turned on #161

Closed
simgislab opened this issue Apr 11, 2018 · 4 comments
Closed

QMS installs, but can't be turned on #161

simgislab opened this issue Apr 11, 2018 · 4 comments
Assignees
Labels

Comments

@simgislab
Copy link
Member

QGIS3 is on the same machine and QMS works fine on it.

Не удалось загрузить модуль quick_map_services из-за ошибки при вызове его метода initGui() 

UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128) 
Traceback (most recent call last):
  File "C:/OSGeo4w/apps/qgis-ltr/./python\qgis\utils.py", line 342, in startPlugin
    plugins[packageName].initGui()
  File "C:/Users/Sim/.qgis2/python/plugins\quick_map_services\quick_map_services.py", line 121, in initGui
    self.init_server_panel()
  File "C:/Users/Sim/.qgis2/python/plugins\quick_map_services\quick_map_services.py", line 311, in init_server_panel
    self.server_toolbox = QmsServiceToolbox(self.iface)
  File "C:/Users/Sim/.qgis2/python/plugins\quick_map_services\qms_service_toolbox.py", line 153, in __init__
    self.add_last_used_services()
  File "C:/Users/Sim/.qgis2/python/plugins\quick_map_services\qms_service_toolbox.py", line 247, in add_last_used_services
    image_qByteArray
  File "C:/Users/Sim/.qgis2/python/plugins\quick_map_services\qms_service_toolbox.py", line 357, in __init__
    self.service_name.setText(u"    {} ".format(geoservice.get('name', u"")))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)


Версия Python: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] 
Версия: 2.18.18 Las Palmas, b33566195a 

Расположение Python:
C:/OSGeo4w/apps/qgis-ltr/./python/plugins\processing
C:/OSGeo4w/apps/qgis-ltr/./python
C:/Users/Sim/.qgis2/python
C:/Users/Sim/.qgis2/python/plugins
C:/OSGeo4w/apps/qgis-ltr/./python/plugins
C:\OSGeo4w\bin\python27.zip
C:\OSGeo4w\apps\Python27\DLLs
C:\OSGeo4w\apps\Python27\lib
C:\OSGeo4w\apps\Python27\lib\plat-win
C:\OSGeo4w\apps\Python27\lib\lib-tk
C:\OSGeo4w\bin
C:\OSGeo4w\apps\Python27
C:\OSGeo4w\apps\Python27\lib\site-packages
C:\OSGeo4w\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
C:\OSGeo4w\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
C:/Users/Sim/.qgis2//python
@simgislab
Copy link
Member Author

same problem on Ubuntu

@drnextgis
Copy link
Member

drnextgis commented Apr 19, 2018

All works fine here on Windows Server 2008 R2 with NGQ 18.4.

@simgislab
Copy link
Member Author

works fine on NGQ 18.4

@alisovenko
Copy link
Contributor

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants