[digiKam-users] Failed to rename Album

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

[digiKam-users] Failed to rename Album

AlanH

Hello,

 

My albums are generally organized as follows:

 

Collection (year)>Parent Album (mm month)>Child Album (dd day)

 

The parent albums are named 01 Jan to 12 Dec and I would like to add a location description. When I rename a parent album I get a “Failed to rename Album” error. This happens whether right clicking the selected album for “properties” or “rename”, or from the Menu bar>Albums>properties/rename or from Shift+F2. I can rename a child album but only if it is the lowest order (last) child. I can rename an parent album/folder in Windows Explorer and the change appears in digiKam but this is an awkward solution.

 

I’m running digiKam 6.3.0 on Windows 10 and the folders (albums) are located on both a local hard drive and a locally attached USB drive.

 

Any solutions or suggestions? Thanks for helping with this inquiry.

 

Alan

Sent from Mail for Windows 10

 

Reply | Threaded
Open this post in threaded view
|

Re: Failed to rename Album

Maik Qualmann
Yes, renaming or deleting folders can fail under Windows if they are in use
and locked by Windows.

Folders are locked when
- subfolders are open in Explorer
- folders are part of a Windows network share
- a preview image was previously opened in digiKam

At the last point we have to see if there are still open file handlers and fix
this.

Maik

Am Dienstag, 24. März 2020, 23:23:34 CET schrieb Alan H:

> Hello,
>
> My albums are generally organized as follows:
>
> Collection (year)>Parent Album (mm month)>Child Album (dd day)
>
> The parent albums are named 01 Jan to 12 Dec and I would like to add a
> location description. When I rename a parent album I get a “Failed to
> rename Album” error. This happens whether right clicking the selected album
> for “properties” or “rename”, or from the Menu bar>Albums>properties/rename
> or from Shift+F2. I can rename a child album but only if it is the lowest
> order (last) child. I can rename an parent album/folder in Windows Explorer
> and the change appears in digiKam but this is an awkward solution.
>
> I’m running digiKam 6.3.0 on Windows 10 and the folders (albums) are located
> on both a local hard drive and a locally attached USB drive.
>
> Any solutions or suggestions? Thanks for helping with this inquiry.
>
> Alan
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
> 10




Reply | Threaded
Open this post in threaded view
|

Re: Failed to rename Album

AlanH

Hi all,

I can rename folders at all levels of parent & child with On1 2020.1, DXO PhotoLab 3, Adobe Bridge and Windows File Explorer. Each of these recognizes changes made by the others. I an still receiving a “Failed to rename Album” error in digiKam 6.4.0 (Windows 10).  I have 100s of folders to rename and would really like to do it as part of a digiKam workflow. Any thoughts, solutions? With thanks, Alan

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Wednesday, March 25, 2020 11:23 AM
To: [hidden email]
Subject: RE: [digiKam-users] Failed to rename Album

 

Just a follow-up to your points. Turned on my laptop first thing this morning. No apps running that would access C:\Pictures nor G:\Pictures. Closed “File Explorer” window that opens when USB drive is connected. digiKam still cannot rename any parent folder. Can only rename the last, lowest order child folder. I also installed 6.4.0 and I still get the failed to rename error.

 

Alan

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Wednesday, March 25, 2020 12:33 AM
To: [hidden email]
Cc: [hidden email]
Subject: Re: [digiKam-users] Failed to rename Album

 

Yes, renaming or deleting folders can fail under Windows if they are in use
and locked by Windows.

Folders are locked when
- subfolders are open in Explorer
- folders are part of a Windows network share
- a preview image was previously opened in digiKam

At the last point we have to see if there are still open file handlers and fix
this.

Maik

Am Dienstag, 24. März 2020, 23:23:34 CET schrieb Alan H:
> Hello,
>
> My albums are generally organized as follows:
>
> Collection (year)>Parent Album (mm month)>Child Album (dd day)
>
> The parent albums are named 01 Jan to 12 Dec and I would like to add a
> location description. When I rename a parent album I get a “Failed to
> rename Album” error. This happens whether right clicking the selected album
> for “properties” or “rename”, or from the Menu bar>Albums>properties/rename
> or from Shift+F2. I can rename a child album but only if it is the lowest
> order (last) child. I can rename an parent album/folder in Windows Explorer
> and the change appears in digiKam but this is an awkward solution.
>
> I’m running digiKam 6.3.0 on Windows 10 and the folders (albums) are located
> on both a local hard drive and a locally attached USB drive.
>
> Any solutions or suggestions? Thanks for helping with this inquiry.
>
> Alan
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
> 10


 

 

