Notifications
Clear all
Topic starter
20/07/2021 12:53 am
Ha ocurrido un error mientras se ejecutaba el código de Python:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 2464: invalid continuation byte
Traceback (most recent call last):
File "C:/Users/USUARIO/AppData/Roaming/QGIS/QGIS3\profiles\TRUJILLO/python/plugins\giswater\core\admin\admin_btn.py", line 2344, in _execute_import_inp
self._insert_inp_into_db(self.file_inp)
File "C:/Users/USUARIO/AppData/Roaming/QGIS/QGIS3\profiles\TRUJILLO/python/plugins\giswater\core\admin\admin_btn.py", line 3020, in _insert_inp_into_db
full_file = _file.readlines()
File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 2464: invalid continuation byte
Versión de Python: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
Versión de QGIS: 3.16.8-Hannover Hannover, 8c50902ea4
Ruta de Python:
- C:/PROGRA~1/QGIS3~1.16/apps/qgis-ltr/./python
- C:/Users/USUARIO/AppData/Roaming/QGIS/QGIS3\profiles\TRUJILLO/python
- C:/Users/USUARIO/AppData/Roaming/QGIS/QGIS3\profiles\TRUJILLO/python/plugins
- C:/PROGRA~1/QGIS3~1.16/apps/qgis-ltr/./python/plugins
- C:\PROGRA~1\QGIS3~1.16\apps\Python37
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\Scripts
- C:\Program Files\QGIS 3.16\bin\python37.zip
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\DLLs
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib
- C:\Program Files\QGIS 3.16\bin
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\win32
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\win32\lib
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\Pythonwin
- C:/Users/USUARIO/AppData/Roaming/QGIS/QGIS3\profiles\TRUJILLO/python
- C:\Users\USUARIO\AppData\Roaming\QGIS\QGIS3\profiles\TRUJILLO\python\plugins\giswater
- C:\Users\USUARIO\AppData\Roaming\QGIS\QGIS3\profiles\TRUJILLO\python\plugins\giswater\core\ui\..
22/07/2021 9:28 am
Hola,
Me parece que es el mismo mensaje de error que en el post anterior ( https://www.giswater.org/foro/main-forum/error-importar-inp-de-proyecto-watergem/#post-433). Puedes consultar este post para encontrar la solución