[Bug 281767] New: digikam 2.1 will not start

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

[Bug 281767] New: digikam 2.1 will not start

Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767

           Summary: digikam 2.1 will not start
           Product: digikam
           Version: 2.1.0
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.1.0
OS:                Linux

When trying to start digikam 2.1 first time, it told me that the database were
broken, but it would try to reconnect, then went into eternal doing nothing. I
killed the process and downgraded to 2.0 which runs fine.

Is there a secret migration tool like in kmail? Or something I can do to make
it work? My database contains years of tagged files, so I really do not want to
risk it!

Reproducible: Didn't try

Steps to Reproduce:
bko is broken

Actual Results:  
bko is broken

Expected Results:  
bko is broken

OS: Linux (i686) release 3.0-ARCH
Compiler: gcc

--
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 281767] digikam 2.1 will not start

Marcel Wiesweg
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-09-10 20:58:46 ---

> When trying to start digikam 2.1 first time, it told me that the database were
> broken, but it would try to reconnect, then went into eternal doing nothing. I
> killed the process and downgraded to 2.0 which runs fine.

Sounds like MySQL, but you may want to tell us explicitly which database system
you are using

> Steps to Reproduce:
> bko is broken
>
> Actual Results:  
> bko is broken
>
> Expected Results:  
> bko is broken

??

--
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 281767] digikam 2.1 will not start

Andreas K. Huettel
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767


Andreas K. Huettel <[hidden email]> changed:

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




--- Comment #2 from Andreas K. Huettel <dilfridge gentoo org>  2011-09-11 00:32:36 ---
Same seen in Gentoo after the upgrade, at some point I gave up and "fixed" it
by wiping my database and entire digikam settings. I know this is not
particularly informative... :|

--
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 281767] digikam 2.1 will not start

Rinus
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767


Rinus Bakker <[hidden email]> changed:

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




--- Comment #3 from Rinus Bakker <sleeplessregulus hetnet nl>  2011-09-11 07:34:50 ---
same happened to me but after reinstalling dk and reboot ubuntu and after
clicking cancel in the automatic reconnection proces it started, with rereading
the whole database.

This tread maybe related
http://mail.kde.org/pipermail/digikam-users/2011-September/014211.html

Rinus

--
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 281767] digikam 2.1 will not start

Anders Lund
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #4 from Anders Lund <anders alweb dk>  2011-09-11 07:47:08 ---
@Marcel:  I do not know what database system I am using. I thought digikam used
sqlite?

@Rinus: Sounds good, but the message I got after pressing cancel was that it
would start with not database at all, leading me to back out immediately.

I wonder if there is an organized way to do a backup in digikam?

--
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 281767] digikam 2.1 will not start

Anders Lund
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #5 from Anders Lund <anders alweb dk>  2011-09-11 08:01:28 ---
The relevant section of digikamrc looks like this:

[Database Settings]
Database Connectoptions=
Database Hostname=
Database Name=/home/anders/Pictures/
Database Name Thumbnails=/home/anders/Pictures/
Database Password=
Database Port=-1
Database Type=QSQLITE
Database Username=
Internal Database Server=false

--
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 281767] digikam 2.1 will not start

Marcel Wiesweg
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #6 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-09-11 13:50:27 ---
Anders: Yes you are using SQLite (if someone doesn't know what he's using, it's
SQlite ;-) )

Database (SQLite) was broken starting from 37f5f5 (Sep 6th), sharply after the
2.1 tag, until 0ef128 (Sep 10th). Current git works again, I am using SQLite
myself.
I hope the 2.1 tag is precise and the broken commit is not included in the
tarball.

--
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 281767] digikam 2.1 will not start

Gilles Caulier-4
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Database




--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2011-09-11 13:56:07 ---
Nicolas,

Can you confirm that commit #37f5f5 has not been included in your 2.1.0 tarball
?

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
|

Re: [Bug 281767] digikam 2.1 will not start

