PTBatcherGUI creates files on incorrect place

Bug #1905269 reported by Juan Ramón Regaldie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Undecided
Unassigned

Bug Description

Mac OSX Catalina 10.15.7

PTBatcherGUI creates the intermediary files on /Applications/Hugin/PTBatcherGUI.app/Contents/Resources instead of at the project directory, so enblend does not find them

============================================
Stitching panorama…
============================================

Plataforma: macOS Catalina Versión 10.15.7 (Compilación 19H15)
Versión: 2019.2.0.b690aa0334b5 built by Niklas Mischkulnig
Working directory: /Users/jrregaldie/Pictures/Hugin/carpeta sin título
Output prefix: panotest3

Mezclador: enblend 4.2.1-f0304648cc0f
ExifTool version: 11.76

Number of active images: 6
Output exposure value: 0,0
Canvas size: 16794x5882
ROI: (0, 0) - (16794, 5882)
CdV: 135x47
Proyección: Equirrectangular(2)
Using GPU for remapping: verdadero

Salida de la panorámica:
* Exposición corregida, rango dinámico bajo

First input image
Number: 0
Nombre del archivo: /Users/jrregaldie/Pictures/Hugin/carpeta sin título/_JRR9608_HDR 1.tif
Size: 7333x4884
Proyección: Normal (rectilíneo)
Response type: usuario (EMoR)
CdvH: 54
Exposure value: 0,0

Remapping LDR images…
nona: using graphics card: Intel Inc. Intel(R) Iris(TM) Plus Graphics 645
Multiple images output
Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype ‘UINT16’.
Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype ‘UINT16’.
Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype ‘UINT16’.
Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype ‘UINT16’.
Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype ‘UINT16’.
Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype ‘UINT16’.
Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype ‘UINT16’.
Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype ‘UINT16’.
loading _JRR9608_HDR 1.tif
remapping _JRR9608_HDR 1.tif
Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype ‘UINT16’.
saving panotest30000.tif
Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype ‘UINT16’.
loading _JRR9611_HDR.tif
remapping _JRR9611_HDR.tif

...

Blending images...
enblend: failed to open "panotest30000.tif": No such file or directory

Revision history for this message
Juan Ramón Regaldie (jrregaldie) wrote :

After some investigation, I've detected that nona is only provide the output directory with the file prefix, without the path to where to write the files
in the example above nona is provided with "panotest3" instead of "/Users/jrregaldie/Pictures/Hugin/carpeta sin título/panotest3" for the -o flag, so that outpu files from nona end up in the wrong place and enblend cannot find them

Revision history for this message
tmodes (tmodes) wrote :

This was reported before: see https://bugs.launchpad.net/hugin/+bug/1631655
For the old reporter it helped to disable the GPU remapping.

Can you please try if this works?

Are the files really saved in /Applications/Hugin/PTBatcherGUI.app/Contents/Resources? This sounds strange.

Revision history for this message
Juan Ramón Regaldie (jrregaldie) wrote :

Disabling GPU remapping does the trick, though I experimented some failures (stitching exiting without any message) before it worked
As soon as I reactivated GPU remappin g the files were created again under Applications/Hugin/PTBatcherGUI.app/Contents/Resources

Revision history for this message
tmodes (tmodes) wrote :

Trying to fix in default branch of repository. I can't try it for myself. So if someone on Mac could test it, if this works, it would be nice (then it could go into 2020.0 rc1).

Changed in hugin:
status: New → Fix Committed
Revision history for this message
Juan Ramón Regaldie (jrregaldie) wrote :

If it implies compiling, I'd need help on doing so, but I could try to test it

Revision history for this message
tmodes (tmodes) wrote :

Yes, it needs compiling.
Our repository can be found at https://sourceforge.net/p/hugin/hugin/

General build instruction can be found in the file INSTALL_cmake https://sourceforge.net/p/hugin/hugin/ci/default/tree/INSTALL_cmake

There is also a wiki page https://wiki.panotools.org/Hugin_Compiling_OSX for compiling for Mac OS X, but this page is heavily outdated.

tmodes (tmodes)
Changed in hugin:
milestone: none → 2020.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.