Traceback (most recent call last): rospy.sleep(1.) error when try to rsorun py script. What should I do?

ı want to simulate my py scripts on gazebo for iris drone with PX4. But I get issue: File “/home/abdulsamet/catkin_ws/src/tulpar/scripts/drawline.py”, line 363, in moveX(3, 2) File “/home/abdulsamet/catkin_ws/src/tulpar/scripts/drawline.py”, line 196, in moveX rate.sleep() File “/opt/ros/melodic/lib/python2.7/dist-packages/rospy/timer.py”, line 103, in sleep sleep(self._remaining(curr_time)) File “/opt/ros/melodic/lib/python2.7/dist-packages/rospy/timer.py”, line 165, in sleep raise rospy.exceptions.ROSInterruptException(“ROS shutdown request”) rospy.exceptions.ROSInterruptException: ROS shutdown request

Traceback (most recent call last): rospy.sleep(1.) error when try to rsorun py script. What should I do?