I play around a bit with ros on my macbook and I just upgraded to the new xquartz yesterday (2.6.1). Previously I was just using Apple's X11. No problems with most things (not that I run a lot in X): xterm fires up the xquartz version, for example. But running one of my ros binaries (pcd_viewer) gives me this error: <Error>: unknown error code: invalid pixel format Fri Mar 25 09:40:16 client-6-50-27.bc.drew.lan pcd_viewer[1954] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. X Error of failed request: GLXBadContext Major opcode of failed request: 0 () Serial number of failed request: 39 Current serial number in output stream: 39 If I launch Apple's X11 and get an xterm there (so it's running from /usr instead of /opt), pcd_viewer will launch fine. At least one other ros binary doesn't have a problem with xquartz, so I suspect something in pcd_viewer. echo $DISPLAY from terminal reports: /tmp/launch-2LgGpc/org.macosforge.xquartz:0 from Apple's X11 it reports :1 I'm a bit of a newbie, so I thought I'd ask here first whether there's an obvious problem somewhere that is easily resolved. Thanks. John
GLX was updated quite a bit from X11.app to XQuartz.app. This looks like your application is requesting a visual that isn't available on the server, and is continuing to execute despite the returned error. I'm curious what it is requesting. Is this a free application? Where can I get it? On Mar 25, 2011, at 7:12 AM, John Muccigrosso wrote:
I play around a bit with ros on my macbook and I just upgraded to the new xquartz yesterday (2.6.1). Previously I was just using Apple's X11.
No problems with most things (not that I run a lot in X): xterm fires up the xquartz version, for example. But running one of my ros binaries (pcd_viewer) gives me this error:
<Error>: unknown error code: invalid pixel format Fri Mar 25 09:40:16 client-6-50-27.bc.drew.lan pcd_viewer[1954] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. X Error of failed request: GLXBadContext Major opcode of failed request: 0 () Serial number of failed request: 39 Current serial number in output stream: 39
If I launch Apple's X11 and get an xterm there (so it's running from /usr instead of /opt), pcd_viewer will launch fine.
At least one other ros binary doesn't have a problem with xquartz, so I suspect something in pcd_viewer.
echo $DISPLAY from terminal reports:
/tmp/launch-2LgGpc/org.macosforge.xquartz:0
from Apple's X11 it reports
:1
I'm a bit of a newbie, so I thought I'd ask here first whether there's an obvious problem somewhere that is easily resolved.
Thanks.
John
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
On 25 Mar 2011, at 12:22 , Jeremy Huddleston wrote:
I'm curious what it is requesting. Is this a free application? Where can I get it?
It's all free. :-) ros.org has everything. It's the pcd_viewer app which is part of perception_pcl. I haven't done much to look at where the error is occurring, but I could send more info to the list or you off-line, if that makes sense. John
The install instructions on the site are wrong vor various reasons: 1) They want to use MP's python, but they have you execute easy_install from /usr/bin... they should have you execute easy_install-2.6 2) The install-path for rosinstall is not in $PATH ... though this is probably a MP bug 3) The install fails: Give me trivial install instructions (that I can copy-paste while in a temp directory, or a tarball, ...), and I'll try it again. Thanks. [ rosmake ] /Users/jeremy/.ros/rosmake/rosmake_output-20110325-171645 Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/rosinstall", line 5, in <module> pkg_resources.run_script('rosinstall==0.5.16', 'rosinstall') File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 467, in run_script self.require(requires)[0].run_script(script_name, ns) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 1200, in run_script execfile(script_filename, namespace, namespace) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall", line 556, in <module> sys.exit(not rosinstall_main(sys.argv)) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall", line 547, in rosinstall_main subprocess.check_call("source %s && rosmake ros%s --rosdep-install%s" % (os.path.join(options.path, 'setup.sh'), ros_comm_insert, rosdep_yes_insert), shell=True, executable='/bin/bash') File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 488, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'source /Users/jeremy/ros/setup.sh && rosmake ros ros_comm --rosdep-install' returned non-zero exit status 1 On Mar 25, 2011, at 9:48 AM, John Muccigrosso wrote:
On 25 Mar 2011, at 12:22 , Jeremy Huddleston wrote:
I'm curious what it is requesting. Is this a free application? Where can I get it?
It's all free. :-)
ros.org has everything. It's the pcd_viewer app which is part of perception_pcl.
I haven't done much to look at where the error is occurring, but I could send more info to the list or you off-line, if that makes sense.
John
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
On 25 Mar 2011, at 20:46 , Jeremy Huddleston wrote:
The install instructions on the site are wrong vor various reasons: 1) They want to use MP's python, but they have you execute easy_install from /usr/bin... they should have you execute easy_install-2.6 2) The install-path for rosinstall is not in $PATH ... though this is probably a MP bug 3) The install fails:
Give me trivial install instructions (that I can copy-paste while in a temp directory, or a tarball, ...), and I'll try it again.
Jeremy, I used the instructions here for installation of their latest version, Diamondback (turtle theme) on OS X: http://www.ros.org/wiki/diamondback/Installation/OSX Well, I should say that I used the older version of these instructions. It's been updated a bit. I did the full-install option. Assuming that goes well, you may need to install the perception_pcl stack on its own (I don't remember whether it's part of the base install): http://www.ros.org/wiki/perception_pcl IIRC, there are various possible little things that may crop up along the way, so you may not find it worth your while if that happens. (There's a problem with flann in particular, but it's easily fixed, if they haven't updated the version.) I appreciate the help. John
On Mar 25, 2011, at 6:05 PM, John Muccigrosso wrote:
On 25 Mar 2011, at 20:46 , Jeremy Huddleston wrote:
The install instructions on the site are wrong vor various reasons: 1) They want to use MP's python, but they have you execute easy_install from /usr/bin... they should have you execute easy_install-2.6 2) The install-path for rosinstall is not in $PATH ... though this is probably a MP bug 3) The install fails:
Give me trivial install instructions (that I can copy-paste while in a temp directory, or a tarball, ...), and I'll try it again.
Jeremy,
I used the instructions here for installation of their latest version, Diamondback (turtle theme) on OS X:
Yeah, those are the instructions that are incorrect and still produce an error once I "do what they mean, not what they say".
Well, I should say that I used the older version of these instructions. It's been updated a bit. I did the full-install option.
Can you get me a copy of the old instructions?
participants (2)
-
Jeremy Huddleston
-
John Muccigrosso