[Bug 206272] New: Failed to overwrite original file

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] New: Failed to overwrite original file

Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272

           Summary: Failed to overwrite original file
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.0.0-beta5 svn (using KDE 4.3.0)
Installed from:    Ubuntu Packages

Sometimes the following happens: I open an image from within digikam with the
image editor and edit it with some of the available tools. But when I try to
save the edited file, I get an error message

"Failed to overwrite original file"

and cannot save the changes. The files seem to be fine; for example, I _can_
edit and save with other programs.

The bug appears rather seldom for me and at the moment, I cannot tell when it
appears and when not. Maybe (I have to check that) it appears only with images
imported from the camera (instead of using a card reader).

In the console, I don't see any additional error messages explaining what's
going on.

I will attach one of the many files I am having this problem with, so maybe
someone can check if the problem appears on others systems as well, i.e. if it
is related to the file or to digikam itself.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272





--- Comment #1 from Gandalf Lechner <gandalf lechner univie ac at>  2009-09-04 19:40:39 ---
An image affected by the bug can be found here:

http://www.theorie.physik.uni-goettingen.de/~lechner/IMG_4923.JPG

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Gilles Caulier-4
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Image Editor
            Version|unspecified                 |1.0.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Gilles Caulier-4
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272





--- Comment #2 from Gilles Caulier <caulier gilles gmail com>  2009-09-14 12:13:41 ---
SVN commit 1023241 by cgilles:

patch from Alexey Morozov to fix encoding file path to use with KDE::rename()
with image editor when a file is saved with unicode characters.
Andi, Marcel, this problem can exist too in other place everywhere. We nned to
check this point indeep before to release 1.0.0
It's possible that B.K.O files are fixed with this commit.
CCBUGS: 206272
CCMAIL: [hidden email]


 M  +3 -2      editorwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1023241

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Marcel Wiesweg
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-09-21 19:32:03 ---
Gandalf, may it be that this happened to you when working in certain
directories (containing non-latin1 characters?)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Bugzilla from gandalf.lechner@univie.ac.at
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272





--- Comment #4 from Gandalf Lechner <gandalf lechner univie ac at>  2009-09-23 10:00:44 ---
As far as I remember, it also happened in directories with only usual
characters in their names. Not entirely sure, though.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Joachim Bergerhoff
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272


Joachim <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #5 from Joachim <agimjo gmail com>  2009-09-23 13:26:42 ---
I have the same symptom, but it seems not in the same circumstances.  The
problem never occurred until a few days ago and now it is systematic, with the
same collection, on the same disc.  There also is the additional symptom of
problem aborted saving when saving under a different name to a different
location (to /home).  A different folder in my collection has "é" characters,
but I (also) have the same problem with files in other folders.

Joachim

> Not long ago, my Digikam (on Jaunty with KDE and Gnome) worked just fine
> (great).
>
> Now it has the following problem: whenever I want to save a modified
> picture, I receive a error message "can't overwrite the original file" (I
> get it in French, but that's what it says.)  This even occurs when I try to
> "save as" to a different location on a different disc.  In this case,
> Digikam writes a .tmp file with a technical name to the specified location.
>
> This looks like a an access permission issue.  So re-checked that I still
> have all permissions to my photo collection, which is located on a second
> internal ext3 single volume disc.  I do have create and delete permissions
> according to the properties and I can modify the actual folders and files
> without problem.  But maybe there is a twist to this that I ignore ?
>
> The problem seems to occur since I have installed video software on the
> computer (only from the repositories).  But why ?  I have un-installed some
> of them (those that can be uninstalled without breaking too many
> dependencies), but the problem persists.  Could they be responsible ?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Gilles Caulier-4
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272





--- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2009-09-23 13:33:02 ---
Gandalf, Joachim,

Do you use current implementation from svn, where i have applied a patch...
with commit #1023241

Marcel,

I have experienced this dysfunction too in the past. I never use accentuated
char in file path/name.

I suspect a badly initialized variable in saving context container...

http://websvn.kde.org/trunk/extragear/graphics/digikam/utilities/imageeditor/editor/savingcontextcontainer.h?view=log

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Bugzilla from gandalf.lechner@univie.ac.at
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272





--- Comment #7 from Gandalf Lechner <gandalf lechner univie ac at>  2009-09-23 13:45:43 ---
I always use a fresh svn version. However, the problem appears in my case only
sometimes, and I cannot tell if the last time I experienced it your patch was
already implemented. I'll write here if the problem appears again.

Regarding file/path names, I sometimes use German umlaute ä,ö,ü, but I think
the last time I experienced the problem it was in a folder without these in its
name. I frequently use blanks/spaces in my folder names - could this be a
problem?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Joachim Bergerhoff
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272





--- Comment #8 from Joachim <agimjo gmail com>  2009-09-23 18:57:37 ---
I followed the advice and changed the name of the disc which had a "è" and the
name of the folder, which had two "é" and all other nice letters in the
environment that I could find.  I also rebuilt the database.  I have not
changed anything to the system (DigiKam 1.0.0 beta 3 KDE 4.3.1)   And I don't
have the problem any more.  :-)  (so far, so good, I still don't understand why
it did work perfectly some days ago, with accents in the file paths)  Now I can
use my favorite software again !  Thanks

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Bugzilla from arnaud-deb@aerine.net
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272


Arnaud Guiton <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #9 from Arnaud Guiton <arnaud-deb aerine net>  2009-10-11 09:46:53 ---
Hi everyone,

I sometimes use "é, è, ø, æ, å" in my directory names and also experience this
bug. Everything has always been fine (in digiKam and with other tools) until 2
or 3 weeks ago.

Gilles, does 1.0.0-beta5 (released this week) contains commit #1023241?
I am currently using Debian 1.0.0~beta4-2 and wondered if upgrading to -beta5
could solve it.

If you need more debug information, just tell me how I can help... I'm eager to
have this solved! :-)


Cheers,
--
Arnaud

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Gilles Caulier-4
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272





--- Comment #10 from Gilles Caulier <caulier gilles gmail com>  2009-10-11 09:50:34 ---
Arnaud,

Yes commit #1023241 is included in 1.0.0-beta5

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Bugzilla from arnaud-deb@aerine.net
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272





--- Comment #11 from Arnaud Guiton <arnaud-deb aerine net>  2009-10-11 10:04:20 ---
Good news: I upgraded to 1.0.0-beta5 and it now seems OK.

Of course, I have tested only 5 minutes but "Failed to overwrite original file"
errors I saw yesterday with -beta4 have not reappeared.

Thanks!

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Gilles Caulier-4
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272





--- Comment #12 from Gilles Caulier <caulier gilles gmail com>  2009-10-11 10:10:02 ---
Arnaud,

Please test indeep during few days and report again if all is fine. Like this i
can close this file definitively (i hope (:=))))...

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Gilles Caulier-4
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272





--- Comment #13 from Gilles Caulier <caulier gilles gmail com>  2009-10-11 10:12:19 ---
Gandalf, Joachim,

Please test with 1.0.0-beta5 and report. Thanks in advance

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Bugzilla from arnaud-deb@aerine.net
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272





--- Comment #14 from Arnaud Guiton <arnaud-deb aerine net>  2009-10-21 20:11:02 ---
Hi everyone,

It has been more than a week now, and I have not seen this issue with
1.0.0-beta5.

Gilles: I think you can close this bug!


Cheers,
--
Arnaud

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 206272] Failed to overwrite original file

Gilles Caulier-4
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
https://bugs.kde.org/show_bug.cgi?id=206272


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel