Bug report #21720

Processing: python error on startup

Added by John Drewett about 5 years ago. Updated about 5 years ago.

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


The following error occurs on start up. Any advice would be appreciated.

2019-04-01T13:25:00     WARNING    Traceback (most recent call last):
              File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\algs\saga\SagaAlgorithmProvider.py", line 90, in loadAlgorithms
              version = SagaUtils.getInstalledVersion(True)
              File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\algs\saga\SagaUtils.py", line 145, in getInstalledVersion
              File "C:\PROGRA~1\QGIS3~1.6\apps\Python37\lib\subprocess.py", line 709, in __init__
              errread, errwrite) = self._get_handles(stdin, stdout, stderr)
              File "C:\PROGRA~1\QGIS3~1.6\apps\Python37\lib\subprocess.py", line 1015, in _get_handles
              p2cread = msvcrt.get_osfhandle(self._get_devnull())
              File "C:\PROGRA~1\QGIS3~1.6\apps\Python37\lib\subprocess.py", line 848, in _get_devnull
              self._devnull = os.open(os.devnull, os.O_RDWR)
             FileNotFoundError: [Errno 2] No such file or directory: 'nul'


#1 Updated by Giovanni Manghi about 5 years ago

  • Regression? changed from No to Yes
  • Priority changed from Normal to High
  • Category changed from Python plugins to Processing/SAGA
  • Subject changed from Python error on startup to Processing: python error on startup

#2 Updated by Jürgen Fischer about 5 years ago

  • Status changed from Open to Feedback

Is nul disabled? Looks similar to a WinGRASS errors

#3 Updated by Jürgen Fischer about 5 years ago

  • Description updated (diff)

Also available in: Atom PDF