Bug report #11928

LAStools miss "import subprocess, os" in LAStoolsUtils.py

Added by Lene Fischer about 9 years ago. Updated about 9 years ago.

Affected QGIS version:2.6.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:20137


I have LAStools running in 2.4 – but in 2.6.1 it gives at an error:
global name 'os' is not defined See log for more details

Got this advice from Salvatore Larosa - and it works :-)

Editing in python/plugins/processing/algs/lidar/lastools/LAStoolsUtils.py by adding the missing import module.
You can do this by adding "import os" just after or before "import subprocess" or simply you can edit it like "import subprocess, os"

Lene Fischer

Associated revisions

Revision 9d76247a
Added by Nathan Woodrow about 9 years ago

Fix #11928 - import os for las tools


#1 Updated by Nathan Woodrow about 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF