Bug report #11928
LAStools miss "import subprocess, os" in LAStoolsUtils.py
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
Fix #11928 - import os for las tools
History
#1 Updated by Nathan Woodrow almost 10 years ago
- Status changed from Open to Closed
Fixed in changeset 9d76247ac3923bada471ea9d24a5be95aecedec3.