Visdom display abnormally: blank blue screen or messy layout.
See original GitHub issueBug Description I am using visdom in a remote headless machine, and I use port forwarding to visit visdom. I map my local machine’s 8098 port to the remote’s 8097. I’ve done this several times and it works well. However, I rent a new machine and reinstall visdom recently, and visdom cease to function. Visdom cannot display nomally.
Reproduction Steps Enter steps to reproduce the behavior:
- Install visdom in the remote machine(Ubuntu 18.04), map 8097 to the remote’s 8098
- Config SSH port forwarding
- Visit localhost:8098
Screenshots
When I visit http://localhost:8098/
, the display is as follows:
As we can see, the layout is quite messy. Even I try to display some text through visdom.text
, nothing appears.
and if I visit http://127.0.0.1:8098/
, I get a blue blank screen like this:
Server logs:
For any issues, please include the server logs. These are printed directly to stdout on the machine running visdom
(python -m visdom.server
).
root@C.518834:~$ python -m visdom.server /opt/conda/lib/python3.7/site-packages/visdom/server.py:39: DeprecationWarning: zmq.eventloop.ioloop is deprecated in pyzmq 17. pyzmq now works with default tornado and asyncio eventloops. ioloop.install() # Needs to happen before any tornado imports! Checking for scripts. Downloading scripts, this may take a little while It’s Alive! INFO:root:Application Started You can navigate to http://localhost:8097 INFO:tornado.access:304 GET / (127.0.0.1) 22.54ms INFO:tornado.access:304 GET /static/fonts/glyphicons-halflings-regular.woff2 (127.0.0.1) 2.23ms INFO:tornado.access:101 GET /socket (127.0.0.1) 1.16ms INFO:root:Opened new socket from ip: 127.0.0.1 INFO:tornado.access:200 GET /favicon.png (127.0.0.1) 20.49ms INFO:tornado.access:200 POST /env/main (127.0.0.1) 1.73ms INFO:tornado.access:200 POST /env/main (127.0.0.1) 9.66ms INFO:tornado.access:304 GET /extensions/MathMenu.js?V=2.7.1 (127.0.0.1) 19.57ms INFO:tornado.access:304 GET /extensions/MathZoom.js?V=2.7.1 (127.0.0.1) 23.99ms INFO:tornado.access:200 GET / (127.0.0.1) 20.23ms INFO:tornado.access:200 GET /favicon.png (127.0.0.1) 20.21ms INFO:tornado.access:304 GET /extensions/MathMenu.js?V=2.7.1 (127.0.0.1) 19.77ms INFO:tornado.access:304 GET /extensions/MathZoom.js?V=2.7.1 (127.0.0.1) 24.67ms
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (8 by maintainers)
Top GitHub Comments
Also, in the first case(localhost:8098), the browser gives a “File failed to load: /extensions/MathZoom.js” message.
Hey i solved my problem by running
npm audit fix