Bug report #21701

Hypsometric Curves GDAL algorithm gives an error.

Added by Alexandre Neto about 5 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:Alexander Bruy
Category:Processing/QGIS
Affected QGIS version:3.6.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:29517

Description

Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/algs/qgis/HypsometricCurves.py", line 194, in processAlgorithm
cellXSize, cellYSize, percentage, step)
File "/usr/share/qgis/python/plugins/processing/algs/qgis/HypsometricCurves.py", line 239, in calculateHypsometry
with open(fName, 'w', newline='', encoding='utf-8') as out_file:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/processing_7fe2ae3f152d4306b253b1f048928960/b89a40d1db914d0493e1145c6105dbd6/OUTPUT_DIRECTORY/hystogram_New scratch layer_1.csv'

Associated revisions

Revision c706cdeb
Added by Alexander Bruy about 5 years ago

[processing] ensure that output temporary directory exists (fix #21701)

Revision 7976e606
Added by Alexander Bruy about 5 years ago

[processing] ensure that output temporary directory exists (fix #21701)

Revision 48f78d2f
Added by Alexander Bruy about 5 years ago

[processing] ensure that output temporary directory exists (fix #21701)

Revision a744ddb6
Added by Alexander Bruy about 5 years ago

Merge pull request #9836 from alexbruy/fix-hypsometry

[processing] ensure that output temporary directory exists (fix #21701)

Revision 17823844
Added by Alexander Bruy about 5 years ago

Merge pull request #9838 from qgis/backport-9836-to-release-3_6

[Backport release-3_6] [processing] ensure that output temporary directory exists (fix #21701)

Revision 1337969a
Added by Alexander Bruy about 5 years ago

[processing] ensure that output temporary directory exists (fix #21701)

History

#1 Updated by Giovanni Manghi about 5 years ago

  • Category changed from Processing/GDAL to Processing/QGIS

#2 Updated by Alexander Bruy about 5 years ago

  • Pull Request or Patch supplied changed from No to Yes
  • Assignee set to Alexander Bruy
  • Status changed from Open to In Progress

#3 Updated by Alexander Bruy about 5 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

#4 Updated by Alexander Bruy about 5 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF