03-04-2024, 09:08 AM 
	
	
	
		I am trying to use the PhotoLab Curve Batch script in GIMP to apply a curve to a batch of images in a folder. However, I am getting a "RuntimeError: 実行時エラー" error when running the script in certain folders, but it works fine in other folders.
Details:
Thank you.
	
Details:
- GIMP version: 2.10
 
 
- Script version: 2.0
 
 
- Operating system: Windows 10
 
 
- Error message:
 
Code:
Traceback (most recent call last):
  File "C:\Users\xxx\AppData\Local\Programs\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 741, in response
    dialog.res = run_script(params)
  File "C:\Users\xxx\AppData\Local\Programs\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 362, in run_script
    return apply(function, params)
  File "C:\Users\xxx\AppData\Roaming\GIMP\2.10\plug-ins\photolab_curvebatch.py", line 150, in python_fu_curvebatch_xtns
    process_files( filepathnames, curvefilename );
  File "C:\Users\xxx\AppData\Roaming\GIMP\2.10\plug-ins\photolab_curvebatch.py", line 126, in process_files
    pdb.gimp_curves_spline( imglayer, HISTOGRAM_RED, len(icurvered), icurvered )
RuntimeError: 実行時エラー- The script works fine in some folders, but not in others.
 
 
- The files in the problematic folders are all JPEG images.
 
 
- I have tried changing the curve file, but the error persists.
 
- What could be the cause of this error?
 
 
- How can I fix this error?
 
- I have attached a sample image from the problematic folder.
 
Thank you.

 

 

