[OSError] visdom fails to start
See original GitHub issueWhen 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:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top GitHub Comments
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(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
Closing as the ironic fix for this has already landed and is now in the pip version