Reply | Threaded
Open this post in threaded view
|

Re: Failed to rename Album

Gilles Caulier-4
In reply to this post by Maik Qualmann
Maik,

In my office, i had a Windows computer running under Windows 10 with a
huge Qt based program dedicated to record measurement files in local
before to upload data in a remote database.

While this process i remember that local files cannot be cleaned in
local when uploading was complete. The file remove was based on QFile
class if i remember. The origin of the problem was the desktop search
engine from Windows running in background which look files in
parallel. In fact when you write a new file somewhere, Windows open
files in background to parse contents and reference metadata in a
search engine database.

Possible solutions :

1/ disable the search service from Windows
2/ set the search service to ignore specific  paths
3/ use a Windows API before to create new file to be ignored by the
search engine.
4/ use a Windows API to force to unlock file in all cases.

Note : the Windows file unlock mechanism is not managed by Qt API for
Windows. I remember to see a bug reported in Qt about this problem...

Gilles


Le mer. 25 mars 2020 à 02:34, Maik Qualmann <[hidden email]> a écrit :

>
> Yes, renaming or deleting folders can fail under Windows if they are in use
> and locked by Windows.
>
> Folders are locked when
> - subfolders are open in Explorer
> - folders are part of a Windows network share
> - a preview image was previously opened in digiKam
>
> At the last point we have to see if there are still open file handlers and fix
> this.
>
> Maik
>
> Am Dienstag, 24. März 2020, 23:23:34 CET schrieb Alan H:
> > Hello,
> >
> > My albums are generally organized as follows:
> >
> > Collection (year)>Parent Album (mm month)>Child Album (dd day)
> >
> > The parent albums are named 01 Jan to 12 Dec and I would like to add a
> > location description. When I rename a parent album I get a “Failed to
> > rename Album” error. This happens whether right clicking the selected album
> > for “properties” or “rename”, or from the Menu bar>Albums>properties/rename
> > or from Shift+F2. I can rename a child album but only if it is the lowest
> > order (last) child. I can rename an parent album/folder in Windows Explorer
> > and the change appears in digiKam but this is an awkward solution.
> >
> > I’m running digiKam 6.3.0 on Windows 10 and the folders (albums) are located
> > on both a local hard drive and a locally attached USB drive.
> >
> > Any solutions or suggestions? Thanks for helping with this inquiry.
> >
> > Alan
> > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
> > 10
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Failed to rename Album

AlanH

Greetings all,

After following up on the suggestions provided (except for APIs of which I know nothing), and just trying various renaming scenarios, I rather randomly ended up at Maik’s third point (I think) of “a preview image was previously opened in digiKam”. If, in a collection, I open/preview a photo I am blocked from renaming (Failed to rename Folder error) any parent folder higher in the hierarchy above the folder in which the photo was previewed. But, I can rename the photo in the child folder in which the photo was previewed, and all other child folders at the same level, if that makes sense.

 

Maik, Gilles, have you had a chance to look into this - is this something that can fixed? I understand with the covid-19 pandemic that you may have other priorities. Can I at least safely rename blocked folders in Windows file explorer until there is a fix? With thanks, Alan.

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Friday, March 27, 2020 1:00 AM
To: [hidden email]
Subject: Re: [digiKam-users] Failed to rename Album

 

Maik,

In my office, i had a Windows computer running under Windows 10 with a
huge Qt based program dedicated to record measurement files in local
before to upload data in a remote database.

While this process i remember that local files cannot be cleaned in
local when uploading was complete. The file remove was based on QFile
class if i remember. The origin of the problem was the desktop search
engine from Windows running in background which look files in
parallel. In fact when you write a new file somewhere, Windows open
files in background to parse contents and reference metadata in a
search engine database.

Possible solutions :

1/ disable the search service from Windows
2/ set the search service to ignore specific  paths
3/ use a Windows API before to create new file to be ignored by the
search engine.
4/ use a Windows API to force to unlock file in all cases.

