[Gajim-devel] Gajim on Mac OS X 10.9

Doug Warner doug at warner.fm
Fri Mar 28 18:17:04 CET 2014

I’m trying to build a package to use gajim on Mac OS X 10.9 with brew.  I seem to be running into issues with GTK icons having changed names (similar to [1]). I’ve tried both Gajim 0.15.4 and 0.16-rc1 (after also packaging python-nbxmpp), both have similar errors.

I’m not sure where exactly to start with this and was hoping you’d have some tips on what the dependencies are to try to start narrowing down what needs changed where.  I’ll include some details about packages installed and the backtrace I’m getting below.

I should also mention that I did review the GajimMacOSX page [2] to try to get some tips on how to build it from the macports package but didn’t make much progress; I’m guessing due to the package being so old and the dependencies having moved ahead.


[1] https://trac.gajim.org/ticket/7455#comment:10 
[2] https://trac.gajim.org/wiki/GajimMacOSX

$ gajim
D-Bus python bindings are missing in this computer
D-Bus capabilities of Gajim cannot be used
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gobject/__init__.py:115: Warning: Attempt to add property cell_renderer_image+CellRendererImage::image after class was initialised
  type_register(cls, namespace.get('__gtype_name__'))
/usr/local/Cellar/gajim/0.15.4/share/gajim/src/roster_window.py:6622: Warning: void g_object_set_qdata(GObject *, GQuark, gpointer): assertion 'G_IS_OBJECT (object)' failed
Traceback (most recent call last):
  File "gajim.py", line 472, in <module>
  File "/usr/local/Cellar/gajim/0.15.4/share/gajim/src/gui_interface.py", line 2537, in run
    gajim.plugin_manager = plugins.PluginManager()
  File "/usr/local/Cellar/gajim/0.15.4/share/gajim/src/plugins/helpers.py", line 129, in __call__
    cls.instance=super(Singleton, cls).__call__(*args,**kw)
  File "/usr/local/Cellar/gajim/0.15.4/share/gajim/src/plugins/pluginmanager.py", line 104, in __init__
    pc = PluginManager.scan_dir_for_plugins(path)
  File "/usr/local/Cellar/gajim/0.15.4/share/gajim/src/plugins/helpers.py", line 114, in wrapper
    result = f(*args, **kwargs)
  File "/usr/local/Cellar/gajim/0.15.4/share/gajim/src/plugins/pluginmanager.py", line 408, in scan_dir_for_plugins
    from plugins.plugins_i18n import _
  File "/usr/local/Cellar/gajim/0.15.4/share/gajim/src/common/demandimport.py", line 95, in _demandimport
    return _import(name, globals, locals, fromlist, level)
  File "/usr/local/Cellar/gajim/0.15.4/share/gajim/src/plugins/plugins_i18n.py", line 32, in <module>
    locale.bindtextdomain(APP, plugins_locale_dir)
AttributeError: 'module' object has no attribute ‘bindtextdomain'

$ brew info python pygtk gtk+ hicolor-icon-theme | grep stable
python: stable 2.7.6, HEAD
pygtk: stable 2.24.0
gtk+: stable 2.24.22 (bottled)
hicolor-icon-theme: stable 0.13 (bottled)

More information about the Gajim-devel mailing list