After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684652 - jhbuild sysdeps --install not working on Fedora 18+
jhbuild sysdeps --install not working on Fedora 18+
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
3.5.x
Other Linux
: Normal blocker
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2012-09-23 09:55 UTC by Carlos Soriano
Modified: 2012-09-25 23:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
systeminstall.py: Support PackageKit 0.8.1 and newer (3.80 KB, patch)
2012-09-25 19:41 UTC, Owen Taylor
committed Details | Review

Description Carlos Soriano 2012-09-23 09:55:41 UTC
Traceback:


I: Installing dependencies on system: xkeyboard-config xcb-aux xtst taglib libusb-1.0 xcursor zlib flac libffi xcomposite wavpack python icu-i18n soundtouch-1.4 libpng xrandr libv4l2 gl udisks2 vorbisfile uuid xfixes xkbfile xft xt liboil-0.3 libtasn1 json nss libxml-2.0 nspr libproxy-1.0 mozjs185 dbus-glib-1 bluez icon-naming-utils libxslt pycairo pixman-1 libxklavier libgphoto2 sndfile libexif libstartup-notification-1.0 oauth enchant libcroco-0.6 lcms2 libcanberra-gtk webkitgtk-3.0 cairo fontconfig libpulse libical speex gudev-1.0 poppler-glib dbus-1 libnl-3.0
Traceback (most recent call last):
  • File "/home/carlos/.local/bin/jhbuild", line 32 in <module>
    jhbuild.main.main(sys.argv[1:])
  • File "/home/carlos/jhbuild/jhbuild/main.py", line 148 in main
    rc = jhbuild.commands.run(command, config, args, help=lambda: print_help(parser))
  • File "/home/carlos/jhbuild/jhbuild/commands/__init__.py", line 183 in run
    return cmd.execute(config, args, help)
  • File "/home/carlos/jhbuild/jhbuild/commands/__init__.py", line 52 in execute
    return self.run(config, options, args, help)
  • File "/home/carlos/jhbuild/jhbuild/commands/sysdeps.py", line 148 in run
    installer.install(uninstalled)
  • File "/home/carlos/jhbuild/jhbuild/utils/systeminstall.py", line 166 in install
    tid = pk.GetTid()
  • File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70 in __call__
    return self._proxy_method(*args, **keywords)
  • File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145 in __call__
    **keywords)
  • File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651 in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: No such method `GetTid'

Comment 1 Carlos Soriano 2012-09-23 09:56:49 UTC
Using last code of jhbuild from git, using fedora 18 test updates and all already updated.
Comment 2 Zeeshan Ali 2012-09-23 14:35:40 UTC
I'm facing the same problem on my system after upgrading to F18.
Comment 3 Matthias Clasen 2012-09-23 14:54:17 UTC
The problem here is that packagekit api changed.
CCing Richard
Comment 4 Owen Taylor 2012-09-25 19:41:58 UTC
Created attachment 225169 [details] [review]
systeminstall.py: Support PackageKit 0.8.1 and newer

Adapt to API changes in PackageKit 0.8.1, but still support
older PackageKit by catching exceptions and trying
the old API.
Comment 5 Colin Walters 2012-09-25 19:54:24 UTC
Review of attachment 225169 [details] [review]:

Needs two fixes, good to commit after that.  Thanks for looking at this!
Comment 6 Owen Taylor 2012-09-25 20:00:12 UTC
Comment on attachment 225169 [details] [review]
systeminstall.py: Support PackageKit 0.8.1 and newer

Pushed with fixes
Comment 7 Craig Keogh 2012-09-25 23:38:27 UTC
Thank you Owen & Colin. Close bug?