Open khavernathy opened 4 years ago
I'm having this issue too, more or less. I have X11 set up on a remote server, but when I run pptk.viewer(xyz)
, it just sits there.
Might have had the same issue as you @rlangefe, with X11 forwarding from a linux server, e.g. matplotlib visualizations work, but pptk just sat there. My problem was resolved by following instructions in #3
I have had a lot of trouble trying to get
pptk.viewer()
to run on CentOS without root privilege.The main limitation is that
pptk/viewer/viewer.py
uses a socket to start up the viewer. The program just hangs after callingpptk.viewer()
:After ^C it shows that the program was hanging on
x = s.accept()
After changing
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
tos = socket.socket(socket.AF_INET, socket.SOCK_STREAM, socket.SO_REUSEADDR, 1)
in
pptk/viewer/viewer.py
I get