# Error on running trace from the CMD interface.

**URL:** https://discourse.paraview.org/t/error-on-running-trace-from-the-cmd-interface/6786
**Category:** ParaView Support
**Tags:** python
**Created:** [March 24, 2021, 12:09pm UTC](https://discourse.paraview.org/t/error-on-running-trace-from-the-cmd-interface/6786 "2021-03-24T12:09:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Sounak\_Majumder](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sounak_majumder/32/6284_2.png) [@Sounak\_Majumder](https://discourse.paraview.org/u/Sounak_Majumder)
#### Post date: [March 24, 2021, 12:09pm UTC](https://discourse.paraview.org/t/error-on-running-trace-from-the-cmd-interface/6786/1 "2021-03-24T12:09:51Z")

</div>

Hello everyone,  
I created a basic trace which creates a sphere with a simple half-plane clip. The trace runs fine with the python shell within the GUI framework. However, when I try to run the file using PvPython as instructed in [https://www.paraview.org/Wiki/PvPython\_and\_PvBatch](https://www.paraview.org/Wiki/PvPython_and_PvBatch), an attribute error throws up:

 ![freesnippingtool.com_capture_20210324173419](https://discourse.paraview.org/uploads/default/original/2X/9/9e2a123fdac8bb023163befd6a0ee5dad2bcbc7e.jpeg)  
Help in this regard would be appreciated.  
Thanks,  
Sounak  
My OS: 64-bit Microsoft Windows  
Paraview Downloaded from ParaView Downloads
