ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

flexbe wont show source code

asked 2018-12-14 06:37:01 -0500

fbelmonteklein gravatar image

updated 2018-12-14 09:31:42 -0500

Hi All,

When I try to use the flexbe_app to show source code of a state in Statemachine Editor, I get the following error terminal error message

I've followed this tutorial and also installed ros-bridge and ran rosdep.

I run things with roslaunch flexbe_app flexbe_full.launch

I can run the first tutorial, so things seem okay enough.

I think I've located the line of the error in ui_panels_stateproperties.js, l:677, and I think it might be either

(1) a problem of trying to locate the default editor (?), but flexbe_app does open gedit when I ask to edit code from the main window,

(2) a path problem where my states are not really created properly as files or something is not being initialized(??)

Unfortunately I never used js, so I don't know what else to look for.

Thanks very much for the help!

Edit: I've rebuilt and sourced the workspace without generic_flexbe_states and the error seems to be the same. I can still see the different generic states when I try to "Add State", so I think maybe I am not loading them (?)

edit retag flag offensive close merge delete


Could you please attach your images directly to the question? I've given you sufficient karma for that.


gvdhoorn gravatar image gvdhoorn  ( 2018-12-14 08:13:12 -0500 )edit

Oh, thanks! Done.

fbelmonteklein gravatar image fbelmonteklein  ( 2018-12-14 09:03:53 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-12-18 07:36:12 -0500

Thank you for your question!

The "View Source" should normally work without any additional configuration and as you correctly pointed out, you can change the editor command in the Configuration page in case you want to use a different editor than gedit.

As answered in your Github issue, this was a bug due to a recent change and it is fixed now. Thank you for reporting!

edit flag offensive delete link more


Solved. Thank you!

fbelmonteklein gravatar image fbelmonteklein  ( 2018-12-19 05:07:31 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-12-14 06:37:01 -0500

Seen: 193 times

Last updated: Dec 18 '18