[Bug] Issue with `Visdom.check_connection` method on the first call
See original GitHub issueHi,
There is an issue appeared with the version 0.1.8.1 such that in one terminal I run :
# python3 -m visdom.server
Downloading scripts. It might take a while.
It's Alive!
INFO:root:Application Started
You can navigate to http://68a369ae3552:8097
and without exiting the server in the next terminal I run multiple times vis.check_connection()
to check the connection:
# python3 -c "import time, visdom; vis=visdom.Visdom(); print([vis.check_connection() for _ in range(5)])"
> [False, True, True, True, True]
# python3 -c "import time, visdom; vis=visdom.Visdom(); print([vis.check_connection() for _ in range(5)])"
> [False, True, True, True, True]
same in the console:
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
>>> import visdom; v = visdom.Visdom(); print(v.check_connection())
False
>>> import visdom; v = visdom.Visdom(); print(v.check_connection())
True
>>> import visdom; v = visdom.Visdom(); print(v.check_connection())
True
Probably, it is not a correct behaviour. Any suggestions to workaround, please ? Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
[Bug] Issue with Visdom.check_connection method on the first ...
Hi, There is an issue appeared with the version 0.1.8.1 such that in one terminal I run : # python3 -m visdom.server Downloading...
Read more >Dynamic Bandwidth Detection (BWCheck) - Wowza Community
Hi! I've played a bit with BWCheck module and found probable bug here: line #128 (ModuleBWCheck2.java):. deltaTime = (double) ((now - start) ...
Read more >Printer won't stay connected to network, drops constantly! - iFixit
I am able to successfully configure it and it works for an hour or so but the next day it displays an error...
Read more >A Guide to Microvisor Networking - Twilio
Discover how application code can take advantage of Twilio Microvisor's powerful, flexible, and secure Internet connectivity.
Read more >Test Builds - Sequel Pro
Commit Status Age Author
cbf4cea55b Pending 2 years, 5 months Abhi Beckert
0e28394387 Pending 2 years, 5 months Abhi Beckert
22325d265f Pending 2 years, 5 months...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@JackUrb yes I have the same impression that it is related with the initialization time. I think this could be a workaround:
Thanks for the catch! I’ll see what’s going on here and push a fix asap!