Philip Johnsson
If it's any help. I attached a diff between current git and the 2.1
tar-ball source code of core/libs/database/. Not sure what the #37f5f5
commit is.

/Philip


On Sun, Sep 11, 2011 at 3:56 PM, Gilles Caulier
<[hidden email]> wrote:

> https://bugs.kde.org/show_bug.cgi?id=281767
>
>
> Gilles Caulier <[hidden email]> changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |[hidden email]
>          Component|general                     |Database
>
>
>
>
> --- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2011-09-11 13:56:07 ---
> Nicolas,
>
> Can you confirm that commit #37f5f5 has not been included in your 2.1.0 tarball
> ?
>
> 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
>

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

database.diff (10K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

[Bug 281767] digikam 2.1 will not start

Philip Johnsson
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #8 from Philip Johnsson <philip johnsson gmail com>  2011-09-11 14:24:25 ---
If it's any help. I attached a diff between current git and the 2.1
tar-ball source code of core/libs/database/. Not sure what the #37f5f5
commit is.

/Philip


On Sun, Sep 11, 2011 at 3:56 PM, Gilles Caulier
<[hidden email]> wrote:

> https://bugs.kde.org/show_bug.cgi?id=281767
>
>
> Gilles Caulier <[hidden email]> changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |[hidden email]
>          Component|general                     |Database
>
>
>
>
> --- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2011-09-11 13:56:07 ---
> Nicolas,
>
> Can you confirm that commit #37f5f5 has not been included in your 2.1.0 tarball
> ?
>
> 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
>

--
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 281767] digikam 2.1 will not start

Philip Johnsson
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #9 from Philip Johnsson <philip johnsson gmail com>  2011-09-11 14:40:50 ---
Created an attachment (id=63560)
 --> (http://bugs.kde.org/attachment.cgi?id=63560)
Diff Digikam 2.1 tarball and current git

--
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 281767] digikam 2.1 will not start

