pschillinger / rqt_launchtree

An RQT plugin for hierarchical launchfile configuration introspection.
BSD 3-Clause "New" or "Revised" License
47 stars 21 forks source link

Error "sh: 1: None: not found" #10

Open 130s opened 7 years ago

130s commented 7 years ago

AFAI tried, clicking open button for any launch files results in the error on commandline:

sh: 1: None: not found

For example, I tried at random with:

$ rospack find gazebo_ros
/opt/ros/indigo/share/gazebo_ros
$ rospack find fetch_navigation
/opt/ros/indigo/share/fetch_navigation

Using this commit https://github.com/pschillinger/rqt_launchtree/commit/5f6174ba02abf3840ae719f72cc8f3b71291f83a on Ubuntu 14.04

pschillinger commented 7 years ago

Likely results from the editor command. Which editor are you usually using and which one is set in the config?

130s commented 7 years ago

On the same computer but today I got gedit opened, which is fine for me (I normally use emacs in any ROS and non-ROS context).

which one is set in the config?

Which config are you referring to? I saw in the source that says setting but I couldn't figure this out. The fact that I got an error before means that it might happen again. Opening an editor feature is very nice so we'd probably want to dig deeper.

pschillinger commented 7 years ago

I'm referring to the configuration which you open via the gear icon in the upper right corner of the widget. This will ask you for an editor.

It defaults to gedit as this editor is usually installed per default in Ubuntu as far as I know. But if it isn't or if the command is different, it might result in the above error.