question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nothing shows up on the local client

See original GitHub issue

when i run the python example code on jupyter notebook ,nothing shows up on the client and there is no error. i’m running python3.5.2 on windows, with visdom 0.1.5 pip installed. i’m running the code:

import visdom
import numpy as np
vis = visdom.Visdom()
vis.text('Hello, world!')
vis.image(np.ones((3, 10, 10)))

the putput is 'pane_356f8b50f9580a'. it seems to be correctly creating a pane, but there is nothing showing up on http://localhost:8097/. and the visdom server gave:

It's Alive!
INFO:tornado.access:304 GET / (::1) 3.01ms
INFO:tornado.access:304 GET /favicon.png (::1) 1.00ms
INFO:tornado.access:200 POST /events (::1) 0.00ms
INFO:tornado.access:200 POST /events (::1) 1.00ms

any idea about what’s wrong? thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Sep 18, 2017

@lvdmaaten @ajabri @praveenofpersia Thank you very much, it works now. It’s the same issue as #111 and #128. The Developer Javascript Console shows that the browser can not fetch the following external javascript dependencies from the web:

https://cdn.rawgit.com/STRML/react-grid-layout/0.14.0/dist/react-grid-layout.min.js
https://cdn.rawgit.com/plotly/plotly.js/master/dist/plotly.min.js

This problem can be solved by downloading the packages or using proxy, like y406539259 said in #111.

  1. Get the plotly.min.js and react-grid-layout.min.js files from plotly.js and react-gird-layout.
  2. Put them in where_you_install_visdom/visdom/static/js/.
  3. Add/Change the search path of them in where_you_install_visdom/visdom/static/index.html, like this:
<!-- Other deps -->
......
<script src={{ static_url("js/react-grid-layout.min.js") }}></script>

<!-- Plotly -->
<script src={{ static_url("js/plotly.min.js") }}></script>

Web browser can fetch them locally now and Visdom works!

Thank you all!

0reactions
ajabricommented, Sep 14, 2017

Yes, please check out #111 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Network Computers are not Showing Up in Windows 10/11
Then go to Settings -> Network and Internet -> Ethernet (or select Wi-Fi, if you are connected to a local network through a...
Read more >
nothing shows up on the local client · Issue #141 - GitHub
when i run the python example code on jupyter notebook ,nothing shows up on the client and there is no error. i'm running...
Read more >
Blank desktop after you log on - Windows Client
Method 1 · Click Start, Run, type lusrmgr.msc, and then press ENTER. · Select Groups in the left pane. · Double-click Users in...
Read more >
Windows 10 Computer Not Showing Up on the Network? 6 ...
There are a few services that need to be running on your PC for it to appear on the network. If they aren't...
Read more >
FIX: Windows 10 Network Computers Not Showing in Explorer ...
This article contains instructions to fix the following issue in Windows 10: Network Computers Not Showing in Explorer. The issue commonly appears after ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found