bzr qlog displays the following error on a user's system (repoted via Gentoo bugtracker) with the combination of PyQt 4.7.2 and Qt 4.6.2, while a downgrade to Qt 4.6.1 resolves the issue. More system information is found a the end of the post.
bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute
'style'
Traceback (most recent call last):
File
"/usr/lib/python2.6/site-packages/bzrlib/plugins/qbzr/lib/revtreeview.py", line
188, in paint
style = widget.style()
AttributeError: 'NoneType' object has no attribute 'style'
bzr qlog displays the following error on a user's system (repoted via Gentoo bugtracker) with the combination of PyQt 4.7.2 and Qt 4.6.2, while a downgrade to Qt 4.6.1 resolves the issue. More system information is found a the end of the post.
bzr: ERROR: exceptions. AttributeError: 'NoneType' object has no attribute
'style'
Traceback (most recent call last): python2. 6/site- packages/ bzrlib/ plugins/ qbzr/lib/ revtreeview. py", line
File
"/usr/lib/
188, in paint
style = widget.style()
AttributeError: 'NoneType' object has no attribute 'style'
bzr 2.1.0 on python 2.6.4 (linux2) python2. 6/site- packages/ bzrlib/ plugins/ bzrtools python2. 6/site- packages/ bzrlib/ plugins/ explorer python2. 6/site- packages/ bzrlib/ plugins/ gtk python2. 6/site- packages/ bzrlib/ plugins/ launchpad [2.1.0] credential_ store python2. 6/site- packages/ bzrlib/ plugins/ netrc_credentia l_store [2.1.0] python2. 6/site- packages/ bzrlib/ plugins/ news_merge [2.1.0] python2. 6/site- packages/ bzrlib/ plugins/ qbzr
arguments: ['/usr/bin/bzr', 'qlog']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/
[2.1.0]
explorer /usr/lib/
[1.0.1]
gtk /usr/lib/
[0.98.0.final.1]
launchpad
/usr/lib/
netrc_
/usr/lib/
news_merge
/usr/lib/
qbzr /usr/lib/
[0.18.3]
Reproducible: Always
Steps to Reproduce:
1. Run "bzr qlog" inside a bazaar branch
2.
3.
Actual Results:
You get the above window
metin-sfco loxs # emerge --info linux/x86/ 10.0/desktop, gcc-4.4.3, glibc-2.11-r1, ======= ======= ======= ======= ======= ======= ======= ======= == 6.31-gentoo- r10-i686- AMD_Athlon- tm-_64_ Processor_ 3000+-with- gentoo- 2.0.1 java-config: 2.1.10 pycrypto: 2.1.0 baselayout: 2.0.1 gcc-config: 1.4.1 KEYWORDS= "x86 ~x86" "i686-pc- linux-gnu" i686-pc- linux-gnu" PROTECT= "/etc /usr/share/X11/xkb /usr/share/config" PROTECT_ MASK="/ etc/ca- certificates. conf /etc/env.d /etc/env.d/java/ postgresql /etc/fonts/ fonts.conf /etc/gconf /etc/gentoo-release "/usr/portage/ distfiles" "assume- digests distlocks fixpackages news parallel-fetch mirrors. ludost. net/gentoo" "/usr/portage/ packages" CONFIGROOT= "/" RSYNC_OPTS= "--recursive --links --safe-links --perms --times --compress /distfiles /packages" TMPDIR= "/var/tmp" "/usr/portage" OVERLAY= "/var/lib/ layman/ turbogears2" //rsync. europe. gentoo. org/gentoo- portage" notification svg symlink sysfs tcpd thunar tiff truetype unicode usb PLUGINS= "adpcm alaw asym copy dmix dshare dsnoop empty extplug file MODULES= "actions alias auth_basic "keyboard mouse evdev" KERNEL="linux" "ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nv DEFAULT_ OPTS, FFLAGS, INSTALL_MASK, LC_ALL, COMPRESS_ FLAGS, PORTAGE_ RSYNC_EXTRA_ OPTS
Portage 2.1.8.3 (default/
2.6.31-gentoo-r10 i686)
=======
System uname:
Linux-2.
Timestamp of tree: Thu, 18 Mar 2010 10:45:01 +0000
app-shells/bash: 4.1_p2
dev-java/
dev-lang/python: 2.6.4-r1, 3.1.1-r1
dev-python/
dev-util/cmake: 2.8.1
sys-apps/
sys-apps/openrc: 0.6.0-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.65
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1
sys-devel/gcc: 4.4.3
sys-devel/
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.33
ACCEPT_
ACCEPT_LICENSE="*"
CBUILD=
CFLAGS="-O2 -march=i686 -pipe"
CHOST="
CONFIG_
CONFIG_
/etc/eselect/
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR=
FEATURES=
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en bg"
PKGDIR=
PORTAGE_
PORTAGE_
--force --whole-file --delete --stats --timeout=180 --exclude=
--exclude=/local --exclude=
PORTAGE_
PORTDIR=
PORTDIR_
SYNC="rsync:
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli
consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emacs emboss
encode evo fam firefox flac fontforge fortran gdbm gif gnome gpm gstreamer gtk
hal iconv ipv6 java jpeg jpeg2k kde libnotify lm_sensors mad mikmod mng modules
mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre
pdf perl png postgres ppds pppd python qt3support qt4 quicktime readline
reflection sdl semantic-desktop session spell spl sqlite ssl
startup-
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_
hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug
rate route share shm softvol" APACHE2_
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=
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en bg" RUBY_TARGETS=
nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_
MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_