Note : the Windows file unlock mechanism is not managed by Qt API for
Windows. I remember to see a bug reported in Qt about this problem...

Gilles


Le mer. 25 mars 2020 à 02:34, Maik Qualmann <[hidden email]> a écrit :
>
> Yes, renaming or deleting folders can fail under Windows if they are in use
> and locked by Windows.
>
> Folders are locked when
> - subfolders are open in Explorer
> - folders are part of a Windows network share
> - a preview image was previously opened in digiKam
>
> At the last point we have to see if there are still open file handlers and fix
> this.
>
> Maik
>
> Am Dienstag, 24. März 2020, 23:23:34 CET schrieb Alan H:
> > Hello,
> >
> > My albums are generally organized as follows:
> >
> > Collection (year)>Parent Album (mm month)>Child Album (dd day)
> >
> > The parent albums are named 01 Jan to 12 Dec and I would like to add a
> > location description. When I rename a parent album I get a “Failed to
> > rename Album” error. This happens whether right clicking the selected album
> > for “properties” or “rename”, or from the Menu bar>Albums>properties/rename
> > or from Shift+F2. I can rename a child album but only if it is the lowest
> > order (last) child. I can rename an parent album/folder in Windows Explorer
> > and the change appears in digiKam but this is an awkward solution.
> >
> > I’m running digiKam 6.3.0 on Windows 10 and the folders (albums) are located
> > on both a local hard drive and a locally attached USB drive.
> >
> > Any solutions or suggestions? Thanks for helping with this inquiry.
> >
> > Alan
> > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
> > 10
>
>
>
>

 

Reply | Threaded
Open this post in threaded view
|

[digiKam-users] FW: Failed to rename Album

AlanH

Hello,

Just as a follow-up, I haven’t heard back if there was a fix for the issue presented below. Basically, if I open a photo in a child folder I cannot rename any parent folder above it. Since I am back into culling and organizing 30+ years of digitized slides this is quite important to the workflow. I tried downloading and re-installing 6.4.0 (windows) today to see if there has been a fix but it appears not. Can this be fixed or is there another solution? Thanks for your help with this.

 

Alan  

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Monday, March 30, 2020 1:40 PM
To: [hidden email]
Subject: Re: [digiKam-users] Failed to rename Album

 

Greetings all,

After following up on the suggestions provided (except for APIs of which I know nothing), and just trying various renaming scenarios, I rather randomly ended up at Maik’s third point (I think) of “a preview image was previously opened in digiKam”. If, in a collection, I open/preview a photo I am blocked from renaming (Failed to rename Folder error) any parent folder higher in the hierarchy above the folder in which the photo was previewed. But, I can rename the photo in the child folder in which the photo was previewed, and all other child folders at the same level, if that makes sense.

 

Maik, Gilles, have you had a chance to look into this - is this something that can fixed? I understand with the covid-19 pandemic that you may have other priorities. Can I at least safely rename blocked folders in Windows file explorer until there is a fix? With thanks, Alan.

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Friday, March 27, 2020 1:00 AM
To: [hidden email]
Subject: Re: [digiKam-users] Failed to rename Album

 

Maik,

In my office, i had a Windows computer running under Windows 10 with a
huge Qt based program dedicated to record measurement files in local
before to upload data in a remote database.

While this process i remember that local files cannot be cleaned in
local when uploading was complete. The file remove was based on QFile
class if i remember. The origin of the problem was the desktop search
engine from Windows running in background which look files in
parallel. In fact when you write a new file somewhere, Windows open
files in background to parse contents and reference metadata in a
search engine database.

Possible solutions :

1/ disable the search service from Windows
2/ set the search service to ignore specific  paths
3/ use a Windows API before to create new file to be ignored by the
search engine.
4/ use a Windows API to force to unlock file in all cases.

Note : the Windows file unlock mechanism is not managed by Qt API for
Windows. I remember to see a bug reported in Qt about this problem...

Gilles


