isarandi / poseviz

3D Human Pose Visualizer for Python
MIT License
128 stars 15 forks source link

The demo problem #1

Closed LeeHY-1 closed 1 year ago

LeeHY-1 commented 2 years ago

Hello, I tried to run the demo.py, but the output is as follows:

The X11 connection broke: No error (code 0) XIO: fatal IO error 22 (Invalid argument) on X server "localhost:10.0" after 400 requests (400 known processed) with 0 events remaining.

And I found it happened after this line: viz = poseviz.PoseViz(joint_names, joint_edges)

How to solve it? My operating system is Ubuntu 18.04.5 LTS.

isarandi commented 1 year ago

It seems to be a problem with the X11 window management. It doesn't seem specific to PoseViz. Try to get a functioning Mayavi setup first. The conda-forge build seems to work well.