Re: Digikam 2.0 runs only once before corrupting the DB

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

Re: Digikam 2.0 runs only once before corrupting the DB

Rinus
But Gilles, has this anything to do with the destroied db, which seems to be his main problem?
Rinus

Gilles Caulier <[hidden email]>schreef:

Marie Noëlle,

The problem with libdc1394 is an in-deep problem (solved in my computer running Mageia). The story is there :

To resume, it's an uncompatibilty between gphoto2 lib and OpenCV. Both use libdc1394 and the initialization must be done in right order.

Before to close this entry, i have been able to reproduce the crash. Now i cannot...

Read all the story in bugzilla, It's explained.

A lots of people report that the crash still exist. So more investiguations need to be done.

Gilles Caulier

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam 2.0 runs only once before corrupting the DB

Gilles Caulier-4
I don't know.

But Francesco Riosa, who work currently on digiKam databse interface (especially Mysql) has fixed a lots of problem since 2.0.0.

I recommend to Marie :

1/ Checkout current code from git master (2.1.0).
2/ Compile and install it instead to use a precompiled package.

The advantage to use currrent implementation is to have of course bug fixes and to be able to see debug statements that developpers can add in life.

Gilles Caulier

2011/8/21 Rinus <[hidden email]>
But Gilles, has this anything to do with the destroied db, which seems to be his main problem?
Rinus

Gilles Caulier <[hidden email]>schreef:


Marie Noëlle,

The problem with libdc1394 is an in-deep problem (solved in my computer running Mageia). The story is there :

To resume, it's an uncompatibilty between gphoto2 lib and OpenCV. Both use libdc1394 and the initialization must be done in right order.

Before to close this entry, i have been able to reproduce the crash. Now i cannot...

Read all the story in bugzilla, It's explained.

A lots of people report that the crash still exist. So more investiguations need to be done.

Gilles Caulier

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam 2.0 runs only once before corrupting the DB

tosca
Gilles, thank you very much for your input and advice.

I have (more or less) read the whole bug report and I understand the problem is VERY complicate and that it might not be entirely a matter of packaging.

Anyway, as I saw there was a new package in the Fedora repository, I tried to reinstall Digikam 2.0 from scratch (I had removed the 1.9 version beforehand). This time I run Digikam from the console from the very first launch, and  understood 2 things:
 - "thlibdc1394 error: Failed to initialize libdc1394" message is the first one that appears at the first launch
 - when I closed the Digikam window, I got this message in the console : "QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-30048960' is still in use, all queries will cease to work." and I had to do a Ctrl-C after to get the control back (and that might be the incident that corrupts my DB at every first launch)
I'm not sure the whole trace will be useful for you as you seem to have plenty on this subject, but I keep it in case you want it.

As for now, I will 'try' to follow your advice and compile by myself; but:
1) I'm not even sure I'll reach the end of this procedure; if there is somewhere some documentation understable by a newbie, I would very much like to be pointed at it
2) I understand that even that could not solve the problem, as others - much more experimented than I am - have already reported in the bug report.

If that fails, I'll have to go back to 1.9 and await for good news about this problem.

Thanks for helping,
Marie-Noëlle




2011/8/21 Gilles Caulier <[hidden email]>
I don't know.

But Francesco Riosa, who work currently on digiKam databse interface (especially Mysql) has fixed a lots of problem since 2.0.0.

I recommend to Marie :

1/ Checkout current code from git master (2.1.0).
2/ Compile and install it instead to use a precompiled package.

The advantage to use currrent implementation is to have of course bug fixes and to be able to see debug statements that developpers can add in life.

Gilles Caulier

2011/8/21 Rinus <[hidden email]>
But Gilles, has this anything to do with the destroied db, which seems to be his main problem?
Rinus

Gilles Caulier <[hidden email]>schreef:


Marie Noëlle,

The problem with libdc1394 is an in-deep problem (solved in my computer running Mageia). The story is there :

To resume, it's an uncompatibilty between gphoto2 lib and OpenCV. Both use libdc1394 and the initialization must be done in right order.

Before to close this entry, i have been able to reproduce the crash. Now i cannot...

Read all the story in bugzilla, It's explained.

A lots of people report that the crash still exist. So more investiguations need to be done.

Gilles Caulier

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users




--
Une galerie photos, un blog ... pourquoi pas ? Webmaster en herbe

Parcourez les Cévennes à ma façon : Cévennes Plurielles

Et toutes mes autres publications à partir de ma page d'accueil générale


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam 2.0 runs only once before corrupting the DB

