# \[ ERROR \] Calling method 'log\_message' of listener

**URL:** <https://forum.robotframework.org/t/error-calling-method-log-message-of-listener/7468>\
**Category:** Robot Framework\
**Created:** [23 June 2024 10:50 UTC](https://forum.robotframework.org/t/error-calling-method-log-message-of-listener/7468 "2024-06-23T10:50:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vshruti](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@vshruti](https://forum.robotframework.org/u/vshruti)\
**Post date:** [23 June 2024 10:50 UTC](https://forum.robotframework.org/t/error-calling-method-log-message-of-listener/7468/1 "2024-06-23T10:50:20Z")

</div>

My test case is failing with below error message.  
[ERROR] Calling method ‘log\_message’ of listener ‘C:\Users\vassai01\Devapps\Python\Lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py’ failed: AttributeError: ‘Output’ object has no attribute ‘\_xmllogger’  
Log: C:\Users\vassai01\AppData\Local\Temp\1\RIDEsx7rzmqx.d\log.html  
Report: C:\Users\vassai01\AppData\Local\Temp\1\RIDEsx7rzmqx.d\report.html

Installed below version RIDE and Python -  
RIDE - 2.0.8.1  
Python - 3.11.0

---

<div class="post-metadata">

**Author:** ![falcon030](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/falcon030/32/3420_2.png) [@falcon030](https://forum.robotframework.org/u/falcon030)\
**Post date:** [23 June 2024 12:03 UTC](https://forum.robotframework.org/t/error-calling-method-log-message-of-listener/7468/2 "2024-06-23T12:03:54Z")

</div>

@vshruti I think it has something to do with RIDE not yet supporting Robot Framework v7 [Is there an error in running test cases on the robotframework ride? - Stack Overflow](https://stackoverflow.com/questions/78138544/is-there-an-error-in-running-test-cases-on-the-robotframework-ride)

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [23 June 2024 12:12 UTC](https://forum.robotframework.org/t/error-calling-method-log-message-of-listener/7468/3 "2024-06-23T12:12:52Z")

</div>

Feels like a bug in of sorts on RIDE 2.0.8.1. If i deduct what could be wrong, testrunneragent checks \_xmllogger if the message has been seen but fails cuz its not there. As that particular version of ride is already bit old, this could be even some dependency mismatch but maybe @HelioGuilherme66 could take a look ?

However, codepath that triggers this has been already removed here; [Remove non-api dependency to Robot Framework (#2700) · robotframework/RIDE@029977c · GitHub](https://github.com/robotframework/RIDE/commit/029977ce613678452d365844b9d8302074cb402f)

So maybe you could try to install RIDE from github straight if everything else fails…

---

<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:** [23 June 2024 14:12 UTC](https://forum.robotframework.org/t/error-calling-method-log-message-of-listener/7468/4 "2024-06-23T14:12:50Z")

</div>

To troubleshoot error messages in RIDE, you should always run the test from command line to be sure it is from RIDE and not Robot Framework.

Try with current development version, like @rasjani suggested.
