Page 1 of 1

opening browser from application SOLVED

Posted: Wed 07 Jan 2015, 12:44
by 666philb
i'm putting together a clementine.sfs for tahrpup but have run into a problem.
clementine has lots of options to integrate with online services such as google music,grooveshark etc.... but you need to login through clementine itself.

clicking the login button is supposed to open the defaultbrowser but it doesn't.
the terminal throws up this

Code: Select all

<?xml version="1.0"?>
<env:Envelope xmlns:env="http://www.w3.org/2001/12/soap-envelope"><env:Body xmlns:rox="http://rox.sourceforge.net/SOAP/ROX-Filer"><env:Fault xmlns:rpc="http://www.w3.org/2001/12/soap-rpc" xmlns:env="http://www.w3.org/2001/12/soap-envelope"><faultcode>Failed</faultcode><faultstring>https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=679260893280.apps.googleusercontent.com&redirect_uri=http://localhost:59931/&scope=https://www.googleapis.com/auth/drive.readonly%20https://www.googleapis.com/auth/userinfo.email: no handler for https</faultstring></env:Fault></env:Body></env:Envelope>
any ideas?

Posted: Wed 07 Jan 2015, 15:00
by 666philb
the solution is

Code: Select all

ln -s /usr/local/bin/defaultbrowser /root/Choices/URI/https
in a terminal

Posted: Sun 12 Mar 2017, 18:33
by Argolance
Bonjour,
This thread is marked as solved but the solution didn't solve my problem, which seems to be similar though:

Code: Select all

<?xml version="1.0"?>
<env:Envelope xmlns:env="http://www.w3.org/2001/12/soap-envelope"><env:Body xmlns:rox="http://rox.sourceforge.net/SOAP/ROX-Filer"><env:Fault xmlns:rpc="http://www.w3.org/2001/12/soap-rpc" xmlns:env="http://www.w3.org/2001/12/soap-envelope"><faultcode>Failed</faultcode><faultstring>/tmp/dbxlTZUtV3.html#ceab1215aa5e6c51dd211cb2051ddbeea0a7021f9438e0c8e786bfc5ffdb2949f59e737c45862b87a65332 n'est pas accessible</faultstring></env:Fault></env:Body></env:Envelope>
Note that the local file "dbxlTZUtV3.html" is present inside tmp/.
How to make the application to run this html file?

Any ideas?
Thank you a lot for your attention.

Cordialement.

Posted: Tue 14 Mar 2017, 08:31
by greengeek
I'm only guessing - but are /tmp permissions restricted in any way?

I don't know anything about using URIs but these links look interesting:
https://www.xml.com/pub/a/2005/04/13/na ... -uris.html
https://www.w3.org/QA/Tips/uri-choose
https://www.w3.org/QA/Tips/uri-manage

Also - what about trying the following (which may already be implied by default anyway...):

Code: Select all

ln -s /usr/local/bin/defaultbrowser /root/Choices/URI/http

Posted: Tue 14 Mar 2017, 11:12
by Argolance
Bonjour,
Thank you for replying and for the links.
This link "http" (implied by default), as well as the "https" I created, works when a menu entry of my application (Dropbox) calls such a web link. I have another one inside /root/Choices/URI/, which is on my Puppy by default, called "file", pointing to the default browser too.
It is really a pity because it is the only (non-essential) issue I experiment using Dropbox on Puppy!

Cordialement.