← Back to team overview

hugin-devs team mailing list archive

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

 

*** This bug is a duplicate of bug 678632 ***
    https://bugs.launchpad.net/bugs/678632

** This bug has been marked a duplicate of bug 678632
   Windows uses current directory for temporary files
 * You can subscribe to bug 678632 by following this link: https://bugs.launchpad.net/hugin/+bug/678632/+subscribe

-- 
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