Bug report #11928

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

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

Status:Closed
Priority:Normal
Assignee:-
Category:-
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

Description

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"

Regards
Lene Fischer

Associated revisions

Revision 9d76247a
Added by Nathan Woodrow over 9 years ago

Fix #11928 - import os for las tools

History

#1 Updated by Nathan Woodrow over 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF