Invalid roslaunch XML syntax: no element found:

I have an error in my XML I cant run the first simple.py exercise, its proving difficult to trace as I dont know the correct syntax to use in the launch file,I suspect its the xml syntax,any help would be appreciated

Hi, please share the error output. A number of things could be causing the error. Try compiling again, sourcing your environment and parse through your packages with the following commands:

cd catkin_ws
rm -rf build/
rm -rf devel/
catkin_make
source devel/setup.bash
rospack profile

If it still gives an error, then try changing the node tag to this and launch again:

<launch>    

    <node pkg="my_package" type="simple.py" name="ObiWan" output="screen"/>

</launch>

it says Invalid roslaunch XML syntax: no element found: line 1, column 0

Did you try what I suggested? It seems like the launch file is not being recognized. Try pasting the code I shared and running it again.