-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run lcm-spy or bot-spy Due To java.lang.NoClassDefFoundError #3231
Comments
16.04 fails in a similar fashion. |
Do these tools still work for anyone? If not, seems like much worse that "medium" priority. I am also seeing this errors, and unable to run the spy tool. |
Adding more jars to my classpath seems to be a work-around:
|
Thanks for the workaround! I was using a months old clone of Drake (one prior to placing the build in |
See also lcm-proj/lcm#97. |
This is really fairly annoying. I'm going to work around it in my one shell script, but really we should get |
I've added some hack-arounds. Be sure to grep for this issue number and remove them, concurrently with fixing this issue. |
@jwnimmer-tri Would you mind sharing your workaround (is it the bot_spy_that_actually_works?)? This is currently blocking for us as we move up |
@wxmerkt Sure (and yes)! Here is the bash version that we were using for a while:
Since then we've ported it to python instead: drake/drake/automotive/automotive_demo.py Line 143 in 46cadd7
|
@liangfok This is high priority, but apparently not getting any attention. I just re-tested and it's still broken. Should we reassign this to @mwoehlke-kitware or are you working on it? |
I haven't started to work on it yet. I'll go ahead and assign it to @mwoehlke-kitware. |
My guess is this is blocked / fixed by lcm-proj/lcm#143 and corresponding changes to libbot which I believe @wxmerkt was working on... |
I've tested your fixes and fed back that they didn't work including output for both CMake-LCM and Autoconf-LCM(v1.3-lts), cf. lcm-proj/lcm#143 (comment). I'm not working on it/not blocking it. As far as I can tell it, @patmarion's hunch in lcm-proj/lcm#143 (comment) might have identified the issue that's causing this problem (i.e. dependent jars not being embedded?). |
@mwoehlke-kitware I agree that finishing that PR is the answer (and then just bumping Drake's sha). Could I ask you to help push it through to a resolution? |
Has there been any progress on this? Being able to run a bot-spy to inspect LCM traffic is a very basic and necessary functionality if you want to use Drake on an actual robot. I think it will end up being blocking for lots of people, or they will all have to implement this workaround. I have implemented the workaround for the moment but I am hoping this can be fixed in master soon. |
I bumped up Drake's LCM sha recently. It's possible that everything just works now. @liangfok do you want to retest and report back? |
I built drake master yesterday and it still didn't work. The bot-spy launches but you aren't able to actually inspect the messages. |
@mwoehlke-kitware, sounds like the ball is still in your court on this one. |
Update libbot to bring in RobotLocomotion/libbot2#2, which fixes the last remaining bits of RobotLocomotion#3231. This also switches us to the new repository which shares history with upstream. (The old repository was separately copied from the old subversion repository, and had the same content but not the same SHA's.)
The Error
The following errors were obtained on Ubuntu Linux 14.04.4 LTS.
lcm-spy Error
bot-spy Error
Prognosis
The error message mentions packages named "info/monitorenter/gui". This appears to be part of JChart2d.
Searching in
drake-distro
, I see thatJChart2d
exists:Thus, maybe there's a problem with the
CLASSPATH
?The text was updated successfully, but these errors were encountered: