Hi All, I followed the installation instructions for OSX (Lion) using Homebrew and many things are working great. However, I'm unable to get rxgraph, rxplot, or rxbag to work.
Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
rxgraph fails because the python gobject library is missing:
Traceback (most recent call last): File "/Users/ptf/Work/ethz/vc_ros/ros/bin/rxgraph", line 35, in <module> import rxgraph File "/Users/ptf/Work/ethz/vc_ros/rx/rxgraph/src/rxgraph/__init__.py", line 37, in <module> import rxgraph.impl File "/Users/ptf/Work/ethz/vc_ros/rx/rxgraph/src/rxgraph/impl.py", line 46, in <module> from rxgraph.viewer import RxGraphViewerFrame File "/Users/ptf/Work/ethz/vc_ros/rx/rxgraph/src/rxgraph/viewer.py", line 34, in <module> import xdot File "/Users/ptf/Work/ethz/vc_ros/rx/xdot/src/xdot/__init__.py", line 2, in <module> import wxxdot File "/Users/ptf/Work/ethz/vc_ros/rx/xdot/src/xdot/wxxdot.py", line 22, in <module> from xdot import * File "/Users/ptf/Work/ethz/vc_ros/rx/xdot/src/xdot/xdot.py", line 34, in <module> import gobject ImportError: No module named gobject
rxplot crashes with a nasty looking error, but this already has an open ticket.
rxbag exits with an informative error message:
> rxbag This application requires wxPython version 2.8
As far as I can tell, the Homebrew instructions install wxPython 2.9. So, when I change the python code to check for 2.9, it fails downstream when trying to load pycairo:
> rxbag Traceback (most recent call last): File "/Users/ptf/Work/ethz/vc_ros/ros/bin/rxbag", line 38, in <module> import rxbag File "/Users/ptf/Work/ethz/vc_ros/rx/rxbag/src/rxbag/__init__.py", line 34, in <module> from rxbag_main import rxbag_main File "/Users/ptf/Work/ethz/vc_ros/rx/rxbag/src/rxbag/rxbag_main.py", line 56, in <module> import wx.lib.wxcairo File "/usr/local/lib/wxPython-184.108.40.206/lib/python2.7/site-packages/wx-2.9.2-osx_cocoa/wx/lib/wxcairo.py", line 54, in <module> import cairo ImportError: No module named cairo
I assume the rxplot problem is a separate issue, but is there something wrong with my Python installation that I am missing cairo and gobject?
Thanks for your help!