+ -
当前位置:首页 → 问答吧 → 求助:在amarok中运行ircshow_II出错

求助:在amarok中运行ircshow_II出错

时间:2009-01-15

来源:互联网

如图所示,amarok是1.4.10。
代码:
emerge -pv python

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] dev-lang/python-2.5.2-r7 USE="berkdb gdbm ncurses readline ssl threads -build -doc -examples -ipv6 -sqlite -tk -ucs2 -wininst" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
上传的图像
snapshot4.jpg (44.9 KB, 19 次查看)

作者: jl789   发布时间: 2009-01-15

看到pm了。这段时间比较忙没照顾好,抱歉了。
这个错误没有见到过,但是应该是qt模块由于sip打磨的API变化导致出现runtimeError的。
不知道你的系统是pyqt3还是4,因为出错我想是你第一次运行时产生的,如果同时装了两个pyqt,应该优先3,可以试试直接把配置文件中pyqt=3改成4
否则,建议升级系统,或者emerge -pv pyqt3 pyqt4看看

作者: 三翻领   发布时间: 2009-01-21

兄弟客气了,是我们应该感谢你才对。按你的提示看了一下包的情况,还是没找到原因,曾经有段时间是可以用的,后来不知为什么就不行了。

代码:
emerge -pv PyQt PyQt4

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild NS ] x11-libs/qt-4.3.3 [3.3.8b-r1] USE="accessibility cups dbus gif jpeg opengl png qt3support ssl tiff zlib -debug -doc -examples -firebird -glib -mng -mysql -nas -nis -odbc -pch -postgres -sqlite -sqlite3 -xinerama" INPUT_DEVICES="-wacom" 41,350 kB
[ebuild R ] dev-python/PyQt-3.17.4 USE="-debug -doc -examples" 0 kB
[ebuild N ] dev-python/PyQt4-4.3.3 USE="-debug -doc -examples" 0 kB

Total: 3 packages (1 new, 1 in new slot, 1 reinstall), Size of downloads: 41,350 kB
代码:
merge -pv sip

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] dev-python/sip-4.7.3 USE="-debug" 0 kB
代码:
merge --info
Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r8-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.0
Timestamp of tree: Thu, 15 Jan 2009 04:15:01 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python: 2.5.2-r7
dev-util/cmake: 2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://linux.ntcu.net/ftp/dists/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN zh"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY=" "
SYNC="rsync://mirror.averse.net/gentoo-portage"
USE="X a52 acc acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode evo fam firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv immqt-bci isdnlog java java5 jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x264 x86 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev fglrx"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
代码:
cat lrcShow-II.conf
[shortcuts]
fullscreen = F
normal = Esc
fastbar = I
delay = -
editor = E
insert = F5
cancel = F6
advance = +
save = S
osd = O

[version]
pyqt = 3

[option]
filterrule = http|lyrics|qq
filterlyrics = no
fonttype = serif
autoinsert = no
astrackname = no
download = no
filtercap = no
titlebarinfo = no
searchengine = sogou
searchmediapath = no
highlightcolor = 180,200,255
fontcolor = 255,255,255
lrcpath = /home/neo,
fontitalic = no
useuslt = no
encoder = utf8
fontsize = 9
proxy = no
nolrc = normal
horizontal = no
lastposition = 0,0
minwidth = 360
savetomediapath = no
completetag = no
lrctagtype = lyrics3v2
nullline = no
fontweight = 50
backroundcolor = 59,86,115
savelrcpath = /home/neo
linenumber = 3
includecancel = no

作者: jl789   发布时间: 2009-01-22

朋友,上pyqt4吧,kde用户不在乎多一个qt库,而且你用了qt4版本,加上oxygen主题,视觉效果简直惊艳,而且lrcshow-ii的pyqt3版本只是历史遗留,顺便带带过的。

作者: 三翻领   发布时间: 2009-01-23

我看了下我自己的,和你的区别是我是~x86_64,你是x86,这里可以忽略32位和64位的区别。你可以把sip设置成~x86升级下。我这里没有问题,仅是sip版本比你高

作者: 三翻领   发布时间: 2009-01-24

升级sip后,问题解决了

作者: jl789   发布时间: 2009-01-27