Open emettely opened 8 years ago
Also having this issue, same console output (within local variations).
I faced this today, just change the port, it seems another server is already using it. Go to Preferences -> Package Settings -> OmniMarkupPreviewr -> Settings - User and change the port:
{
"server_host": "0.0.0.0",
"server_port": 9998
}
that should work.
I'm pretty sure that is a solution to a different issue. The main problem here is the traceback being produced in the console, not the error message the page produces. Changing the port number does not fix this issue (at least on my machine).
Follow @pahko 's advise, my st2 on Mac OSX works.
The key thing is to change the "server_host"
to 0.0.0.0
, rather than "server_port"
.
I don't know the root cause.
But who cares? it work~. (-_-|||)
even follow @pahko advice ,it still doesn't work on ubuntu 16.04
@AlphaGao1993 Have a try as follows http://stackoverflow.com/questions/35798823/omnimarkuppreviewer-404
https://heinika.github.io/2016/08/20/sublime%E9%97%AE%E9%A2%98/ follow this,it works on my machine
I've install another Sublime package "Markdown Preview" before, it seems they are in conflict.
I solve this problem
UnboundLocalError: local variable 'module_name' referenced before assignment
by Package Control: Remove Package -> Markdown Preview
It works for me.
change server port won't work on Windows 10 either, still 404
Hello,
When I open OmniMarkupPreviewer on Firefox, this is displayed:
Error: 404 Not Found
Sorry, the requested URL 'http://127.0.0.1:51004/view/31' caused an error:
I have Python 2.7.6 This is what it says in the console:
Please help!