[digiKam-users] Folders cannot be deleted in my collection.

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

Re: Folders cannot be deleted in my collection.

Maik Qualmann
After the error messages, part of the database tables no longer exist. The database cannot be repaired. You could try creating a new database using the Database Migration Tool. Or just start with a new database. Please also check your hard disk for errors.

Maik

Am Di., 19. Mai 2020 um 13:36 Uhr schrieb Yves Thomazeau <[hidden email]>:

Hello Gilles. 

Yes i agree of course. But now what can i do? The only way i see is to dele the DB and then update all my tags from the beginning but if there were a better way .. i would prefer. 

The other thing i d like to know is what and when it went wrong, not to have the same disease again. Thinking of the way i managed digikam, i suppose that there is something special with the "deplace" command with folders because i ve always had little troubles while doing that, maybe you could tell me more about it?  Anyway in the future i will save the db automatically.

 

Waiting for your advices. Thank you for the help. 

Yves.

Le 2020-05-19 12:44, Gilles Caulier a écrit :

The dbengine (database engine) initialization error is definitively
abnormal in your log...

Gilles Caulier

Le mar. 19 mai 2020 à 12:19, Yves Thomazeau <[hidden email]> a écrit :

Hello.

Nobody has answered to my last post that included the error messages after launching digikam ...

I did another try , launching Digikam from Konsole as Maik told me with the quick option (no DB control). You can find the text in the file joined with my mail.

I hope it will help somebody to answer me.

regards.




Le 2020-05-14 08:05, Maik Qualmann a écrit :

Start a terminal under SUSE KF5 Plasma Desktop, the program "Konsole" is
recommended. In this "Konsole" you enter "digikam" and press the Enter key.
Text messages follow in the "Konsole". We would like to have these text
messages.

Maik

Am Mittwoch, 13. Mai 2020, 23:06:49 CEST schrieb Yves Thomazeau:

Hello Maik.

I apologize for my poor knowledge but i must ask: where can i find the
log?

Regard.

Le 2020-05-13 22:39, Maik Qualmann a écrit :

Before you use GDB, which is not helpful with this problem, start digiKam
in the terminal and give us the log. With digiKam-7.0.0-RC an "export
QT_LOGGING_RULES="digikam.*=true" is necessary.

Maik

Am Mittwoch, 13. Mai 2020, 15:24:19 CEST schrieb Yves Thomazeau: Hello.

When i try to debug all i got is (gdb)bt (gdb) no stack ... I ve tried
with the official package (with debug package installed) and the
Appimage.

Any advices?

Regards.

Le 2020-05-13 14:06, Gilles Caulier a écrit : About the verbose mode, take
allok about intructions here :

https://www.digikam.org/contribute/

Best

Gilles Caulier

Le mer. 13 mai 2020 à 14:01, Yves Thomazeau <[hidden email]> a
écrit : Hello Malik.

Thank you Maik for your help but i have checked that and no digikam.db is
not write-protected. Folders are created but are not deleted.

i ve given another try by renaming a folder and .... it gives 2 folder
with the same new name with the pictures un each of them. Then, if i try
to renam one of them again it will give 2 new folders with the new name
with pictures inside AND the older one with no pictures!!! Please help me
to go out this nightmare .. :-)
Maybe i can run digikam in a verbose mode and try to find where the
problem is?

Le 2020-05-13 10:48, Maik Qualmann a écrit :

After the error message that no tables can be created, your digikam4.db is
definitely write-protected.

Maik

Gilles Caulier <[hidden email]> schrieb am Mi., 13. Mai 2020
10:04: Hi,

I don't know, as i don't use Suse Linux. Maik has more experience in
Suse than me.

Best

Gilles Caulier

Le mer. 13 mai 2020 à 09:16, Yves Thomazeau <[hidden email]> a
écrit : Hello Gilles.

Yes the 6.0.0 is the version in the official depository of opensuse LEAP
15.1.

Do tou think i should upgrade via Pacman or another source?

Regards.

Le 2020-05-10 09:00, Gilles Caulier a écrit :

Hi,

This sound like a bug that i already seen about File System change
listener. I already seen this dysfunction in the past, bu not since a
while.

Did you use really 6.0.0 and not last stable 6.4.0 ?

Best

Gilles Caulier

Le dim. 10 mai 2020 à 05:09, Yves Thomazeau <[hidden email]> a
écrit :

Hello .

I am running Digikam on opensuse 15.1 the version is 6.0 and i ve migrated
from opensuse 15.0.

