Hello,
I’m using Linux (same problem on Linux Mint & Kubuntu).
First, I installed the “Can I Use” plugin, which can open a webbrowser to the site caniuse.com from a keyword in a CSS file. But it doesn’t open anything.
I thought the plugin was broken, but on a HTML file, right click + “Open in Browser” doesn’t work either.
So I start to search, and search, and search…
Finaly, I found something.
When I type this :
import webbrowser
webbrowser.get()
In the Sublime Text console, I got : webbrowser.Error: could not locate runnable browser
In the Python console (Linux Terminal), I got : <webbrowser.BackgroundBrowser object at 0x25f5910>
Obviously, if I type this :
import webbrowser
webbrowser.open_new_tab('http://google.com')
In the Sublime Text console, it returns false and nothing happens.
In the Python console (Linux Terminal), it returns true and my web browser open the page.
So, why the webbrowser doesn’t work inside Sublime Text 2 ?
Thank you