# Error when script end

**URL:** <https://discourse.obspy.org/t/error-when-script-end/360>\
**Category:** Users Mailing List Archive\
**Tags:** archive\
**Created:** [October 13, 2014, 4:14pm UTC](https://discourse.obspy.org/t/error-when-script-end/360 "2014-10-13T16:14:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergio59](https://discourse.obspy.org/user_avatar/discourse.obspy.org/sergio59/32/477_2.png) [@sergio59](https://discourse.obspy.org/u/sergio59)\
**Post date:** [October 13, 2014, 4:14pm UTC](https://discourse.obspy.org/t/error-when-script-end/360/1 "2014-10-13T16:14:38Z")

</div>

Hi all

I have made a script to plot daily waveform.  
When finished it give me this error:

Exception TypeError: "'NoneType' object is not callable" in \<bound method WaveformPlotting.\_\_del\_\_ of \<obspy.imaging.waveform.WaveformPlotting object at 0xacd07cc\>\> ignored

Why?

Regards,

Sergio

---

<div class="post-metadata">

**Author:** ![Peter\_Danecek1](https://discourse.obspy.org/user_avatar/discourse.obspy.org/peter_danecek1/32/1123_2.png) [@Peter\_Danecek1](https://discourse.obspy.org/u/Peter_Danecek1)\
**Post date:** [October 13, 2014, 5:20pm UTC](https://discourse.obspy.org/t/error-when-script-end/360/2 "2014-10-13T17:20:18Z")

</div>

Hi Sergio,  
probably the best way to get some answer, would be to provide a small script (or a sequence of interactive commands) reproducing this problem. Otherwise, it will be difficult to provide some useful hint.

~petr