A strange thing occurs in this new version: After having taggued my
pictures in a folder i used to transfer it in an another named "Taggued"
(I have a lot of pictures to tag and this way i know what has been done
and what is left to).

When i do so the ancient folder is still there with no more photos in
it??? If i try to delete it, the soft will answer OK the first time but
the folder is still there, then if i try again the soft will say "this
folder doesn t exist" ....  It s very ennoying because i now have these
empty folders that i cant manage (impossible to rename by the way). In my
real tree of folders they don't exist so i think the problem comes from
the Dbase .... Can someone please help me.

Thank you.

________________________________

J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et
environnementaux et sa messagerie mail qui minimise mon impact carbone

________________________________

J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et
environnementaux et sa messagerie mail qui minimise mon impact carbone
________________________________

J'utilise Lilo, le moteur de recherche qui finance des projets sociaux
et environnementaux et sa messagerie mail qui minimise mon impact
carbone

-----------------
J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et
environnementaux et sa messagerie mail qui minimise mon impact carbone
https://www.lilo.org?utm_source=maillilo


-----------------
J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et
environnementaux et sa messagerie mail qui minimise mon impact carbone
https://www.lilo.org?utm_source=maillilo




________________________________

J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et environnementaux et sa messagerie mail qui minimise mon impact carbone

J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et environnementaux et sa messagerie mail qui minimise mon impact carbone

Reply | Threaded
Open this post in threaded view
|

Re: Folders cannot be deleted in my collection.

Yves Thomazeau-2

Hello. 

It seems that having "migrate" from the original folder to a new one, the DB is now ok! From the few pictures i have controlled, the tags and geolocation ate still there and i can rename folders. No more error messages while launching in the console either.

"Tout est bien qui finit bien". 

 

Now i still have one or two questions :-) : Is there any option to save the DB automatically in the soft?

And what is the correct way to move or copy photos or/and folders with Digikam? (because i feel the problem came from that kind of handlings).

Thank you. Waiting for you advices. 

Yves.


Le 2020-05-19 13:57, Maik Qualmann a écrit :

After the error messages, part of the database tables no longer exist. The database cannot be repaired. You could try creating a new database using the Database Migration Tool. Or just start with a new database. Please also check your hard disk for errors.
 
Maik

Am Di., 19. Mai 2020 um 13:36 Uhr schrieb Yves Thomazeau <[hidden email]>:

Hello Gilles. 

Yes i agree of course. But now what can i do? The only way i see is to dele the DB and then update all my tags from the beginning but if there were a better way .. i would prefer. 

The other thing i d like to know is what and when it went wrong, not to have the same disease again. Thinking of the way i managed digikam, i suppose that there is something special with the "deplace" command with folders because i ve always had little troubles while doing that, maybe you could tell me more about it?  Anyway in the future i will save the db automatically.

 

Waiting for your advices. Thank you for the help. 

Yves.

Le 2020-05-19 12:44, Gilles Caulier a écrit :

The dbengine (database engine) initialization error is definitively
abnormal in your log...

Gilles Caulier

Le mar. 19 mai 2020 à 12:19, Yves Thomazeau <[hidden email]> a écrit :

Hello.

Nobody has answered to my last post that included the error messages after launching digikam ...

I did another try , launching Digikam from Konsole as Maik told me with the quick option (no DB control). You can find the text in the file joined with my mail.

I hope it will help somebody to answer me.

regards.




Le 2020-05-14 08:05, Maik Qualmann a écrit :

Start a terminal under SUSE KF5 Plasma Desktop, the program "Konsole" is
recommended. In this "Konsole" you enter "digikam" and press the Enter key.
Text messages follow in the "Konsole". We would like to have these text
messages.

Maik

Am Mittwoch, 13. Mai 2020, 23:06:49 CEST schrieb Yves Thomazeau:

Hello Maik.

I apologize for my poor knowledge but i must ask: where can i find the
log?

Regard.

Le 2020-05-13 22:39, Maik Qualmann a écrit :

Before you use GDB, which is not helpful with this problem, start digiKam
in the terminal and give us the log. With digiKam-7.0.0-RC an "export
QT_LOGGING_RULES="digikam.*=true" is necessary.

Maik

Am Mittwoch, 13. Mai 2020, 15:24:19 CEST schrieb Yves Thomazeau: Hello.

When i try to debug all i got is (gdb)bt (gdb) no stack ... I ve tried
with the official package (with debug package installed) and the
Appimage.

Any advices?

Regards.

