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.

[OSError] visdom fails to start

See original GitHub issue

When simply executing python -m visdom.server in CMD, I get the following error.

C:\Users\sande>python -m visdom.server Traceback (most recent call last): File "C:\Users\sande\AppData\Local\Programs\Python\Python35\lib\runpy.py", line 184, in _run_module_as_main "__main__", mod_spec) File "C:\Users\sande\AppData\Local\Programs\Python\Python35\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\sande\AppData\Local\Programs\Python\Python35\lib\site-packages\visdom\server.py", line 636, in <module> download_scripts() File "C:\Users\sande\AppData\Local\Programs\Python\Python35\lib\site-packages\visdom\server.py", line 616, in download_scripts with open(filename, 'wb') as fwrite: OSError: [Errno 22] Invalid argument: 'C:\\Users\\sande\\AppData\\Local\\Programs\\Python\\Python35\\lib\\site-packages\\visdom/static/fonts/glyphicons-halflings-regular.eot?#iefix'

Running; Window 10.1. Python 3.5.2. Visdom 0.1.6.1.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
dominikandreascommented, Nov 7, 2017

The problem is that windows doesn’t allow “?” in filenames. A quick fix for windows users would be to delete the corresponding entry in ext_files in server.py

        '%sfonts/glyphicons-halflings-regular.eot?#iefix' % bb:
            'glyphicons-halflings-regular.eot?#iefix',

(lines 568-569)

@lvdmaaten Since this seems to correspond to internet explorer only, this should be an acceptable change right? I’ll go ahead and create a pull request

0reactions
JackUrbcommented, Nov 17, 2017

Closing as the ironic fix for this has already landed and is now in the pip version

Read more comments on GitHub >

github_iconTop Results From Across the Web

[OSError] visdom fails to start · Issue #195 - GitHub
When simply executing python -m visdom.server in CMD, I get the following error. C:\Users\sande>python -m visdom.server Traceback (most ...
Read more >
How could 2 separatedly running visdom data merged into 1 ...
Try to create separate envs and select the one you want to see in visdom directly.
Read more >
Python handling socket.error: [Errno 104] Connection reset by ...
When using Python 2.7 with urllib2 to retrieve data from an API, I get the error [Errno 104] Connection reset by peer ....
Read more >
OSError: libespeak.so.1: cannot open shared object file: No ...
Hello everyone! This web app is a virtual assistant (takes a sound and does what the user says). I deploy it on streamlit...
Read more >
LOG_ARCHIVE_DEST on share and O/S-Error: (OS 3)
Hi, in 8i, I have given log_archive_dest_1 = "location=W:\backup\arch" where W is a shared disk. But when starting up : SQL> startup
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