# Error while debugging the robot script

**URL:** <https://forum.robotframework.org/t/error-while-debugging-the-robot-script/3289>\
**Category:** Robot Framework\
**Created:** [17 February 2022 03:14 UTC](https://forum.robotframework.org/t/error-while-debugging-the-robot-script/3289 "2022-02-17T03:14:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robottester](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@robottester](https://forum.robotframework.org/u/robottester)\
**Post date:** [17 February 2022 03:14 UTC](https://forum.robotframework.org/t/error-while-debugging-the-robot-script/3289/1 "2022-02-17T03:14:35Z")

</div>

I am getting below error while trying to debug my script (Run is working)  
An internal error occurred during: “Agent connection server”.  
No enum constant org.rf.ide.core.execution.agent.Status.NOT RUN

Console:  
[ERROR] Calling method ‘report\_file’ of listener ‘C:\Users\Tinaa\AppData\Local\Temp\RobotTempDir16861958108385388195\TestRunnerAgent.py’ failed: ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine  
Report: C:\report.html  
Traceback (most recent call last):  
File “C:\Users\user\AppData\Local\Temp\RobotTempDir16861958108385388195\TestRunnerAgent.py”, line 782, in \_send\_to\_server  
self.decoder\_encoder.dump(packet)  
File “C:\Users\user\AppData\Local\Temp\RobotTempDir16861958108385388195\TestRunnerAgent.py”, line 840, in dump  
self.\_write(self.\_json\_encoder(obj))  
File “C:\Users\user\AppData\Local\Temp\RobotTempDir16861958108385388195\TestRunnerAgent.py”, line 847, in \_write  
self.\_file\_to\_write.flush()  
File “C:\Python\lib\socket.py”, line 723, in write  
return self.\_sock.send(b)  
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine  
[ERROR] Calling method ‘close’ of listener ‘C:\Users\user\AppData\Local\Temp\RobotTempDir16861958108385388195\TestRunnerAgent.py’ failed: ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [17 February 2022 09:58 UTC](https://forum.robotframework.org/t/error-while-debugging-the-robot-script/3289/2 "2022-02-17T09:58:40Z")

</div>

Hello @robottester

Robot Framework is the “framework” for many solutions and working environments. Users can choose many IDE and test runners as they wish. This is to say that we at this “business” and QA related profession, should always give some minimal context of what tool or versions they are reporting against.

I know that a Python script named `TestRunnerAgent.py` appeared first on the [RIDE](https://github.com/robotframework/RIDE) project, and then was adopted by other IDE, like RED for example.

The output you show is not from RIDE, and I doubt anyone can help you with so little info.