Andreas K. Huettel
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #10 from Andreas K. Huettel <dilfridge gentoo org>  2011-09-11 16:22:49 ---
(In reply to comment #7)
> Nicolas,
>
> Can you confirm that commit #37f5f5 has not been included in your 2.1.0 tarball
> ?
>
> Gilles Caulier

37f5f5d5 is definitely included in the tarball that I downloaded from
sourceforge and that went into the Gentoo mirror system. :(

--
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 281767] digikam 2.1 will not start

Andreas K. Huettel
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #11 from Andreas K. Huettel <dilfridge gentoo org>  2011-09-11 16:24:28 ---
(In reply to comment #10)

> (In reply to comment #7)
> > Nicolas,
> >
> > Can you confirm that commit #37f5f5 has not been included in your 2.1.0 tarball
> > ?
> >
> > Gilles Caulier
>
> 37f5f5d5 is definitely included in the tarball that I downloaded from
> sourceforge and that went into the Gentoo mirror system. :(

PS. Just as a personal remark, it might be useful if you guys would be hanging
out at #digikam for a while after making a release tarball... the packager
chatter there is quite constructive...

--
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 281767] digikam 2.1 will not start

Andreas K. Huettel
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #12 from Andreas K. Huettel <dilfridge gentoo org>  2011-09-11 16:36:01 ---
Created an attachment (id=63562)
 --> (http://bugs.kde.org/attachment.cgi?id=63562)
Diff between git tag v2.1.0 and digikam-2.1.0 tarball, core subdirectory

--
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 281767] digikam 2.1 will not start

Andreas K. Huettel
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #13 from Andreas K. Huettel <dilfridge gentoo org>  2011-09-11 18:06:44 ---
(In reply to comment #12)
> Created an attachment (id=63562)
 --> (http://bugs.kde.org/attachment.cgi?id=63562) [details]
> Diff between git tag v2.1.0 and digikam-2.1.0 tarball, core subdirectory

It's getting worse. I patched the code back to the exact state of the 2.1.0
tag, and re-installed digikam on my local box. With the database that was
touched by the 2.1.0-tarball version, the 2.1.0-tag version immediately crashes
with a segfault. So whoever managed to update to 2.1.0-tarball cannot go back
to 2.1.0-tag.

Thread 1 (Thread 0x7f97466af800 (LWP 28924)):
[KCrash Handler]
#6  Digikam::DatabaseCoreBackend::setDatabaseErrorHandler (this=0x0,
handler=0x2184820) at
/var/tmp/portage/media-gfx/digikam-2.1.0-r2/work/digikam-2.1.0/core/libs/database/databasecorebackend.cpp:1624
#7  0x0000000000589bc9 in Digikam::AlbumManager::setDatabase (this=0x208c930,
params=..., priority=<value optimized out>, suggestedAlbumRoot=...) at
/var/tmp/portage/media-gfx/digikam-2.1.0-r2/work/digikam-2.1.0/core/digikam/album/albummanager.cpp:726
#8  0x000000000067f423 in main (argc=33553984, argv=0x7fff0000001d) at
/var/tmp/portage/media-gfx/digikam-2.1.0-r2/work/digikam-2.1.0/core/digikam/main/main.cpp:185

--
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 281767] digikam 2.1 will not start

Francesco Riosa-2
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767


Francesco Riosa <[hidden email]> changed:

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




--- Comment #14 from Francesco Riosa <francesco+kde pnpitalia it>  2011-09-11 20:44:57 ---
that's because only a little part of 37f5f5d5 is part of 2.1.0 tarball, the
patch was already sligtly broken, but having only a little part of it make
stuff definitly broken.

What happened here? should have waited one day more to commit? too near to the
tagging? Or the tarball has not been created from the tag?

Damn, I've waited two week to commit only to have one full month for testing :(

Anyway, seem solved downstream in gentoo with media-gfx/digikam-2.1.0-r2

--
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 281767] digikam 2.1 will not start

Gilles Caulier-4
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #15 from Gilles Caulier <caulier gilles gmail com>  2011-09-11 20:56:24 ---
This is the story :

When 2.1.0 have been tagged by Nicolas, the release have been delayed from few
days, due to some problems to compile libkvkontakte  with kipi-plugins.

We have talk about by mail for a long time to find the right solution.

We all have been fixed, I don't know if tarball have been rebuild from git
master.

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 281767] digikam 2.1 will not start

Andreas K. Huettel
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #16 from Andreas K. Huettel <dilfridge gentoo org>  2011-09-11 20:59:19 ---

> Anyway, seem solved downstream in gentoo with media-gfx/digikam-2.1.0-r2

Yeah... In Gentoo -r2 is now exactly the tag, not the tarball, so who goes from
2.0.0 to 2.1.0-r2 should be fine.

I just hope not too many people installed -r1 and used the database with it,
luckily it was only one day. Right now -r1 does not upgrade to -r2
automatically (I set this because of above crashes), but we have to figure out
what to do there...

Then, of course, I see in the cc list someone from fedora and in the comments
arch and ubuntu... :| Please please make a 2.1.1 ...

--
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 281767] digikam 2.1 will not start

Francesco Riosa-2
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #17 from Francesco Riosa <francesco+kde pnpitalia it>  2011-09-11 21:08:19 ---
Gilles, then we should remove/deprecate the tarball on sourceforge ASAP, it's
still downloadable and it's clearly broken, inside there is part of my patch
plus other (random?) changes. I've checked this downloading it right 5 min. ago
Gentoo work because it revert by patch.

At a minimum we need the andreas patch:
http://vserver.13thfloor.at/Experimental/patch-3.0.4-vs2.3.1-pre10.1.diff
but some more check would not be too bad.

--
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 281767] digikam 2.1 will not start

Gilles Caulier-4
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=281767





--- Comment #18 from Gilles Caulier <caulier gilles gmail com>  2011-09-11 21:14:12 ---
Nicolas, is in copy here.

I waiting comments from him release 2.1.1 soon.

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
123