Rinus
Here is my latest desription of the proces. You will have to translate the ubuntu language to fedora´s.
if you don´t want to use the tarball but git sources then I have to make some adjustments, just let me know.

Rinus

##########################################################
START BUILDING
##########################################################
Here is your tarball (compressed archive of source code)
http://sourceforge.net/projects/digikam/files/digikam/2.0.0/digikam-2.0.0.tar.bz2/download


If it´s downloaded, extract it your user dir (somthing like
    home/my_user_dir)

Open a terminal window and go to the place where the software has
    been extracted.
If you type pwd at the prompt, you will see where you are, probably
    in home/my_user_dir
type cd digikam-2.0.0-rc

now make a directory to put your build files in
type mkdir build
cd build

if you do pwd (present working directory)
you see somthing like
/home/my_user_dir/digikam-2.0.0-rc/build


If cmake is not installed, now type:
sudo apt-get install cmake 
Now let cmake do it´s work
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. 


Most likely it will complain about missing stuff. Try to install it from synaptic or in any other way and retry cmake untill succesfull.
If all went successful

now run:
make
if done run:
sudo make install
################################################################################
DONE!
################################################################################




Op 22-08-11 18:39, Marie-Noëlle Augendre schreef:
Gilles, thank you very much for your input and advice.

I have (more or less) read the whole bug report and I understand the problem is VERY complicate and that it might not be entirely a matter of packaging.

Anyway, as I saw there was a new package in the Fedora repository, I tried to reinstall Digikam 2.0 from scratch (I had removed the 1.9 version beforehand). This time I run Digikam from the console from the very first launch, and  understood 2 things:
 - "thlibdc1394 error: Failed to initialize libdc1394" message is the first one that appears at the first launch
 - when I closed the Digikam window, I got this message in the console : "QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-30048960' is still in use, all queries will cease to work." and I had to do a Ctrl-C after to get the control back (and that might be the incident that corrupts my DB at every first launch)
I'm not sure the whole trace will be useful for you as you seem to have plenty on this subject, but I keep it in case you want it.

As for now, I will 'try' to follow your advice and compile by myself; but:
1) I'm not even sure I'll reach the end of this procedure; if there is somewhere some documentation understable by a newbie, I would very much like to be pointed at it
2) I understand that even that could not solve the problem, as others - much more experimented than I am - have already reported in the bug report.

If that fails, I'll have to go back to 1.9 and await for good news about this problem.

Thanks for helping,
Marie-Noëlle




2011/8/21 Gilles Caulier <[hidden email]>
I don't know.

But Francesco Riosa, who work currently on digiKam databse interface (especially Mysql) has fixed a lots of problem since 2.0.0.

I recommend to Marie :

1/ Checkout current code from git master (2.1.0).
2/ Compile and install it instead to use a precompiled package.

The advantage to use currrent implementation is to have of course bug fixes and to be able to see debug statements that developpers can add in life.

Gilles Caulier

2011/8/21 Rinus <[hidden email]>
But Gilles, has this anything to do with the destroied db, which seems to be his main problem?
Rinus

Gilles Caulier <[hidden email]>schreef:


Marie Noëlle,

The problem with libdc1394 is an in-deep problem (solved in my computer running Mageia). The story is there :

To resume, it's an uncompatibilty between gphoto2 lib and OpenCV. Both use libdc1394 and the initialization must be done in right order.

Before to close this entry, i have been able to reproduce the crash. Now i cannot...

Read all the story in bugzilla, It's explained.

A lots of people report that the crash still exist. So more investiguations need to be done.

Gilles Caulier

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users




--
Une galerie photos, un blog ... pourquoi pas ? Webmaster en herbe

Parcourez les Cévennes à ma façon : Cévennes Plurielles

Et toutes mes autres publications à partir de ma page d'accueil générale

_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam 2.0 runs only once before corrupting the DB

tosca
Thanks for the procedure.
I'll try this tomorrow first thing. But if understand well, Gilles advises to go for the "current code from git master (2.1.0)" as many problems have been fixed since the V2.0.0. release.

Marie-Noëlle

2011/8/22 sleepless <[hidden email]>
Here is my latest desription of the proces. You will have to translate the ubuntu language to fedora´s.
if you don´t want to use the tarball but git sources then I have to make some adjustments, just let me know.

Rinus

##########################################################
START BUILDING
##########################################################
Here is your tarball (compressed archive of source code)
http://sourceforge.net/projects/digikam/files/digikam/2.0.0/digikam-2.0.0.tar.bz2/download



