← Back to team overview

hugin-devs team mailing list archive

[Bug 1426814] Re: hugin_executor cannot handle .pto in parent dir

 

The issue has been fixed in changeset 3afaaaff9287.

Concerning the additional issue: Without specifying a prefix (with
--prefix=output) the default prefix as specified in the Hugin
preferences is used. By default this is "%projectname", this means that
the project filename inclusive path is used. So you can change the
preference setting or easier specify the prefix on the command line
(analog as done with pto2mk).

** Changed in: hugin
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1426814

Title:
  hugin_executor cannot handle .pto in parent dir

Status in Hugin - Panorama Tools GUI:
  Fix Committed

Bug description:
  I'm currently operating on the latest hg devel version [9397ef] of
  hugin, and I'm trying to adapt to the new command line stitcher (I'm
  really sad that there is no longer a makefile generator, as I really
  liked the flexbility that make afforded). I usually run a stitch
  inside a clean directory using something akin to this:

  [sean@coach stitch]$ TMPDIR=$PWD make -f ../MoonRoom.pto.mk -j3
  MoonRoom_fused_multilayer.tif MoonRoom_fused.tif

  But now there is no makefile, and I am told that hugin_executor is to
  be used in its place. But when I try to run it from a dir that doesn't
  contain the .pto using a relative path, this happens:

  [sean@coach stitch]$ hugin_executor --stitching ../MoonRoom.pto 
  ============================================
  Stitching panorama...
  ============================================

  Platform: Linux 3.18.6-1-ARCH x86_64
  Version: Pre-Release 2014.1.0.9397efbd61e4
  Working directory: /home/sean/pano_tmp/MoonRoom
  Output prefix: MoonRoom

  Blender: enblend 4.1.3
  Exposure fusion: enfuse 4.1.3
  ExifTool version: 9.76

  Number of active images: 166
  Output exposure value: 8.2
  Canvas size: 27024x13512
  ROI: (0, 0) - (27024, 13512) 
  FOV: 360x180
  Projection: Equirectangular(2)
  Using GPU for remapping: false

  Panorama Outputs:
  * Exposure fused from stacks

  First input image
  Number: 0
  Filename: ../raw/IMG_2025.JPG
  Size: 5184x3456
  Projection: Normal (rectilinear)
  Response type: custom (EMoR)
  HFOV: 63
  Exposure value: 8.3


  Remapping LDR images without exposure correction...
  WARN: 22:53:40.860935 (/tmp/hugin-hg/src/hugin/src/hugin_base/panodata/Panorama.cpp:1983) readData(): Failed to read from dataInput.
  error while parsing panos tool script: ../MoonRoom.pto
  Removing temporary files...
  10:53:42 PM: Error: File 'MoonRoom_exposure_layers_0112.tif' couldn't be removed (error 2: No such file or directory)
  ...

  
  Additionally, if I specify an absolute path, it runs but it ignores the current directory and places the stitch files in the same dir as the .pto file. Setting $TMPDIR does not change this behavior.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1426814/+subscriptions


References