0

When i run webbrowser.open() method, as in

python -c "import webbrowser; webbrowser.open_new_tab('http://www.google.it')"

The command open me a tab in the correct browser (chromium) but load a local copy of the file, in this case file:///var/tmp/kdecache-norby/krun/6225.0. that contains html but obviusly doesn't work as a dynamic page.

It fails with a debian unstable with KDE 4.4.5, contrairly with my Ubuntu installation where it work as expected. Any idea about the problem?

1 Answer 1

1

The problem is about kfmclient used by webbrowser module in KDE context. It wrongly openes remote files as local, as explained in http://portland.freedesktop.org/wiki/TaskOpenURL

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.