Le mer. 25 mars 2020 à 02:34, Maik Qualmann <[hidden email]> a écrit :
>
> Yes, renaming or deleting folders can fail under Windows if they are in use
> and locked by Windows.
>
> Folders are locked when
> - subfolders are open in Explorer
> - folders are part of a Windows network share
> - a preview image was previously opened in digiKam
>
> At the last point we have to see if there are still open file handlers and fix
> this.
>
> Maik
>
> Am Dienstag, 24. März 2020, 23:23:34 CET schrieb Alan H:
> > Hello,
> >
> > My albums are generally organized as follows:
> >
> > Collection (year)>Parent Album (mm month)>Child Album (dd day)
> >
> > The parent albums are named 01 Jan to 12 Dec and I would like to add a
> > location description. When I rename a parent album I get a “Failed to
> > rename Album” error. This happens whether right clicking the selected album
> > for “properties” or “rename”, or from the Menu bar>Albums>properties/rename
> > or from Shift+F2. I can rename a child album but only if it is the lowest
> > order (last) child. I can rename an parent album/folder in Windows Explorer
> > and the change appears in digiKam but this is an awkward solution.
> >
> > I’m running digiKam 6.3.0 on Windows 10 and the folders (albums) are located
> > on both a local hard drive and a locally attached USB drive.
> >
> > Any solutions or suggestions? Thanks for helping with this inquiry.
> >
> > Alan
> > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
> > 10
>
>
>
>

 

 

Reply | Threaded
Open this post in threaded view
|

Re: FW: Failed to rename Album

Maik Qualmann
Hi Alan,

this problem has only been solved for Windows in digiKam-7.0.0-Beta3, even better > Beta3. The Beta3 will be released in a few days. You can already download the snappshots here:


Maik

Am Mi., 22. Apr. 2020 um 20:13 Uhr schrieb Alan H <[hidden email]>:

Hello,

Just as a follow-up, I haven’t heard back if there was a fix for the issue presented below. Basically, if I open a photo in a child folder I cannot rename any parent folder above it. Since I am back into culling and organizing 30+ years of digitized slides this is quite important to the workflow. I tried downloading and re-installing 6.4.0 (windows) today to see if there has been a fix but it appears not. Can this be fixed or is there another solution? Thanks for your help with this.

 

Alan  

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Monday, March 30, 2020 1:40 PM
To: [hidden email]
Subject: Re: [digiKam-users] Failed to rename Album

 

Greetings all,

After following up on the suggestions provided (except for APIs of which I know nothing), and just trying various renaming scenarios, I rather randomly ended up at Maik’s third point (I think) of “a preview image was previously opened in digiKam”. If, in a collection, I open/preview a photo I am blocked from renaming (Failed to rename Folder error) any parent folder higher in the hierarchy above the folder in which the photo was previewed. But, I can rename the photo in the child folder in which the photo was previewed, and all other child folders at the same level, if that makes sense.

 

Maik, Gilles, have you had a chance to look into this - is this something that can fixed? I understand with the covid-19 pandemic that you may have other priorities. Can I at least safely rename blocked folders in Windows file explorer until there is a fix? With thanks, Alan.

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Friday, March 27, 2020 1:00 AM
To: [hidden email]
Subject: Re: [digiKam-users] Failed to rename Album

 

Maik,

In my office, i had a Windows computer running under Windows 10 with a
huge Qt based program dedicated to record measurement files in local
before to upload data in a remote database.

While this process i remember that local files cannot be cleaned in
local when uploading was complete. The file remove was based on QFile
class if i remember. The origin of the problem was the desktop search
engine from Windows running in background which look files in
parallel. In fact when you write a new file somewhere, Windows open
files in background to parse contents and reference metadata in a
search engine database.

Possible solutions :

1/ disable the search service from Windows
2/ set the search service to ignore specific  paths
3/ use a Windows API before to create new file to be ignored by the
search engine.
4/ use a Windows API to force to unlock file in all cases.

Note : the Windows file unlock mechanism is not managed by Qt API for
Windows. I remember to see a bug reported in Qt about this problem...

Gilles


