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

UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position 58: illegal multibyte sequence #129

Open
Tonynovtop opened this issue Apr 13, 2022 · 4 comments
Labels

Comments

@Tonynovtop
Copy link

Hello,
I got an UnicodeDecodeError error when i use the 'Convert Esri style to QGIS style xml' of SLYR in QGIS.
the detial information of error is:
2022-04-13T19:47:46 WARNING Traceback (most recent call last):
File "D:\OSGeo4W/apps/qgis-ltr/./python/plugins\processing\gui\ProcessingToolbox.py", line 241, in executeAlgorithm
ok, message = alg.canExecute()
File "C:\Users/yiwuz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\slyr_community\qgis_plugin\algorithms\style_to_gpl.py", line 81, in canExecute
if not Extractor.is_mdb_tools_binary_available():
File "C:\Users/yiwuz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\slyr_community\bintools\extractor.py", line 149, in is_mdb_tools_binary_available
for line in proc.stdout:
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position 58: illegal multibyte sequence

QGIS veriosn: 3.16.16
Python:3.9
Platform:windows 10
mdbtools:https://github.com/lsgunth/mdbtools-win
SLYR: installed from QGIS plugin.
I have set 'Settings -> Options -> SLYR -> set-MDB-tools-path'.

image

@Tonynovtop Tonynovtop added the bug label Apr 13, 2022
@nyalldawson
Copy link
Collaborator

Can you share the document you are trying to convert?

@Tonynovtop
Copy link
Author

Tonynovtop commented Apr 14, 2022

@nyalldawson of course,here is the file:test.zip,but i think the source of the problem is not in this ducument,because the error happened before i entered the process panel of "Convert ESRI style to QGIS style xml".

@nyalldawson
Copy link
Collaborator

OK, this one is working fine in the licensed SLYR version, so you'll need to wait for the next drop of functionality from the licensed to community version to land.

@Tonynovtop
Copy link
Author

OK,thank you for your reply.

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

2 participants