[Digikam-devel] [Bug 286611] Tags are losts (randomly) when converting Tiff to Png
Ananta Palani
anantapalani at gmail.com
Mon Mar 5 10:38:41 GMT 2012
https://bugs.kde.org/show_bug.cgi?id=286611
--- Comment #30 from Ananta Palani <anantapalani at gmail.com> ---
(In reply to comment #26)
> Gilles, using a dot-prefix for the filename is certainly also a possibility
> (at least on UNIX, would have to investigate if that's feasible on Windows).
As Gilles mentioned, it is feasible on Windows. Windows Explorer won't let you
create a file that starts with a period, but it is definitely allowed by the
Windows API (see the end of this section):
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx
AFIAK these files are not considered special in any way.
> But before we change anything I'd like to understand how the Exiv2
> writeMetadata function can get interrupted so that it leaves the temporary
> file behind? Does Exiv2 output any error message to the console when this
> happens?
I haven't run it while capturing debug output, so I'll have to check this (I'm
assuming this is what you mean by the console? On windows, there is no
'console' per say).
> Ananta, can you reproduce this issue so that you could debug it? It seems
> that the Exiv2 function FileIo::transfer (basicio.cpp) somehow fails. You
> might be able to find out where and why by adding some debug output or I can
> provide a patch for that if you like.
I'll definitely try to reproduce it. The error was happening with 0.21, but I
have 0.22 now. If you have time, a patch against 0.22 would be great (unless I
need some changes that have been made since).
-Ananta
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list