Le mer. 25 mars 2020 à 02:34, Maik Qualmann <[hidden email]> a écrit :
>
> Yes, renaming or deleting folders can fail under Windows if they are in use
> and locked by Windows.
>
> Folders are locked when
> - subfolders are open in Explorer
> - folders are part of a Windows network share
> - a preview image was previously opened in digiKam
>
> At the last point we have to see if there are still open file handlers and fix
> this.
>
> Maik
>
> Am Dienstag, 24. März 2020, 23:23:34 CET schrieb Alan H:
> > Hello,
> >
> > My albums are generally organized as follows:
> >
> > Collection (year)>Parent Album (mm month)>Child Album (dd day)
> >
> > The parent albums are named 01 Jan to 12 Dec and I would like to add a
> > location description. When I rename a parent album I get a “Failed to
> > rename Album” error. This happens whether right clicking the selected album
> > for “properties” or “rename”, or from the Menu bar>Albums>properties/rename
> > or from Shift+F2. I can rename a child album but only if it is the lowest
> > order (last) child. I can rename an parent album/folder in Windows Explorer
> > and the change appears in digiKam but this is an awkward solution.
> >
> > I’m running digiKam 6.3.0 on Windows 10 and the folders (albums) are located
> > on both a local hard drive and a locally attached USB drive.
> >
> > Any solutions or suggestions? Thanks for helping with this inquiry.
> >
> > Alan
> > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
> > 10
>
>
>
>

 

 

Reply | Threaded
Open this post in threaded view
|

Re: FW: Failed to rename Album

Gilles Caulier-4
Hi all,

In fact to be clear, the Maik patch will be introduced in 7.0.0-RC,
that i will bundle now in pre-release repository. official beta3 which
will be released in few days will not include these changes.

Best

Gilles Caulier

Le jeu. 23 avr. 2020 à 11:03, Maik Qualmann <[hidden email]> a écrit :

>
> Hi Alan,
>
> this problem has only been solved for Windows in digiKam-7.0.0-Beta3, even better > Beta3. The Beta3 will be released in a few days. You can already download the snappshots here:
>
> https://files.kde.org/digikam/
>
> Maik
>
> Am Mi., 22. Apr. 2020 um 20:13 Uhr schrieb Alan H <[hidden email]>:
>>
>> Hello,
>>
>> Just as a follow-up, I haven’t heard back if there was a fix for the issue presented below. Basically, if I open a photo in a child folder I cannot rename any parent folder above it. Since I am back into culling and organizing 30+ years of digitized slides this is quite important to the workflow. I tried downloading and re-installing 6.4.0 (windows) today to see if there has been a fix but it appears not. Can this be fixed or is there another solution? Thanks for your help with this.
>>
>>
>>
>> Alan
>>
>>
>>
>> Sent from Mail for Windows 10
>>
>>
>>
>> From: Alan H
>> Sent: Monday, March 30, 2020 1:40 PM
>> To: digiKam - Home Manage your photographs as a professional with the power of open source
>> Subject: Re: [digiKam-users] Failed to rename Album
>>
>>
>>
>> Greetings all,
>>
>> After following up on the suggestions provided (except for APIs of which I know nothing), and just trying various renaming scenarios, I rather randomly ended up at Maik’s third point (I think) of “a preview image was previously opened in digiKam”. If, in a collection, I open/preview a photo I am blocked from renaming (Failed to rename Folder error) any parent folder higher in the hierarchy above the folder in which the photo was previewed. But, I can rename the photo in the child folder in which the photo was previewed, and all other child folders at the same level, if that makes sense.
>>
>>
>>
>> Maik, Gilles, have you had a chance to look into this - is this something that can fixed? I understand with the covid-19 pandemic that you may have other priorities. Can I at least safely rename blocked folders in Windows file explorer until there is a fix? With thanks, Alan.
>>
>>
>>
>> Sent from Mail for Windows 10
>>
>>
>>
>> From: Gilles Caulier
>> Sent: Friday, March 27, 2020 1:00 AM
>> To: digiKam - Home Manage your photographs as a professional with the power of open source
>> Subject: Re: [digiKam-users] Failed to rename Album
>>
>>
>>
>> Maik,
>>
>> In my office, i had a Windows computer running under Windows 10 with a
>> huge Qt based program dedicated to record measurement files in local
>> before to upload data in a remote database.
>>
>> While this process i remember that local files cannot be cleaned in
>> local when uploading was complete. The file remove was based on QFile
>> class if i remember. The origin of the problem was the desktop search
>> engine from Windows running in background which look files in
>> parallel. In fact when you write a new file somewhere, Windows open
>> files in background to parse contents and reference metadata in a
>> search engine database.
>>
>> Possible solutions :
>>
>> 1/ disable the search service from Windows
>> 2/ set the search service to ignore specific  paths
>> 3/ use a Windows API before to create new file to be ignored by the
>> search engine.
>> 4/ use a Windows API to force to unlock file in all cases.
>>
>> Note : the Windows file unlock mechanism is not managed by Qt API for
>> Windows. I remember to see a bug reported in Qt about this problem...
>>
>> Gilles
>>
>>
>> Le mer. 25 mars 2020 à 02:34, Maik Qualmann <[hidden email]> a écrit :
>> >
>> > Yes, renaming or deleting folders can fail under Windows if they are in use
>> > and locked by Windows.
>> >
>> > Folders are locked when
>> > - subfolders are open in Explorer
>> > - folders are part of a Windows network share
>> > - a preview image was previously opened in digiKam
>> >
>> > At the last point we have to see if there are still open file handlers and fix
>> > this.
>> >
>> > Maik
>> >
>> > Am Dienstag, 24. März 2020, 23:23:34 CET schrieb Alan H:
>> > > Hello,
>> > >
>> > > My albums are generally organized as follows:
>> > >
>> > > Collection (year)>Parent Album (mm month)>Child Album (dd day)
>> > >
>> > > The parent albums are named 01 Jan to 12 Dec and I would like to add a
>> > > location description. When I rename a parent album I get a “Failed to
>> > > rename Album” error. This happens whether right clicking the selected album
>> > > for “properties” or “rename”, or from the Menu bar>Albums>properties/rename
>> > > or from Shift+F2. I can rename a child album but only if it is the lowest
>> > > order (last) child. I can rename an parent album/folder in Windows Explorer
>> > > and the change appears in digiKam but this is an awkward solution.
>> > >
>> > > I’m running digiKam 6.3.0 on Windows 10 and the folders (albums) are located
>> > > on both a local hard drive and a locally attached USB drive.
>> > >
>> > > Any solutions or suggestions? Thanks for helping with this inquiry.
>> > >
>> > > Alan
>> > > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
>> > > 10
>> >
>> >
>> >
>> >
>>
>>
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: FW: Failed to rename Album