--
Une galerie photos, un blog ... pourquoi pas ? Webmaster en herbe

Parcourez les Cévennes à ma façon : Cévennes Plurielles

Et toutes mes autres publications à partir de ma page d'accueil générale


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam 2.0 runs only once before corrupting the DB

Rinus
I am at the moment in the build process from git, as soon as I succeed I post the description of my process. Hope to finish today.
Rinus
Op 22-08-11 21:58, Marie-Noëlle Augendre schreef:
Thanks for the procedure.
I'll try this tomorrow first thing. But if understand well, Gilles advises to go for the "current code from git master (2.1.0)" as many problems have been fixed since the V2.0.0. release.

Marie-Noëlle

2011/8/22 sleepless <[hidden email]>
Here is my latest desription of the proces. You will have to translate the ubuntu language to fedora´s.
if you don´t want to use the tarball but git sources then I have to make some adjustments, just let me know.

Rinus

##########################################################
START BUILDING
##########################################################
Here is your tarball (compressed archive of source code)
http://sourceforge.net/projects/digikam/files/digikam/2.0.0/digikam-2.0.0.tar.bz2/download



--
Une galerie photos, un blog ... pourquoi pas ? Webmaster en herbe

Parcourez les Cévennes à ma façon : Cévennes Plurielles

Et toutes mes autres publications à partir de ma page d'accueil générale

_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam 2.0 runs only once before corrupting the DB

Rinus
Hi Marie-Noëlle,

To build from git, this should be the procedure, but this time I ran
into trouble not solved yet.
If I manage to figure out what went wrong I will update.

Rinus


If git is not already installed, install git:

open console

type:

sudo apt-get install git


if done:

type:

git clone http://anongit.kde.org/digikam-software-compilation


If all went succesfull, you can now find the directorie:

/home/¨your_user_dir¨/digikam-software-compilation


go in console to ¨your_user_dir¨

type:

cd digikam-software-compilation


if you type:

ls

you will see in this dir a document called ¨download-repos¨ , this is a
runnable PERL script.


Type:

sudo perl download-repos


Now the git is cloned to your local dir:
/home/¨your_user_dir¨/digikam-software-compilation


wait while downloading


If cmake is not installed, now type:

sudo apt-get install cmake


if done type:

sudo cmake -DCMAKE_BUILD_TYPE=debugfull
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..


No it may complain about missing stuff. Try to install it from synaptic
or in any other way and retry

cmake untill succesfull


now run:

make


if done run:

sudo make install



















O
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam 2.0 runs only once before corrupting the DB

Dan McDaniel
On Mon 22.Aug.11 23:19, sleepless wrote:

>If cmake is not installed, now type:
>
>sudo apt-get install cmake
>
>
>if done type:
>
>sudo cmake -DCMAKE_BUILD_TYPE=debugfull
>-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
>
>

 From which directory do you run the cmake command? Running from the
digikam-software-compilation directory gives an error because it is
looking for CMakeLists.txt in the parent, not in the current directory.

--
Dan McDaniel
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam 2.0 runs only once before corrupting the DB

Rinus
In reply to this post by Rinus
No, I had it several times too. If you are lucky it goes away, there is noting you can do.

Marie-Noëlle Augendre <[hidden email]>schreef:

>I'm still stuck at the "perl download-repos" step with the following
>message (see below).
>Am I the only one to have this problem?
>Is it only a matter of waiting for the server to be ready again, or is
>there something else to do?
>
>Thanks,
>Marie-N oëlle
>
>
>2011/8/23 Marie-Noëlle Augendre <[hidden email]>:
>> 2011/8/23 Gilles Caulier <[hidden email]>:
>>> Sound like KDE server is in maintenance...
>>> Gilles Caulier
>>>
>>
>> I have a different error message for libkface:
>> "Cloning into extra/libkface...
>> fatal: Unable to look up anongit.kde.org (port 9418) (Name or service not known)
>> Could not clone git://anongit.kde.org/libkface onto extra/libkface
>>
>> - Failed to populate gits repositories, aborting."
>>
>> Is it still the server maintenance doing that, or something else?
>>
>> Marie-Noëlle
>>
>
>
>--
>Une galerie photos, un blog ... pourquoi pas ? Webmaster en herbe
>
>Parcourez les Cévennes à ma façon : Cévennes Plurielles
>
>Et toutes mes autres publications à partir de ma page d'accueil générale
>_______________________________________________
>Digikam-users mailing list
>[hidden email]
>https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users