J5’s Blog

January 7, 2008

D-Feet 0.1.8 released

Filed under: D-Bus, Python — J5 @ 10:10 pm

Just thought I would take “release early, release often” to heart. Hot on the heels of 0.1.7 is a major feature release 0.1.8. As of this version all complex and simple D-Bus types are displayed properly in the UI even if they are nested.

nested-types1.png

Please let me know if you ever see an Error(<some char>) in the parameter lists.

As usual:

Homepage: http://d-feet.fedorahosted.org

Tarball: http://johnp.fedorapeople.org/d-feet-0.1.8.tar.gz

Rawhide and Fedora 8: yum install d-feet

[read this post in: ar de es fr it ja ko pt ru zh-CN ]

9 Comments

  1. Very cool stuff (this and last post). Very useful tool indeed! =)

    Comment by Stoffe — January 7, 2008 @ 11:52 pm

  2. Hi, I see that d-feet installs it’s icons into /usr/share/icons/hicolor/16×16/apps, however I still get this error over and over:

    Traceback (most recent call last):
    File “/home/eric/sources/d-feet-0.1.7/dfeet/dbus_introspector.py”, line 450, in on_get_value
    return name.get_icon()
    File “/home/eric/sources/d-feet-0.1.7/dfeet/dbus_introspector.py”, line 144, in get_icon
    icon_table = _ui.wnck_utils.IconTable.get_instance()
    File “/home/eric/sources/d-feet-0.1.7/dfeet/_ui/wnck_utils.py”, line 64, in get_instance
    cls.instance = IconTable()
    File “/home/eric/sources/d-feet-0.1.7/dfeet/_ui/wnck_utils.py”, line 22, in __init__
    self.default_icon = icon_theme.load_icon(’dfeet-icon-default-service’, 16, 0)
    gobject.GError: Icon ‘dfeet-icon-default-service’ not present in theme

    Could something be causing hicolor to not be a fallback for my icon theme? I’ve tried a few (GNOME, Tango) and none appear to work.

    Thanks.

    Comment by Eric — January 8, 2008 @ 4:40 pm

  3. If you got the git checkout instead of the tarball I had forgot to add the icon to the git tree. It is in there now so doing a git-update, reinstall and update your icon cache by running

    gtk-update-icon-cache /usr/share/hicolor

    as root. I need to figure out how to do this in setuptools. I usually do this step in the RPM.

    Comment by J5 — January 8, 2008 @ 4:58 pm

  4. John, thanks for writing this! Very handy.

    Comment by Patrick van Staveren — January 10, 2008 @ 12:08 pm

  5. D-Feet has lot of unused space. Menubar with one item: “File”, toolbar with two buttons…

    You should merge them in some way.

    Comment by Livio — January 13, 2008 @ 4:23 pm

  6. Ya, those are placeholders for future UI elements so getting rid of them is not an option. I might add a way to hide them like the terminal has though.

    Comment by J5 — January 13, 2008 @ 7:02 pm

  7. John,

    RE: d-feet

    I have opensuse 10.3 with libs for:
    dbus 1.0.3
    dbus python 0.82.0
    pygtk 2.10.6
    python 2.5.2

    devel libs are also installed.

    runs OK, but I get this traceback at startup:

    Traceback (most recent call last):
    File “/usr/local/bin/d-feet”, line 47, in
    app = DFeetApp.DFeetApp()
    File “/usr/local/lib/python2.5/site-packages/dfeet/DFeetApp.py”, line 29, in __init__
    ui = UILoader(UILoader.UI_MAINWINDOW)
    File “/usr/local/lib/python2.5/site-packages/dfeet/_ui/uiloader.py”, line 34, in __init__
    self.ui = gtk.Builder()
    AttributeError: ‘module’ object has no attribute ‘Builder’

    I don’t know python to interpret this output. any feedback?

    Thanks,
    Thomas

    Comment by Thomas — May 17, 2008 @ 9:47 pm

  8. Thomas again, John.

    In my last post, “runs OK” should read:
    “setup.py install runs OK”.

    Comment by Thomas — May 17, 2008 @ 9:49 pm

  9. Thomas,

    You don’t have a new enough GTK+ or pygtk. It is only available in GTK+ 2.12 and by association pygtk 2.12.

    Comment by J5 — May 22, 2008 @ 10:56 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress