Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249650 - media-sound/picard-0.10-r2 won't start because of "QVariant::load(QDataStream &s): type unknown to QVariant." error
Summary: media-sound/picard-0.10-r2 won't start because of "QVariant::load(QDataStream...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Santiago M. Mola (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 20:23 UTC by Borkenkaefer
Modified: 2009-05-13 19:36 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Borkenkaefer 2008-12-02 20:23:12 UTC
when i try to start picard from a console, it gets aborted with following error:

QVariant::load(QDataStream &s): type  unknown to QVariant.

does this has to do something with pyqt?

Reproducible: Always

Steps to Reproduce:
1. start picard
2.
3.

Actual Results:  
picard won't start

Expected Results:  
picard starts
Comment 1 Santiago M. Mola (RETIRED) gentoo-dev 2008-12-03 20:08:49 UTC
Please, post the output of:
# emerge -pv x11-libs/qt dev-python/PyQt
and
# emerge --info

Thanks.
Comment 2 Borkenkaefer 2008-12-03 21:27:00 UTC
 emerge --info
Portage 2.1.6_rc2 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-AMD_Athlon-TM-_MP_1700+-with-glibc2.0
Timestamp of tree: Wed, 03 Dec 2008 10:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="de en es fr lv it ru tr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa bash-completion berkdb branding bzip2 cairo cdr cli cracklib crypt cups dbus dga dri dvd dvdr dvdread emboss encode esd evo exif fam ffmpeg firefox flac fortran gdbm gif gimp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal iconv isdnlog java jingle jpeg jpeg2k libnotify lzo mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session spell spl sse ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb vim-syntax vorbis win32codecs wmf x264 x86 xattr xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
CAMERAS="canon ptp2"
ELIBC="glibc"
FOO2ZJS_DEVICES="hp1020"
INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux"
LINGUAS="de en es fr lv it ru tr" 
USERLAND="GNU"
VIDEO_CARDS="radeon vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Borkenkaefer 2008-12-03 21:29:23 UTC
# emerge -pv x11-libs/qt dev-python/PyQt dev-python/PyQt4

[ebuild  N    ] x11-libs/qt-webkit-4.4.2  USE="-debug -pch" 0 kB
[ebuild   R   ] dev-python/PyQt4-4.4.4-r1  USE="X dbus opengl qt3support svg -debug -doc -examples -webkit" 0 kB
[ebuild  N    ] media-libs/libmng-1.0.10  USE="-lcms" 0 kB
[ebuild  N    ] x11-libs/qt-xmlpatterns-4.4.2  USE="-debug -pch" 0 kB
[ebuild  N    ] x11-libs/qt-3.3.8b  USE="cups opengl -debug -doc -examples -firebird -immqt -immqt-bc -ipv6 -mysql -nas -nis -odbc -postgres -sqlite -xinerama" 16,909 kB
[ebuild  N    ] x11-libs/qt-assistant-4.4.2  USE="webkit -debug -pch" 0 kB
[ebuild  N    ] x11-libs/qt-4.4.2  USE="dbus opengl qt3support" 0 kB
[ebuild  N    ] x11-libs/qscintilla-2.3.2  USE="python qt4 -debug -doc -examples" 2,097 kB
[ebuild  N    ] dev-python/qscintilla-python-2.3.2  USE="qt4" 0 kB
[ebuild  N    ] dev-python/PyQt-3.17.6  USE="-debug -doc -examples" 795 kB

dev-libs/qt and dev-libs/PyQt aren't installed, only dev-libs/PyQt4
Comment 4 Santiago M. Mola (RETIRED) gentoo-dev 2008-12-03 22:30:40 UTC
Picard depends on dev-python/PyQt4, and dev-python/PyQt4 depends on x11-libs/qt. I'm not sure what you did to leave your system in that state (or why), but it's definitely broken.

Install x11-libs/qt:4 and everything should work. Just to be sure that you actually have all the dependencies installed, run:
# emerge media-sound/picard

Comment 5 Santiago M. Mola (RETIRED) gentoo-dev 2008-12-03 22:35:23 UTC
Ehm, sorry. I didn't realize that you actually had qt-core and some other paths of split Qt4 installed.

I'll investigate the problem.
Comment 6 Ben de Groot (RETIRED) gentoo-dev 2008-12-03 23:42:06 UTC
Can you try this:

emerge -av sip qscintilla PyQt4 qscintilla-python picard

And see if my hunch solves this?
Comment 7 Borkenkaefer 2008-12-04 09:01:59 UTC
yes, i have only qt-core-4.4.2 installed.

the problem remains after re-emerging qt-core sip qscintilla PyQt4 qscintilla-python picard

the qscintilla-packages weren't installed before.
Comment 8 Lars Strojny 2008-12-07 00:42:41 UTC
I can confirm this issue, anything helpful I could provide?
Comment 9 juantxorena@gmail.com 2008-12-07 12:44:14 UTC
I have this problem too. The problem is related to config files, I don't know how, but when I remove it from ~/.config/MusicBrainz/Picard.conf the app starts, but I get the same error again when I try to do something like change a config.

There is a new version, picard-0.11, which seems to solve this problem. The old ebuild works, but the ffmpeg patches don't work, I removed them and it seems to work well. I'm using ffmpeg-0.4.9_p20081014, the lastest and the one that is going to be stabilized nearly(?).

Also, I had to remove the config file to be able to use the new version, after that it works well, I can change the configuration and everything.
Comment 10 Santiago M. Mola (RETIRED) gentoo-dev 2008-12-07 13:46:00 UTC
Thanks Juan!

Picard 0.11 is now in the tree, I added a warning suggesting removing the configuration file if picard doesn't start.
Comment 11 Borkenkaefer 2008-12-08 09:26:13 UTC
i can confirm that picard-0.10-r2 and picard-0.11 works again after removing the old config. thank you!

close the bug.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-05-13 19:36:50 UTC
Closing, and opening a bug requesting latest picard stable.