# When saving a table to a file that is opened, no error is shown

**URL:** <https://discourse.slicer.org/t/when-saving-a-table-to-a-file-that-is-opened-no-error-is-shown/8087>\
**Category:** Support\
**Tags:** bug\
**Created:** [August 19, 2019, 10:19am UTC](https://discourse.slicer.org/t/when-saving-a-table-to-a-file-that-is-opened-no-error-is-shown/8087 "2019-08-19T10:19:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoostJM](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/joostjm/32/1091_2.png) [@JoostJM](https://discourse.slicer.org/u/JoostJM)\
**Post date:** [August 19, 2019, 10:19am UTC](https://discourse.slicer.org/t/when-saving-a-table-to-a-file-that-is-opened-no-error-is-shown/8087/1 "2019-08-19T10:19:10Z")

</div>

When trying to save a tablenode to a file that is open (using `slicer.util.saveNode`), the debug log shows:

`[ERROR][VTK] 19.08.2019 12:16:13 [vtkDelimitedTextWriter (000000001D364F00)] (D:\D\P\Slicer-0-build\VTK\IO\Core\vtkDelimitedTextWriter.cxx:91) - Unable to open file`

However, `slicer.util.saveNode` still returns `True`. How can I detect if Slicer stored the table successfully from my script?

Slicer 4.11-2019-05-13  
Windows 7

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 22, 2019, 2:28am UTC](https://discourse.slicer.org/t/when-saving-a-table-to-a-file-that-is-opened-no-error-is-shown/8087/2 "2019-08-22T02:28:49Z")

</div>

Thanks for reporting this. I’ve fixed this now (in r28455).
