← Back to team overview

hugin-devs team mailing list archive

[Bug 903968] [NEW] pto_gen creates output in current working directory

 

Public bug reported:

I tried creating a pto_gen.desktop file for Linux, this would allow a
user to select multiple photos in a file browser and create a .pto
project from the right-click context menu by running pto_gen.

However this results in the .pto project being written to the users
$HOME directory since pto_gen creates the output file in the current
working directory.

e.g. this is the sort of command I need to be able to run:

  pto_gen /home/bruno/photos/P1030156.JPG
/home/bruno/photos/P1030157.JPG /home/bruno/photos/P1030158.JPG

What gets created is this file:

  P1030156-P1030158.pto

What I really need is this, i.e. the output file path needs to be
constructed from the full path of the first file:

  /home/bruno/photos/P1030156-P1030158.pto

** Affects: hugin
     Importance: Undecided
         Status: New

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

Title:
  pto_gen creates output in current working directory

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  I tried creating a pto_gen.desktop file for Linux, this would allow a
  user to select multiple photos in a file browser and create a .pto
  project from the right-click context menu by running pto_gen.

  However this results in the .pto project being written to the users
  $HOME directory since pto_gen creates the output file in the current
  working directory.

  e.g. this is the sort of command I need to be able to run:

    pto_gen /home/bruno/photos/P1030156.JPG
  /home/bruno/photos/P1030157.JPG /home/bruno/photos/P1030158.JPG

  What gets created is this file:

    P1030156-P1030158.pto

  What I really need is this, i.e. the output file path needs to be
  constructed from the full path of the first file:

    /home/bruno/photos/P1030156-P1030158.pto

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


Follow ups

References