Problem using Lastools in Qgis

2,066 views
Skip to first unread message

Rafaela Niemann

unread,
Nov 16, 2020, 5:07:40 PM11/16/20
to last...@googlegroups.com
Hi People,

Sorry for the noob problem. 

I'm trying to use plugin Lastools in QGIS 3.16 Hannover, but same reinstalling plugin and another version of the Qgis, I have the same result :

Versão do QGIS: 3.16.0-Hannover
Código de revisão do QGIS: 43b64b13f3
Versão do Qt: 5.11.2
Versão do GDAL: 3.1.4
Versão do GEOS: 3.8.1-CAPI-1.13.3
Versão do PROJ: Rel. 6.3.2, May 1st, 2020
Algoritmo de processamento...
Algoritmo 'lasinfo' iniciando…
Entrada de parâmetros:
{ 'ADDITIONAL_OPTIONS' : '', 'COMPUTE_DENSITY' : False, 'CPU64' : False, 'GUI' : False, 'HISTO1' : 0, 'HISTO1_BIN' : 1, 'HISTO2' : 0, 'HISTO2_BIN' : 1, 'HISTO3' : 0, 'HISTO3_BIN' : 1, 'INPUT_LASLAZ' : 'D:\\posse_lowest_31983_a.laz', 'REPAIR_BB' : False, 'REPAIR_COUNTERS' : False, 'VERBOSE' : False }

LAStools command line
C:\LAStools\bin\lasinfo -i "D:\posse_lowest_31983_a.laz"
LAStools console output
Traceback (most recent call last):
File "C:/Users/55129/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools\LAStools\lasinfo.py", line 95, in processAlgorithm
LAStoolsUtils.runLAStools(commands, feedback)
File "C:/Users/55129/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools\LAStoolsUtils.py", line 61, in runLAStools
feedback.pushConsoleInfo(output.decode("utf-8"))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc6 in position 11: invalid continuation byte

A execução falhou após 0.09 segundos

Carregando camada resultante
Algoritmo 'lasinfo' finalizado

What is happening? What do I want to do about this?

Regards!


Rafaela Soares Niemann

Geografa  - Universidade Estadual de Campinas - UNICAMP
Mestra em Geografia - UNESP Rio Claro
Doutoranda do PPGG/UFRJ 
LAMPEGE -Laboratório de Monitoramento e Modelagem  Pedogeomorfológicos



Martin Isenburg

unread,
Nov 17, 2020, 7:55:09 AM11/17/20
to LAStools - efficient command line tools for LIDAR processing
Hello,

this strange error pops up every now and then. Can you edit the file:


C:/Users/55129/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools\LAStoolsUtils.py

with a text editor and carefully remove the line containing

feedback.pushConsoleInfo(output.decode("utf-8"))

be careful not to modify anything else. Does it work then?

Regards,

Martin


--
Download LAStools at
http://lastools.org
http://rapidlasso.com
Be social with LAStools at
http://facebook.com/LAStools
http://twitter.com/LAStools
http://linkedin.com/groups/LAStools-4408378
Manage your settings at
http://groups.google.com/group/lastools/subscribe
---
You received this message because you are subscribed to the Google Groups "LAStools - efficient tools for LiDAR processing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lastools+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lastools/CAAqj329B789V_nyaXctEzQ%2B4ew5WhSiKGoGHJh_%2BWkkpfi7bWg%40mail.gmail.com.

Jochen Rapidlasso

unread,
Jul 22, 2022, 7:22:00 AM7/22/22
to LAStools - efficient tools for LiDAR processing
Reply all
Reply to author
Forward
0 new messages