← Back to team overview

hugin-devs team mailing list archive

[Bug 679035] Re: Incorrect TempDir Parsing Prevents any Stitching.

 

** Changed in: hugin
       Status: New => Triaged

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

Title:
  Incorrect TempDir Parsing Prevents any Stitching.

Status in Hugin - Panorama Tools GUI:
  Triaged

Bug description:
  Windows bvuild does not work because of incorrect parsing of temporary file directory.

When the 'stitch now' button is pressed, hugin.exe tries to access a temporary directory in

<Tempdir>\%USERPROFILE%\Local Settings\Temp

for example C:\DOCUME~1\Admin\LOCALS~1\Temp\%USERPROFILE%\Local Settings\Temp

rather than either:

<Tempdir> (C:\DOCUME~1\Admin\LOCALS~1\Temp\)
or
%USERPROFILE%\Local Settings\Temp, (which would expand to C:\Documents and Settings\Admin\Local Settings\Temp )

similarly hugin_stitch_project.exe attempts to access a file 

D:\Program Files\Hugin\ImageAlignment\bin\%USERPROFILE%\Local Settings\Temp,

rather than

%USERPROFILE%\Local Settings\Temp. 

Of course, these directories do not exist, so the operation fails with errors such as 

10:26:25: Failed to create a temporary file name (error 267: the directory name is invalid.)
10:26:25: Could not create temporary file

-- Brad