Bug 516472 - Panorama error with UNC path.
Summary: Panorama error with UNC path.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-Panorama (other bugs)
Version First Reported In: 9.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-21 17:46 UTC by Andy
Modified: 2026-02-21 22:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:


Attachments
1 (1.02 MB, image/png)
2026-02-21 21:30 UTC, Andy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2026-02-21 17:46:15 UTC
Hi!

I'm trying to merge two scanned JPGs into one panorama.

Unfortunately, the wizard keeps giving me an error. I suspect a problem with the network path.
--> ....work///synology....

C:/Program Files/Hugin/bin/cpfind.exe kann nicht ausgeführt werden:
Hugin's cpfind 2025.0.1.9609d5726ad8 built by Thomas 
based on Pan-o-matic by Anael Orlinski 
Using 7 threads 

Project contains the following images: 
Image 0 
Imagefile: //synology/photo/Klaus Fotos gescannt/20260221_181728.jpg 
Remapped : no 
Image 1 
Imagefile: //synology/photo/Klaus Fotos gescannt/20260221_181811.jpg 
Remapped : no 

--- Analyze Images --- 
i0 : Analyzing image... 
i1 : Analyzing image... 
An error happened while loading image : caught exception: 
Precondition violation! 
Unable to open file 'C:/Users/Chef/AppData/Local/Temp/digiKam-panorama-tmp-QYWuNU/work///synology/photo/Klaus Fotos gescannt/20260221_181728.jpg'. 
(C:\daten\Hugin\vigra-master\src\impex\codecmanager.cxx:203) 

An error happened while loading image : caught exception: 
Precondition violation! 
Unable to open file 'C:/Users/Chef/AppData/Local/Temp/digiKam-panorama-tmp-QYWuNU/work///synology/photo/Klaus Fotos gescannt/20260221_181811.jpg'. 
(C:\daten\Hugin\vigra-master\src\impex\codecmanager.cxx:203) 

One or more images failed to load. Exiting.Detection took 0 seconds. 

Andy
Comment 1 caulier.gilles 2026-02-21 20:07:01 UTC
If the image to process are moved to a local place on your computer, not from your NAS, it works as expected ?
Comment 2 Andy 2026-02-21 21:30:17 UTC
Created attachment 189931 [details]
1

I assigned a drive letter.
The processing is now running. However, it's extremely inaccurate. See image.
The processing also took about 20-30 seconds.

In the test with the old MS Photo Gallery from Windows Essentials, the new image was stitched together almost instantly and correctly.

Okay, that was an interesting test.

Andy
Comment 3 Maik Qualmann 2026-02-21 22:04:28 UTC
Git commit d4933eedaa100169a210830e3320c9146dd8c3ed by Maik Qualmann.
Committed on 21/02/2026 at 22:02.
Pushed by mqualmann into branch 'master'.

add workaround for a known bug in QFileInfo::completeBaseName() with UNC paths
The function may resolve the filename with include the server name and share.
FIXED-IN: 9.0.0

M  +1    -1    NEWS
M  +2    -1    core/dplugins/generic/tools/panorama/tasks/copyfilestask.cpp
M  +2    -1    core/dplugins/generic/tools/panorama/tasks/huginexecutortask.cpp
M  +1    -1    core/dplugins/generic/tools/panorama/tasks/preprocesstask.cpp

https://invent.kde.org/graphics/digikam/-/commit/d4933eedaa100169a210830e3320c9146dd8c3ed
Comment 4 Maik Qualmann 2026-02-21 22:07:43 UTC
The images you're trying to stitch together into a panorama don't look suitable. Panoramas look for overlapping points where the images are joined. The panorama tool can't simply stitch images together.

I like to create panoramas occasionally, and this tool works perfectly for that.

Maik
Comment 5 Andy 2026-02-21 22:32:11 UTC
Okay. The MS tool can apparently automatically detect where two images can overlap, whether horizontally or vertically. Perhaps the digiKam plugin works better for landscape photos than for newspaper articles.

I'll try it out sometime.

Andy