ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2013-04-02 04:16:42 -0500 | received badge | ● Famous Question (source) |
2012-07-22 10:42:11 -0500 | received badge | ● Notable Question (source) |
2012-05-04 13:43:39 -0500 | received badge | ● Popular Question (source) |
2012-02-20 04:09:36 -0500 | received badge | ● Student (source) |
2012-01-12 07:46:21 -0500 | asked a question | Troubles with rxgraph, rxplot, and rxbag on OSX with Homebrew and Electric. 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. rx-1.6.1 ROS Electric OSX Lion 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 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 rxplot crashes with a nasty looking error, but this already has an open ticket. https://code.ros.org/trac/ros/ticket/3777 RXBAG 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-2.9.2.1/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! Paul |