Le 2020-05-13 14:06, Gilles Caulier a écrit : About the verbose mode, take
allok about intructions here :

https://www.digikam.org/contribute/

Best

Gilles Caulier

Le mer. 13 mai 2020 à 14:01, Yves Thomazeau <[hidden email]> a
écrit : Hello Malik.

Thank you Maik for your help but i have checked that and no digikam.db is
not write-protected. Folders are created but are not deleted.

i ve given another try by renaming a folder and .... it gives 2 folder
with the same new name with the pictures un each of them. Then, if i try
to renam one of them again it will give 2 new folders with the new name
with pictures inside AND the older one with no pictures!!! Please help me
to go out this nightmare .. :-)
Maybe i can run digikam in a verbose mode and try to find where the
problem is?

Le 2020-05-13 10:48, Maik Qualmann a écrit :

After the error message that no tables can be created, your digikam4.db is
definitely write-protected.

Maik

Gilles Caulier <[hidden email]> schrieb am Mi., 13. Mai 2020
10:04: Hi,

I don't know, as i don't use Suse Linux. Maik has more experience in
Suse than me.

Best

Gilles Caulier

Le mer. 13 mai 2020 à 09:16, Yves Thomazeau <[hidden email]> a
écrit : Hello Gilles.

Yes the 6.0.0 is the version in the official depository of opensuse LEAP
15.1.

Do tou think i should upgrade via Pacman or another source?

Regards.

Le 2020-05-10 09:00, Gilles Caulier a écrit :

Hi,

This sound like a bug that i already seen about File System change
listener. I already seen this dysfunction in the past, bu not since a
while.

Did you use really 6.0.0 and not last stable 6.4.0 ?

Best

Gilles Caulier

Le dim. 10 mai 2020 à 05:09, Yves Thomazeau <[hidden email]> a
écrit :

Hello .

I am running Digikam on opensuse 15.1 the version is 6.0 and i ve migrated
from opensuse 15.0.

A strange thing occurs in this new version: After having taggued my
pictures in a folder i used to transfer it in an another named "Taggued"
(I have a lot of pictures to tag and this way i know what has been done
and what is left to).

When i do so the ancient folder is still there with no more photos in
it??? If i try to delete it, the soft will answer OK the first time but
the folder is still there, then if i try again the soft will say "this
folder doesn t exist" ....  It s very ennoying because i now have these
empty folders that i cant manage (impossible to rename by the way). In my
real tree of folders they don't exist so i think the problem comes from
the Dbase .... Can someone please help me.

Thank you.

________________________________

J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et
environnementaux et sa messagerie mail qui minimise mon impact carbone

________________________________

J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et
environnementaux et sa messagerie mail qui minimise mon impact carbone
________________________________

J'utilise Lilo, le moteur de recherche qui finance des projets sociaux
et environnementaux et sa messagerie mail qui minimise mon impact
carbone

-----------------
J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et
environnementaux et sa messagerie mail qui minimise mon impact carbone
https://www.lilo.org?utm_source=maillilo


-----------------
J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et
environnementaux et sa messagerie mail qui minimise mon impact carbone
https://www.lilo.org?utm_source=maillilo




________________________________

J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et environnementaux et sa messagerie mail qui minimise mon impact carbone

J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et environnementaux et sa messagerie mail qui minimise mon impact carbone


J'utilise Lilo, le moteur de recherche qui finance des projets sociaux et environnementaux et sa messagerie mail qui minimise mon impact carbone

Reply | Threaded
Open this post in threaded view
|

Re: Folders cannot be deleted in my collection.

Gilles Caulier-4
Le jeu. 21 mai 2020 à 18:34, Yves Thomazeau <[hidden email]> a écrit :

>
> Hello.
>
> It seems that having "migrate" from the original folder to a new one, the DB is now ok! From the few pictures i have controlled, the tags and geolocation ate still there and i can rename folders. No more error messages while launching in the console either.
>
> "Tout est bien qui finit bien".
>
>
>
> Now i still have one or two questions :-) : Is there any option to save the DB automatically in the soft?

In digiKam, no.

To backup a database,this one must be locked (aka all digiKam instance
stop to run), and a dump can be processed. Mariadb and Mysql provide a
tool for that.

For sqlite, when digiKam is down, just copy the database in
versionning repository (git for ex). I'm sure that you can found
delegate script for this task that you can cron.

>
> And what is the correct way to move or copy photos or/and folders with Digikam? (because i feel the problem came from that kind of handlings).

drag and drop is fine...

Gilles Caulier
12