Skip to content
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

view code does not work #29

Closed
mysablehats opened this issue Dec 14, 2018 · 2 comments
Closed

view code does not work #29

mysablehats opened this issue Dec 14, 2018 · 2 comments

Comments

@mysablehats
Copy link

Hi,

I am not sure if this is a bug or not. Basically, opening source code for a state using the button view source, errors out with the message:
Unable to open state in editor: TypeError: Cannot read property 'getFilePath' of undefined

I've described the bug maybe a bit better here ( https://answers.ros.org/question/310698/flexbe-wont-show-source-code/ ), but I thought it was worth opening an issue as well.

I believe that this is a problem in ui_panels_stateproperties.js l:676, where WS.Statelib.getFromLib(state_class) is returning nonsense.

I get from that that maybe my statelib is not configured properly (?) and I wonder what I did wrong.

Thank you very much from the help!

@pschillinger
Copy link
Member

Thank you for reporting the bug! You did nothing wrong, the error was due to a recent change and I fixed it now. Sorry for the inconvenience!

@mysablehats
Copy link
Author

Changes work as expected. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants