2.99 file-openraster.py calls PDB file-png-save with strings instead of GFile
To replicate: you can't replicate until fixing #5312 (closed). Once #5312 (closed) gets fixed, then if user attempts export .ora, get:
Traceback (most recent call last):
File "/work/.home/.config/GIMP/2.99/plug-ins/file-openraster/file-openraster.py", line 220, in save_ora
add_layer(parent, x, y, opac, lay, path_name, lay.get_visible())
File "/work/.home/.config/GIMP/2.99/plug-ins/file-openraster/file-openraster.py", line 158, in add_layer
store_layer(image, gimp_layer, path)
File "/work/.home/.config/GIMP/2.99/plug-ins/file-openraster/file-openraster.py", line 154, in store_layer
orafile.write(tmp, path)
File "/usr/lib/python3.8/zipfile.py", line 1741, in write
zinfo = ZipInfo.from_file(filename, arcname,
File "/usr/lib/python3.8/zipfile.py", line 523, in from_file
st = os.stat(filename)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmplu6jcgitgimp-plugin-file-openraster/tmp.png'
Just reading the code: file-openraster.py line 140 appears to call PDB procedure file-png-save passing two string types for directory name and filename. However, file-png-save() requires one GFile, not two strings. The code doesn't appear to check the result of the call to file-png-save, it probably is failing to create the tmp.png file.