Bug report #20924
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 5178-5179: invalid continuation byte
Status: | Rejected | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Python bindings / sipify | ||
Affected QGIS version: | 3.4.2 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | invalid |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 28743 |
Description
description¶
I compiled QGIS ,but can't run it by python.
Building Info:¶
compiler:VS2015
QGIS Version:3.4.2
QT Version:5.11.2.0
Python Version:3.7
OS:Windows 10 x64
locale: ZH-hans
Error Info:¶
from qgis.core import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\OSGeo4W64\apps\qgis-test\python\qgis\__init__.py", line 80, in <module>
import qgis.gui
File "D:\OSGeo4W64\apps\qgis-test\python\qgis\gui\__init__.py", line 27, in <module>
from qgis._gui import *
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 5178-5179: invalid continuation byte
History
#1
Updated by Nyall Dawson over 5 years ago
- Resolution set to invalid
- Status changed from Open to Rejected
This is not a qgis issue, it's an issue with your build environment. Better to ask on stackexchange or the qgis-dev list.