AlanH

Thanks Maik, Gilles. Its been 20 years since I took those 30+ years of slides so no problem waiting a bit longer. Good to hear there is a fix. digiKam is the best app I've found for my project. Regards, Alan



On April 23, 2020, at 3:14 AM, Gilles Caulier <[hidden email]> wrote:

Hi all,

In fact to be clear, the Maik patch will be introduced in 7.0.0-RC,
that i will bundle now in pre-release repository. official beta3 which
will be released in few days will not include these changes.

Best

Gilles Caulier

Le jeu. 23 avr. 2020 à 11:03, Maik Qualmann <[hidden email]> a écrit :
>
> Hi Alan,
>
> this problem has only been solved for Windows in digiKam-7.0.0-Beta3, even better > Beta3. The Beta3 will be released in a few days. You can already download the snappshots here:
>
> https://files.kde.org/digikam/
>
> Maik
>
> Am Mi., 22. Apr. 2020 um 20:13 Uhr schrieb Alan H <[hidden email]>:
>>
>> Hello,
>>
>> Just as a follow-up, I haven’t heard back if there was a fix for the issue presented below. Basically, if I open a photo in a child folder I cannot rename any parent folder above it. Since I am back into culling and organizing 30+ years of digitized slides this is quite important to the workflow. I tried downloading and re-installing 6.4.0 (windows) today to see if there has been a fix but it appears not. Can this be fixed or is there another solution? Thanks for your help with this.
>>
>>
>>
>> Alan
>>
>>
>>
>> Sent from Mail for Windows 10
>>
>>
>>
>> From: Alan H
>> Sent: Monday, March 30, 2020 1:40 PM
>> To: digiKam - Home Manage your photographs as a professional with the power of open source
>> Subject: Re: [digiKam-users] Failed to rename Album
>>
>>
>>
>> Greetings all,
>>
>> After following up on the suggestions provided (except for APIs of which I know nothing), and just trying various renaming scenarios, I rather randomly ended up at Maik’s third point (I think) of “a preview image was previously opened in digiKam”. If, in a collection, I open/preview a photo I am blocked from renaming (Failed to rename Folder error) any parent folder higher in the hierarchy above the folder in which the photo was previewed. But, I can rename the photo in the child folder in which the photo was previewed, and all other child folders at the same level, if that makes sense.
>>
>>
>>
>> Maik, Gilles, have you had a chance to look into this - is this something that can fixed? I understand with the covid-19 pandemic that you may have other priorities. Can I at least safely rename blocked folders in Windows file explorer until there is a fix? With thanks, Alan.
>>
>>
>>
>> Sent from Mail for Windows 10
>>
>>
>>
>> From: Gilles Caulier
>> Sent: Friday, March 27, 2020 1:00 AM
>> To: digiKam - Home Manage your photographs as a professional with the power of open source
>> Subject: Re: [digiKam-users] Failed to rename Album
>>
>>
>>
>> Maik,
>>
>> In my office, i had a Windows computer running under Windows 10 with a
>> huge Qt based program dedicated to record measurement files in local
>> before to upload data in a remote database.
>>
>> While this process i remember that local files cannot be cleaned in
>> local when uploading was complete. The file remove was based on QFile
>> class if i remember. The origin of the problem was the desktop search
>> engine from Windows running in background which look files in
>> parallel. In fact when you write a new file somewhere, Windows open
>> files in background to parse contents and reference metadata in a
>> search engine database.
>>
>> Possible solutions :
>>
>> 1/ disable the search service from Windows
>> 2/ set the search service to ignore specific  paths
>> 3/ use a Windows API before to create new file to be ignored by the
>> search engine.
>> 4/ use a Windows API to force to unlock file in all cases.
>>
>> Note : the Windows file unlock mechanism is not managed by Qt API for
>> Windows. I remember to see a bug reported in Qt about this problem...
>>
>> Gilles
>>
>>
>> Le mer. 25 mars 2020 à 02:34, Maik Qualmann <[hidden email]> a écrit :
>> >
>> > Yes, renaming or deleting folders can fail under Windows if they are in use
>> > and locked by Windows.
>> >
>> > Folders are locked when
>> > - subfolders are open in Explorer
>> > - folders are part of a Windows network share
>> > - a preview image was previously opened in digiKam
>> >
>> > At the last point we have to see if there are still open file handlers and fix
>> > this.
>> >
>> > Maik
>> >
>> > Am Dienstag, 24. März 2020, 23:23:34 CET schrieb Alan H:
>> > > Hello,
>> > >
>> > > My albums are generally organized as follows:
>> > >
>> > > Collection (year)>Parent Album (mm month)>Child Album (dd day)
>> > >
>> > > The parent albums are named 01 Jan to 12 Dec and I would like to add a
>> > > location description. When I rename a parent album I get a “Failed to
>> > > rename Album” error. This happens whether right clicking the selected album
>> > > for “properties” or “rename”, or from the Menu bar>Albums>properties/rename
>> > > or from Shift+F2. I can rename a child album but only if it is the lowest
>> > > order (last) child. I can rename an parent album/folder in Windows Explorer
>> > > and the change appears in digiKam but this is an awkward solution.
>> > >
>> > > I’m running digiKam 6.3.0 on Windows 10 and the folders (albums) are located
>> > > on both a local hard drive and a locally attached USB drive.
>> > >
>> > > Any solutions or suggestions? Thanks for helping with this inquiry.
>> > >
>> > > Alan
>> > > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
>> > > 10
>> >
>> >
>> >
>> >
>>
>>
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Failed to rename Album

TheTwo
In reply to this post by Maik Qualmann
(From Google Translate)
Hello there. I am using the latest version of digikam and this problem still
occurs. Is there a solution?



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: Failed to rename Album

AlanH

Still using 6.4 for  windows.  Never solved for that version.  Just renamed folders in Windows.  Both before and after setting up collections and importing.  Also used a windows bulk/batch rename utility that helped to speed up the process.

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Monday, January 11, 2021 3:49 AM
To: [hidden email]
Subject: Re: [digiKam-users] Failed to rename Album

 

(From Google Translate)
Hello there. I am using the latest version of digikam and this problem still
occurs. Is there a solution?



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html