# Errors in Python in server side of vtk.js

**URL:** https://discourse.paraview.org/t/errors-in-python-in-server-side-of-vtk-js/6549
**Category:** ParaView Support
**Created:** [February 24, 2021, 4:45pm UTC](https://discourse.paraview.org/t/errors-in-python-in-server-side-of-vtk-js/6549 "2021-02-24T16:45:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Luis\_Carlos\_Carneiro](https://discourse.paraview.org/user_avatar/discourse.paraview.org/luis_carlos_carneiro/32/5986_2.png) [@Luis\_Carlos\_Carneiro](https://discourse.paraview.org/u/Luis_Carlos_Carneiro)
#### Post date: [February 24, 2021, 4:45pm UTC](https://discourse.paraview.org/t/errors-in-python-in-server-side-of-vtk-js/6549/1 "2021-02-24T16:45:41Z")

</div>

Dear All,

Are there some way from server side python handler in Python to display runtime errors?  
Using pvpython. Command line below.

“c:\Program Files\ParaView 5.9.0-RC2-Windows-Python3.8-msvc2017-64bit\bin\pvpython.exe” .\server\vtkpython\vtkw-server.py --content .\dist --port 1234

vtk\_protocol.py - python mouse event handler

Thanks,

Luís Gonçalves

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [February 24, 2021, 5:07pm UTC](https://discourse.paraview.org/t/errors-in-python-in-server-side-of-vtk-js/6549/2 "2021-02-24T17:07:57Z")

</div>

try / catch / print…  
Otherwise the stack trace is available on the client side if you setup catch the rpc calls…
