# Anyone using CSV result listener

**URL:** <https://forum.opentap.io/t/anyone-using-csv-result-listener/2601>\
**Category:** General\
**Created:** [December 23, 2025, 3:13pm UTC](https://forum.opentap.io/t/anyone-using-csv-result-listener/2601 "2025-12-23T15:13:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![everthuijben](https://avatars.discourse-cdn.com/v4/letter/e/2bfe46/32.png) [@everthuijben](https://forum.opentap.io/u/everthuijben)\
**Post date:** [December 23, 2025, 3:13pm UTC](https://forum.opentap.io/t/anyone-using-csv-result-listener/2601/1 "2025-12-23T15:13:31Z")

</div>

Hi,  
I was starting to use the 9.14.2 CSV result listener.  
However for some reason I do not get any output file.  
When doing the same for the PyCSV (Part of the PythonExamples), it works out of the box.  
I am making use of OpenTAP 9.29.1  
I was expecting that a file was generated in a subfolder of the Opentap executables.  
See  
See next example, does anyone has an idea?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/2X/f/f66e598683845e3ec690333195d04a695f17a516.png)

---

<div class="post-metadata">

**Author:** ![rolf\_madsen](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rolf\_madsen](https://forum.opentap.io/u/rolf_madsen)\
**Post date:** [January 4, 2026, 8:51pm UTC](https://forum.opentap.io/t/anyone-using-csv-result-listener/2601/2 "2026-01-04T20:51:45Z")

</div>

Hi @everthuijben,

What you are expecting is the intended behavior, so something has gone wrong.

Did you get any error messages in the log when running?

---

<div class="post-metadata">

**Author:** ![everthuijben](https://avatars.discourse-cdn.com/v4/letter/e/2bfe46/32.png) [@everthuijben](https://forum.opentap.io/u/everthuijben)\
**Post date:** [January 5, 2026, 8:17am UTC](https://forum.opentap.io/t/anyone-using-csv-result-listener/2601/3 "2026-01-05T08:17:19Z")

</div>

Hi Rolf,  
I found that another testplan did have no issues,  
Now I see that the failing testplan is showing an exception which is causing the result listener to fail. Probably my Python teststep is publishing something to the CSV result listener which cannot be accepted.  
I have to investigated which exact value is causing the issue.

09:08:41.529 Python Append row: LimitID  
09:08:41.530 Python Append: 1000  
09:08:41.531 Python Append row: Value  
09:08:41.531 ResultProxy Caught exception in result handling task.  
09:08:41.531 ResultProxy InvalidCastException: Specified cast is not valid.  
09:08:41.531 Python Append: 3.041064  
09:08:41.531 ResultProxy at Python.Runtime.PyObject.DoConvertT  
09:08:41.531 ResultProxy at Python.Runtime.PyObject.ToString(IFormatProvider provider)  
09:08:41.531 ResultProxy at System.Convert.ToString(Object value, IFormatProvider provider)  
09:08:41.531 ResultProxy at Keysight.OpenTap.Plugins.Csv.CsvResultGenerator.ItemsToCsvStringBuffer(StringBuilder outStringBuffer, Char seperator, IEnumerable`1 items) 09:08:41.531 ResultProxy at Keysight.OpenTap.Plugins.Csv.CsvResultGenerator.writeResultsToBuffer(IEnumerable`1 results, List`1 selectedColumns, List`1 stepRunStack, Char seperator, Int32 stepIdentifier, String stepName, String planName, StringBuilder strBuffer)  
09:08:41.531 ResultProxy at Keysight.OpenTap.Plugins.Csv.CsvResultListener.OnResultPublished(Guid stepRunId, ResultTable result)  
09:08:41.531 ResultProxy at OpenTap.ResultSource.PublishResultTableInvokable.Invoke(IResultListener a, WorkQueue queue)  
09:08:41.531 ResultProxy Exception caught at:  
09:08:41.531 ResultProxy at Void Invoke(OpenTap.IResultListener, OpenTap.WorkQueue)  
09:08:41.531 ResultProxy at Void Invoke()  
09:08:41.531 ResultProxy at Void WorkerFunction()  
09:08:41.531 ResultProxy at Void Process()  
09:08:41.531 ResultProxy …  
09:08:41.531 TestPlan Removing faulty ResultListener ‘CSV’
