Bug 726873 - digikam-1.9.0-1.fc15.i686 does not work with Qt-4.7.3
Summary: digikam-1.9.0-1.fc15.i686 does not work with Qt-4.7.3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: digikam
Version: 15
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Steven M. Parrish
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 715079
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-30 07:26 UTC by xpj
Modified: 2011-08-17 01:07 UTC (History)
5 users (show)

Fixed In Version: digikam-1.9.0-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-17 01:07:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description xpj 2011-07-30 07:26:59 UTC
Description of problem:

After update packages with 'yum update,' new version of Qt library was installed 4.7.3 and digikam does not show any thumbnail or albums. Problem is, that digikam 1.9.0-1 was compiled with Qt 4.7.2 and some components are not compatible with Qt 4.7.3. Temporary solution is downgrade Qt packages to 4.7.2.

Here is part of .xsession-errors, which leads me to this solution:

KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
Cannot mix incompatible Qt library (version 0x40703) with this library (version 0x40702)
kioslave: ####### CRASH ###### protocol = kio_digikamalbums pid = 4746 signal = 6
Cannot mix incompatible Qt library (version 0x40703) with this library (version 0x40702)
kioslave: ####### CRASH ###### protocol = kio_digikamtags pid = 4744 signal = 6
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
Cannot mix incompatible Qt library (version 0x40703) with this library (version 0x40702)
kioslave: ####### CRASH ###### protocol = kio_digikamdates pid = 4745 signal = 6
QSocketNotifier: Invalid socket 14 and type 'Read', disabling...
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
Cannot mix incompatible Qt library (version 0x40703) with this library (version 0x40702)
kioslave: ####### CRASH ###### protocol = kio_digikamalbums pid = 4750 signal = 6
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...

Version-Release number of selected component (if applicable):

Fedora 15

How reproducible:

Just create some albums and import images into digikam and upgrade Qt library from 4.7.2 to 4.7.3

Steps to Reproduce:
1. check if Qt is 4.7.2 (if not, run 'yum downgrade qt qt-mysql qt-devel qt-sqlite qt-webkit-devel qt-webkit qt-x11' on freshly upgraded Fedora)
2. import images into digikam
3. upgrade Qt to 4.7.3 ('yum update')
4. run digikam and it shows only empty albums

Actual results:

digikam shows empty albums

Expected results:

digikam shows number of pictures in albums and show thumbnails in albums

Additional info:

Comment 1 Rex Dieter 2011-07-31 15:21:28 UTC
Can you please verify the precise qt builds you used when testing?

rpm -q qt

Comment 2 xpj 2011-08-04 07:32:01 UTC
Working configuration is:

qt-4.7.2-8.fc15.i686
digikam-1.9.0-1.fc15.i686
digikam-libs-1.9.0-1.fc15.i686

After upgrade:
qt-4.7.3-6.fc15.i686

And the .xsession-error file contains information about incompatible qt versions.

Cannot mix incompatible Qt library (version 0x40703) with this library (version 0x40702)
kioslave: ####### CRASH ###### protocol = kio_digikamtags pid = 6579 signal = 6
Cannot mix incompatible Qt library (version 0x40703) with this library (version 0x40702)
kioslave: ####### CRASH ###### protocol = kio_digikamalbums pid = 6581 signal = 6
Cannot mix incompatible Qt library (version 0x40703) with this library (version 0x40702)
kioslave: ####### CRASH ###### protocol = kio_digikamdates pid = 6580 signal = 6

Comment 3 Rex Dieter 2011-08-08 14:25:44 UTC
Odd, I can't seem to reproduce this on my x86_64 boxes.

Maybe simplest just to rebuild digikam against the newer qt and be done with it.  I'll look into it.

Comment 4 Fedora Update System 2011-08-08 20:16:11 UTC
digikam-1.9.0-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/digikam-1.9.0-2.fc15

Comment 5 Fedora Update System 2011-08-09 01:36:30 UTC
Package digikam-1.9.0-2.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing digikam-1.9.0-2.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/digikam-1.9.0-2.fc15
then log in and leave karma (feedback).

Comment 6 xpj 2011-08-11 18:51:05 UTC
I tried it but it still does not work. Digikam does not list any image in albums and .xsession-errors contains same messages.

digikam-1.9.0-2.fc15.i686
digikam-libs-1.9.0-2.fc15.i686

qt-4.7.3-8.fc15.i686

It is really strange, because build log shows correct Qt version 4.7.3 (http://kojipkgs.fedoraproject.org/packages/digikam/1.9.0/2.fc15/data/logs/i686/build.log), byt my .xsession-errors contains still error with wrong Qt version (4.7.2 x 4.7.3).

I have no other Qt installed (only qt3).

Comment 7 Rex Dieter 2011-08-11 19:03:52 UTC
Out of paranoia, can you try restarting your kde session (logout/login), after installing this new version?

Comment 8 Rex Dieter 2011-08-11 19:04:45 UTC
And additional paranoia, sure you haven't installed your own digikam (or friends) from source on this box anywhere that may be interfering?

Comment 9 xpj 2011-08-11 19:05:38 UTC
I'm really sorry. After restart everything works. Maybe the old Qt library 4.7.2 was loaded in memory and after upgrade was not changed to 4.7.3.

Now it works like a charm! Thank you everybody.

Comment 10 Rex Dieter 2011-08-11 19:11:36 UTC
yay!

Comment 11 Fedora Update System 2011-08-17 01:07:29 UTC
digikam-1.9.0-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.