# In client / server mode, the paraview client does not respond after pvpython completes data operation

**URL:** <https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706>\
**Category:** ParaView Support\
**Tags:** vtk\
**Created:** [December 28, 2021, 9:53am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706 "2021-12-28T09:53:50Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![sofeiya2021](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sofeiya2021/32/7148_2.png) [@sofeiya2021](https://discourse.paraview.org/u/sofeiya2021)\
**Post date:** [January 5, 2022, 9:30am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/21 "2022-01-05T09:30:02Z")

</div>

![捕获1](https://discourse.paraview.org/uploads/default/original/2X/1/1991e3152ad893c474dde2e209c012c28bff41c6.png)

---

<div class="post-metadata">

**Author:** ![todoooo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/todoooo/32/2819_2.png) [@todoooo](https://discourse.paraview.org/u/todoooo)\
**Post date:** [January 5, 2022, 9:35am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/22 "2022-01-05T09:35:21Z")

</div>

What language is that? I suggest using Paraview 5.10 to return a meaningful error message.

I suspect what you’re seeing here is an error message in Chinese which has been garbled into ASCII.  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/4/437f0f1fe758beb949ce3d050d904a29f30ab568.png)

---

<div class="post-metadata">

**Author:** ![sofeiya2021](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sofeiya2021/32/7148_2.png) [@sofeiya2021](https://discourse.paraview.org/u/sofeiya2021)\
**Post date:** [January 5, 2022, 9:37am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/23 "2022-01-05T09:37:28Z")

</div>

Chinese Simplified

---

<div class="post-metadata">

**Author:** ![sofeiya2021](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sofeiya2021/32/7148_2.png) [@sofeiya2021](https://discourse.paraview.org/u/sofeiya2021)\
**Post date:** [January 6, 2022, 5:53am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/24 "2022-01-06T05:53:54Z")

</div>

with Paraview5.10.0,the error message is:

```auto
E:\pythonProject>python test.py
( 24.516s) [paraview] vtkSocket.cxx:459 ERR| vtkClientSocket (0000020FDCA60650): Socket error in call to connect. 鐢变簬杩炴帴鏂瑰湪涓€娈垫椂闂村悗娌℃湁姝ｇ‘绛斿鎴栬繛鎺ョ殑涓绘満娌℃湁鍙嶅簲锛岃繛鎺ュ皾璇曞け璐ャ €?
.
( 24.571s) [paraview] vtkClientSocket.cxx:51 ERR| vtkClientSocket (0000020FDCA60650): Failed to connect to server 192.168.20.60:11111
( 24.577s) [paraview]vtkTCPNetworkAccessMana:395 WARN| vtkTCPNetworkAccessManager (0000020FC8D20C90): Connect failed. Retrying for 38.911 more seconds.
( 46.641s) [paraview] vtkSocket.cxx:459 ERR| vtkClientSocket (0000020FDCA60650): Socket error in call to connect. 鐢变簬杩炴帴鏂瑰湪涓€娈垫椂闂村悗娌℃湁姝ｇ‘绛斿鎴栬繛鎺ョ殑涓绘満娌℃湁鍙嶅簲锛岃繛鎺ュ皾璇曞け璐ャ €?
.
( 46.647s) [paraview] vtkClientSocket.cxx:51 ERR| vtkClientSocket (0000020FDCA60650): Failed to connect to server 192.168.20.60:11111
( 46.649s) [paraview]vtkTCPNetworkAccessMana:395 WARN| vtkTCPNetworkAccessManager (0000020FC8D20C90): Connect failed. Retrying for 16.839 more seconds.
( 68.709s) [paraview] vtkSocket.cxx:459 ERR| vtkClientSocket (0000020FDCA60650): Socket error in call to connect. 鐢变簬杩炴帴鏂瑰湪涓€娈垫椂闂村悗娌℃湁姝ｇ‘绛斿鎴栬繛鎺ョ殑涓绘満娌℃湁鍙嶅簲锛岃繛鎺ュ皾璇曞け璐ャ €?
.
( 68.715s) [paraview] vtkClientSocket.cxx:51 ERR| vtkClientSocket (0000020FDCA60650): Failed to connect to server 192.168.20.60:11111
( 68.718s) [paraview]vtkTCPNetworkAccessMana:391 ERR| vtkTCPNetworkAccessManager (0000020FC8D20C90): Connect timeout.
Traceback (most recent call last):
  File "E:\pythonProject\test.py", line 3, in <module>
    cone = Cone()
  File "C:\Program Files\ParaView 5.10.0-Windows-Python3.9-msvc2017-AMD64\bin\Lib\site-packages\paraview\simple.py", line 2650, in CreateObject
    px = paraview._backwardscompatibilityhelper.GetProxy(module, key, no_update=True)
  File "C:\Program Files\ParaView 5.10.0-Windows-Python3.9-msvc2017-AMD64\bin\Lib\site-packages\paraview\_backwardscompatibilityhelper.py", line 881, in GetProxy
    return builtins.getattr(module, key)(**kwargs)
  File "C:\Program Files\ParaView 5.10.0-Windows-Python3.9-msvc2017-AMD64\bin\Lib\site-packages\paraview\servermanager.py", line 281, in __init__
    self.Initialize(None, update)
  File "C:\Program Files\ParaView 5.10.0-Windows-Python3.9-msvc2017-AMD64\bin\Lib\site-packages\paraview\servermanager.py", line 2590, in aInitialize
    raise RuntimeError ('Cannot create a proxy without a session.')
RuntimeError: Cannot create a proxy without a session.

```

test.py code:

```auto
from paraview.simple import *
Connect("192.168.20.60")
cone = Cone()
#shrinkFilter = Shrink(cone)
#Show(cone)
#Render()
collaboration_manager = servermanager.ActiveConnection.Session.GetCollaborationManager()
print("{0}".format(collaboration_manager.GetUserId()))
collaboration_manager.PromoteToMaster(collaboration_manager.GetUserId())

```

---

<div class="post-metadata">

**Author:** ![todoooo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/todoooo/32/2819_2.png) [@todoooo](https://discourse.paraview.org/u/todoooo)\
**Post date:** [January 6, 2022, 5:56am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/25 "2022-01-06T05:56:08Z")

</div>

That looks a whole lot better but I can’t read Chinese. Does it help you resolve the connection problem?

---

<div class="post-metadata">

**Author:** ![sofeiya2021](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sofeiya2021/32/7148_2.png) [@sofeiya2021](https://discourse.paraview.org/u/sofeiya2021)\
**Post date:** [January 6, 2022, 5:59am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/26 "2022-01-06T05:59:26Z")

</div>

> [@sofeiya2021](#):
>
> 1.on the first computer ,start pvserver.exe  
> start command
> 
> ```auto
> pvserver.exe --multi-clients
> 
> ```
> 
> 2.on the second computer,start Paraview GUI 5.10.0and connect to pvserver.exe  
> 3. run the test1.py,  
> test1.py

```auto
from paraview.simple import *
Connect("192.168.20.60")

collaboration_manager = servermanager.ActiveConnection.Session.GetCollaborationManager()
collaboration_manager.UpdateUserInformations()
collaboration_manager.PromoteToMaster(collaboration_manager.GetUserId())
collaboration_manager.UpdateUserInformations()

Cone()

collaboration_manager.PromoteToMaster(1)
collaboration_manager.UpdateUserInformations()

```

after running the test1.py,the paraview GUI 5.10.0does not respond

 ![paraview未响应10](https://discourse.paraview.org/uploads/default/original/2X/3/384ab559b81dc4698cd631d320104e1373989afa.png)

---

<div class="post-metadata">

**Author:** ![sofeiya2021](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sofeiya2021/32/7148_2.png) [@sofeiya2021](https://discourse.paraview.org/u/sofeiya2021)\
**Post date:** [January 6, 2022, 6:01am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/27 "2022-01-06T06:01:26Z")

</div>

> [@todoooo](#):
>
> That looks a whole lot better but I can’t read Chinese. Does it help you resolve the connection problem?

This Chinese is similar to garbled code. It can’t help me solve the connection problem

---

<div class="post-metadata">

**Author:** ![todoooo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/todoooo/32/2819_2.png) [@todoooo](https://discourse.paraview.org/u/todoooo)\
**Post date:** [January 6, 2022, 6:50am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/28 "2022-01-06T06:50:02Z")

</div>

Are both machines now running Paraview 5.10.0?

---

<div class="post-metadata">

**Author:** ![sofeiya2021](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sofeiya2021/32/7148_2.png) [@sofeiya2021](https://discourse.paraview.org/u/sofeiya2021)\
**Post date:** [January 7, 2022, 3:14am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/29 "2022-01-07T03:14:53Z")

</div>

yes,both computers running Paraview 5.10.0

---

<div class="post-metadata">

**Author:** ![todoooo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/todoooo/32/2819_2.png) [@todoooo](https://discourse.paraview.org/u/todoooo)\
**Post date:** [January 7, 2022, 3:24am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/30 "2022-01-07T03:24:49Z")

</div>

There’s clearly a problem with the error message which most likely contains value placeholders in a formatted string. I have just pushed a fix for that to VTK but it won’t help you right now.

I think this is a Windows permission problem. Since your computers are connected in a local network have you disabled the firewalls between the client and server machines?

---

<div class="post-metadata">

**Author:** ![sofeiya2021](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sofeiya2021/32/7148_2.png) [@sofeiya2021](https://discourse.paraview.org/u/sofeiya2021)\
**Post date:** [January 7, 2022, 3:35am UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/31 "2022-01-07T03:35:14Z")

</div>

I’m sure it’s not a computer permission problem, because my project involves three types of files, T3D, S3D and D3D. Among them, T3D files will not get stuck, and the other two files will get stuck

---

<div class="post-metadata">

**Author:** ![todoooo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/todoooo/32/2819_2.png) [@todoooo](https://discourse.paraview.org/u/todoooo)\
**Post date:** [February 8, 2022, 9:29pm UTC](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706/32 "2022-02-08T21:29:18Z")

</div>

The Paraview nightly build should now generate a meaningful error message in Chinese. Please try it.

[Previous page](https://discourse.paraview.org/t/in-client-server-mode-the-paraview-client-does-not-respond-after-pvpython-completes-data-operation/8706.md?page=1)
