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.

Python example works but not lua

See original GitHub issue

installed as required but found lua examples are not working

| visdom http request failed: host or service not provided, or not known
| visdom http request failed: host or service not provided, or not known
| visdom http request failed: host or service not provided, or not known
| visdom http request failed: host or service not provided, or not known
...

But python code works fine and can see in port 8097.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
bongmocommented, Mar 23, 2017

@junhocho @SSeanHsu Would you please test following code? and I made ~/.ssh/config file with LocalForward 127.0.0.1:8097 127.0.0.1:8097

require 'image'
vis = require 'visdom'()
vis.ipv6 = false -- in my case vis.ipv6 was true
vis:text{text = 'Hello, world!'}
vis:image{img = image.fabio()}
0reactions
lvdmaatencommented, Mar 23, 2017

I updated the README.md accordingly: https://github.com/facebookresearch/visdom/commit/feb3bd847635c0e0bbc47f2a9909fe7711607bc6

Closing this issue for now. Feel free to re-open it if the work-around does not work for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lua vs Python | Top 12 Differences You Should Know - eduCBA
The Lua does not support inheritance but it implements using the Lua Meta table. The Python language inherits methods and properties of the...
Read more >
scripting - Why Python and not Lua?
Python is used in a lot of games for embedded scripting too, but it's heavy and slower than Lua. The syntax of Python...
Read more >
Difference between Python and Lua Programming Language
Lua is a high-level, general-purpose scripting programming language which is the best choice of game developers. It has a simple syntax with a ......
Read more >
Lua script won't execute python script - Stack Overflow
When I put the command manually into my terminal, it works, but the lua script doesn't seem to be executing it. There is...
Read more >
Lua Versus Python - lua-users wiki
Python [1] is a popular programming language. Both Python and Lua are commonly embedded in applications to provide scripting support. Scripting ...
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