Project files

38 views
Skip to first unread message

Viktor Balogh

unread,
Mar 17, 2021, 1:38:08 PM3/17/21
to hugin and other free panoramic software
Hello!

I'm just getting started with Hugin, but I encountered a problem: When I saved the project the filenames got incorrect inside the project file. To make it even more interesting it only happens when working inside %localappdata%\Temp folder and aligning already done (there is no problem before aligning or outside of temp folder).

Steps to reproduce:
  1. A fresh installation of Hugin (I think is it optional)
  2. Move the attached images (img1/2.tif) to C:\Users\<YourUsername>\AppData\Local\Temp
  3. Open Hugin
  4. Open the images
  5. Save project as... with filename: pano1
  6. Click on align
  7. Save project as... with filename: pano2
  8. Open pano1.pto in any text editor and observe the filename at end of line 8: you got n"img1.tif"
  9. Open pano2.pto in any text editor and observe the filename at end of line 8: you got n"\Users\<YourUsername>\AppData\Local\Temp\img1.tif"
Some info:
OS: Windows 10 (build 19042) 64-bit
Hugin version: 2020.0.0.2f576e5d5b4a built by Thomas

Thanks in advance!

Viktor

Attachments:

T. Modes

unread,
Mar 17, 2021, 2:58:06 PM3/17/21
to hugin and other free panoramic software
Viktor schrieb am Mittwoch, 17. März 2021 um 18:38:08 UTC+1:
Hello!

I'm just getting started with Hugin, but I encountered a problem: When I saved the project the filenames got incorrect inside the project file. To make it even more interesting it only happens when working inside %localappdata%\Temp folder and aligning already done (there is no problem before aligning or outside of temp folder).

It is now fixed in the repository.
The TEMP folder should only used for temporary files. It should not used IMHO for user data like images. Hugin itself is using this folder for its temporary files.
So this bug is a very rare edge case.

Harry van der Wolf

unread,
Mar 17, 2021, 3:06:17 PM3/17/21
to hugi...@googlegroups.com
I agree with Thomas.

Why would you even do this?
The AppData/Local/Temp folder contains temporary files (hence the name)
These files contain temporary information while a process is creating other files, or while a process is doing something and "saving" the process steps in between.
The files are only there in case the program crashes or windows crashes or something like that, so that on restart the files can be used again (if you are lucky) where your program/windows crashed.
Normally, Windows deletes those files once the program closes.



Op wo 17 mrt. 2021 om 19:58 schreef T. Modes <Thomas...@gmx.de>:
--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/35ab3e08-a9a6-4fb8-b47a-de24a1f8e376n%40googlegroups.com.

Viktor

unread,
Mar 17, 2021, 4:41:43 PM3/17/21
to hugin and other free panoramic software
Thanks for the fix! That was very fast! (I will try out tomorrow)
I don't store anything in temp! I ran into this problem because darktable's hugin script uses the temp directory for its temporary files (sorry for not mentioned that earlier) and when I started stitching in hugin it complained about missing files.

Gunter Königsmann

unread,
Mar 20, 2021, 1:32:47 AM3/20/21
to Viktor Balogh, hugin and other free panoramic software
I personality don't own a windows PC it iwith orher programs I know similar behavior can be provoked by using a non-ascii username => does your username contain non-ascii characters?

Kind regards,

Gunter.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Reply all
Reply to author
Forward
0 new messages