opening browser from application SOLVED

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

opening browser from application SOLVED

#1 Post 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?
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

the solution is

Code: Select all

ln -s /usr/local/bin/defaultbrowser /root/Choices/URI/https
in a terminal
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#3 Post 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.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#4 Post 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

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#5 Post 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.

Post Reply