While working on Visualstates with ROS2, I got the error of
IndexError: list index out of range
When I checked it with ROS1, I am getting same error here too, I didn't change anything in the code for ROS1. I am using ROS Melodic with Ubuntu 18.04.
This error is coming when I try to open .xml file in Visualstates GUI.
Exact error is:
Gtk-Message: 12:05:57.318: GtkDialog mapped without a transient parent. This is discouraged.
Traceback (most recent call last):
File "/home/pankhuri/catkin_ws/src/VisualStates/src/visualstates/gui/visualstates.py", line 205, in openAction
self.openFile(fileDialog.selectedFiles()[0])
File "/home/pankhuri/catkin_ws/src/VisualStates/src/visualstates/gui/visualstates.py", line 208, in openFile
(rootState, config, libraries, globalNamespace) = self.fileManager.open(fileName)
File "/home/pankhuri/catkin_ws/src/VisualStates/src/visualstates/parsers/filemanager.py", line 80, in open
globalNamespaceNode = doc.getElementsByTagName('VisualStates')[0].getElementsByTagName('global_namespace')[0]
IndexError: list index out of range
Aborted (core dumped)
@sudo-panda @pushkalkatara @okanasik Could you please suggest something for it?
While working on Visualstates with ROS2, I got the error of
IndexError: list index out of range
When I checked it with ROS1, I am getting same error here too, I didn't change anything in the code for ROS1. I am using ROS Melodic with Ubuntu 18.04.
This error is coming when I try to open .xml file in Visualstates GUI.
Exact error is:
@sudo-panda @pushkalkatara @okanasik Could you please suggest something for it?