Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497162 - =gnome-extra/gnome-tweak-tool-3.10.1 needs to depend on =dev-python/pygobject-3.10.2
Summary: =gnome-extra/gnome-tweak-tool-3.10.1 needs to depend on =dev-python/pygobject...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.10
  Show dependency tree
 
Reported: 2014-01-05 19:20 UTC by vax456
Modified: 2014-02-09 09:53 UTC (History)
0 users

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 vax456 2014-01-05 19:20:33 UTC
At the time of this writing, the Gnome 3.10 branch and =dev-python/pygobject-3.10.2 is masked. When unmasking Gnome 3.10, pygobject-3.8.3 is pulled in, not 3.10.2.

The most apparent side-effect is gnome-tweak-tool doesn't work, but is easily fixed by unmasking pygobject-3.10.2.

=gnome-extra/gnome-tweak-tool-3.10.1 should be updated to depend on =dev-python/pygobject-3.10.2.

Reproducible: Always

Steps to Reproduce:
1. Install gnome-tweak-tool-3.10.1 with pygobject 3.8.3.
2. Scream at the computer when gnome-tweak-tool crashes.
3.
Comment 1 Pacho Ramos gentoo-dev 2014-01-05 21:23:29 UTC
What concrete errors are you getting (to let upstream know that they need to update their configure checks)
Comment 2 vax456 2014-01-19 19:53:06 UTC
vax@vax-pc ~ $ gnome-tweak-tool 

(gnome-tweak-tool:9260): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 190: Element 'span' was closed, but the currently open element is 'alt'
INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-battery-action)
INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-ac-action)
INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-suspend-with-external-monitor)
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gtweak/app.py", line 39, in do_activate
    self.win = Window(self, model)
  File "/usr/lib64/python2.7/site-packages/gtweak/tweakview.py", line 53, in __init__
    self._model.load_tweaks(self)
  File "/usr/lib64/python2.7/site-packages/gtweak/tweakmodel.py", line 125, in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
  File "/usr/lib64/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py", line 138, in <module>
    TypingTweakGroup(),
  File "/usr/lib64/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py", line 127, in __init__
    obj = _XkbOption(opt, self._kbdsettings, self._xkb_info)
  File "/usr/lib64/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py", line 68, in __init__
    self.reload()
  File "/usr/lib64/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py", line 78, in reload
    self._update_combo()
  File "/usr/lib64/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py", line 84, in _update_combo
    self._combo.disconnect(self._combo_changed_handler_id)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/GObject.py", line 429, in wrapper
    return func(_get_instance_for_signal(obj), *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 113, in function
    return info.invoke(*args, **kwargs)
TypeError: argument instance: Expected GObject.Object, but got PyCObject
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-01-22 23:02:29 UTC
I just installed gnome-tweak-tool-3.10 (with glib/gtk+ upgrade) on a test 
machine without updating pygobject which is currently at version 3.8.3 and it 
works smoothly with python2.7 or python3.3 set as the main interpreter.
Comment 4 vax456 2014-01-23 14:04:56 UTC
I've tried running it with the python 2.7 and 3.3 interpreters and it has the same error result as comment #2.

# emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.17, 3.10.25-gentoo x86_64)
=================================================================
System uname: Linux-3.10.25-gentoo-x86_64-AMD_FX-tm-6100_Six-Core_Processor-with-gentoo-2.2
KiB Mem:     8088520 total,   3936116 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Tue, 21 Jan 2014 13:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo dotnet local-ebuilds
Installed sets: @dev-tools, @fav-apps, @gnome, @portage, @steam, @system-tools
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --with-bdeps=y "
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/dotnet /usr/local/portage"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline samba sdl session socialweb spell sse sse2 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 5 Pacho Ramos gentoo-dev 2014-02-09 09:53:53 UTC
I can also reproduce it if I downgrade to old pygobject 3.8
+  09 Feb 2014; Pacho Ramos <pacho@gentoo.org> gnome-tweak-tool-3.10.1.ebuild:
+  Needs newer pygobject, bug #497162 by vax456
+