Python 3.5 specific internal command scandir is being used while running Python 3.4.6 #26071
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Easy fix
Processing
Relating to QGIS Processing framework or individual Processing algorithms
Author Name: Mark Johnson (Mark Johnson)
Original Redmine Issue: 18180
Affected QGIS version: master
Redmine category:processing/modeller
Assignee: Victor Olaya
Python 3.5 specific command scandir is being used when Python 3.4 is being used.
This cause an alert when starting QGIS, but also when closing the settings Dialog.
https://docs.python.org/3/library/os.html#os.scandir
New in version 3.5.
Python version: 3.4.6 (default, Oct 28 2017, 03:38:25) [GCC 4.9.1]
The external scandir for pre-3.5 was installed with:
python3 -m pip install scandir
Since only Python 3.0 is a requirement, version dependent code should offer an alternative since many non-Python users not not want to deal (yet again) with another Python error.
The text was updated successfully, but these errors were encountered: