are there attempts to develop a revBrowser compatible with Linux ?

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

bogs
Posts: 2377
Joined: Sat Feb 25, 2017 10:45 pm

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by bogs » Fri Feb 09, 2018 4:27 pm

Not sure I understood the question, but let me bounce this off you.
kresten wrote:
Fri Feb 09, 2018 2:54 pm
I then downloaded the community version 8.1.8 and specified the installer as executable.
I take that to mean you went to properties/permissions, and set it as an executable program. When you clicked on it, nothing happens, is that right?

If it is, the next part is going to depend on how handy you are with the command line. Open a terminal where the executable is. I'm not sure if lubuntu has an 'Open terminal here' option or not, that would be easiest to use, other wise open the terminal and type the path to it like

Code: Select all

cd /home/kresten/Desktop/folder_Exe_Is_In
To make sure your in the right place, you can use 'dir' to list the files. Then type either

Code: Select all

./installerName
or

Code: Select all

sh./installerName
or if you know your admin password

Code: Select all

sudo ./installerName
This will start the installer and, if anything fails, you'll see why because the terminal is self logging, like so
Image
Minor errors are no big deal. Show stoppers would be missing libraries, not being able to find the path to specific .so files, etc.

Hope that helps.
Image

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2695
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by mwieder » Mon Feb 12, 2018 7:53 pm

Kresten-

Getting back to the original question, LC 7.0.6 is indeed the last version of LiveCode that will allow you to use a browser. After that point changes to the engine code to use the CEF browser made it incompatible with linux (or to paraphrase Ali "certain blahblahblah linuxes". Good luck with it after installation.

One more word of warning: the stack binary format has changed a few times, so if you are developing for other platforms using later versions of LC you should save the stack in legacy version 7 format. And note as well that you will not be able to use features or bugfixes released after v 7.0.6.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6232
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by FourthWorld » Mon Feb 12, 2018 9:37 pm

mwieder wrote:
Mon Feb 12, 2018 7:53 pm
Kresten-

Getting back to the original question, LC 7.0.6 is indeed the last version of LiveCode that will allow you to use a browser.
I can use the browser widget in v9dp11, with the exception of the Dictionary stack for reasons which appear related to SQLite rather than the browser. When I use the browser widget in my own stuff it works well.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2695
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by mwieder » Mon Feb 12, 2018 10:24 pm

My bad. I meant to say "the last version of LiveCode that will allow you to use a browser *in linux*". At least the browser widget no longer crashes LC now in dp11.

...also, Richard, are you saying the IDE's dictionary stack opens for you in a browser widget? on linux? for me it just opens Firefox to the online dictionary (even though Chrome is my default browser). Thanks to devolution, though, I set the dictionary button to open tinyDic instead.

...and I didn't realize we were talking about the browser *widget* here. Widget extensions aren't supported in LC7, so that's not an alternative option for linux. Only the revBrowser commands will work there.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6232
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by FourthWorld » Mon Feb 12, 2018 11:37 pm

mwieder wrote:
Mon Feb 12, 2018 10:24 pm
...also, Richard, are you saying the IDE's dictionary stack opens for you in a browser widget? on linux? for me it just opens Firefox to the online dictionary (even though Chrome is my default browser).
Thanks to some good analysis from Panos, we've narrowed that down to LC's SQLite interface. The Dictionary opens, but isn't populated with any content. My old report against the Dict has been closed in favor of this one:
http://quality.livecode.com/show_bug.cgi?id=20593
Thanks to devolution, though, I set the dictionary button to open tinyDic instead.
:)

So few people use devolution they don't know what they're missing.
...and I didn't realize we were talking about the browser *widget* here. Widget extensions aren't supported in LC7, so that's not an alternative option for linux. Only the revBrowser commands will work there.
LC 7 is so old, slow, and (most relevant here) unmaintained it never occurred to me that could be a requirement for anyone looking for new additions to LiveCode.

bogs
Posts: 2377
Joined: Sat Feb 25, 2017 10:45 pm

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by bogs » Tue Feb 13, 2018 12:04 am

<cough>
FourthWorld wrote:
Mon Feb 12, 2018 11:37 pm
LC 7 is so old, slow, and (most relevant here) unmaintained it never occurred to me that could be a requirement for anyone looking for new additions to LiveCode.
<cough> Yah, even I would not use Lc7... I use much MUCH older stuff that is lightning fast! Well, least till 32bit isn't used in my world anymore... :wink:
Image

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6232
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by FourthWorld » Tue Feb 13, 2018 12:38 am

There can be a place for older software. But that place isn't with features requested for new versions. :)
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2695
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by mwieder » Tue Feb 13, 2018 12:56 am

OK - just going by the earlier comments about version 7.0.6.

...and then I confused myself with versions :oops:

Here's what I see:
LC9dp11 opens the dictionary in Firefox
LC8.2dp2 opens an empty dictionary in what appears to be a browser window.

and LC8.2dp2 browser widgets actually work (albeit *very* slowly)
so (correcting my earlier self 8) ) it's actually LC9dp7 onwards where browser widgets dont' work in linux.

kresten
Posts: 120
Joined: Tue Sep 30, 2008 3:01 pm
Location: Copenhagen
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by kresten » Tue Feb 13, 2018 1:26 am

In reply to bogs meticulous instructions:
I am a moron facing the scripting options in the lubuntu "terminal, so much so I am uncertain how ro understand the suggested scriptlines in your post.
Does the first line imply that I create a folder, label it, put the installer into it, and refer to the folder-name?

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2695
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by mwieder » Tue Feb 13, 2018 1:38 am

Kresten-

Glad you're still with us here after I sidetracked things :shock:

No, you shouldn't have to anything that complicated.
If you installed for *all users* then you'll start from /opt/livecode
Otherwise, if you installed for just you you'll start from ~

Since I have installed for all users, here's what works for me:

In a terminal window type

Code: Select all

cd /opt/livecode/
ls
that shows me all the installed LiveCode versions> Now to select just one (in this case the CommunityPlus build of LiveCode 8.2-dp2):

Code: Select all

cd livecodecommunityplus-8.2.0-dp-2.x86_64
ls
Now you should see a list of files, and one of these is livecodecommunityplus.x86_64.
In order to execute it from the terminal, you need to start the command line with "./", which means "start from the directory we're currently looking at:

Code: Select all

./livecodecommunityplus.x86_64
...and that should launch (or at least attempt to launch) LiveCode. Any errors will be shown in the terminal window. Ignore the "use of deprecated SAXv1" and "known incorrect sRGB profile" errors and the "GtkSpinButton" error - they're harmless.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6232
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by FourthWorld » Tue Feb 13, 2018 1:58 am

mwieder wrote:
Tue Feb 13, 2018 12:56 am
so (correcting my earlier self 8) ) it's actually LC9dp7 onwards where browser widgets dont' work in linux.
Which distro/version?

Here the browser widget works great in v9dp11 on Ubuntu 14.04.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2695
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by mwieder » Tue Feb 13, 2018 2:53 am

...checking...

OK - I thought maybe I just didn't wait long enough.
This is 9.0dp11 running on Mint 17.2 (Cinnamon desktop over Ubuntu 14.04 base.

I can create a browser widget on a stack and assign a url from the property editor, but when I switch to browse mode the widget disappears and there's no further interaction with it. Doing the same thing in 8.2dp2 the assigned web page appears after about 30 seconds or so.

bogs
Posts: 2377
Joined: Sat Feb 25, 2017 10:45 pm

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by bogs » Tue Feb 13, 2018 3:44 am

FourthWorld wrote:
Tue Feb 13, 2018 12:38 am
There can be a place for older software. But that place isn't with features requested for new versions. :)
:mrgreen: Point, definitely a point there... :mrgreen:
kresten wrote:
Tue Feb 13, 2018 1:26 am
I am a moron facing the scripting options in the lubuntu "terminal,
I absolutely do not believe that of you sir, I read your bio (and a lot of other information), and I've seen your tenacity in tackling problems in your work.

mwieder chimed in with some further instructions to do it, but if your still stuck after trying those, chime back in and I'll do a picture by picture play for you my friend :D
Image

MaxV
Posts: 1542
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by MaxV » Tue Feb 13, 2018 1:28 pm

Now I'm writing from a Linux Mint 17.2, that is Ubuntu 14.04 based.
I confirm that the last working version is Livecode 9dp6.

I get this error:

Code: Select all

Use of deprecated SAXv1 function setDocumentLocator
Error ERROR: unable to open database
unable to create sqlite API database
revdberr,invalid database type
line: 1079
handler: ideThrow
script object: stack "/opt/livecode/livecodecommunity-9.0.0-dp-11.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" while loading stack: revidelibrary
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[0213/132926.765756:FATAL:nss_util.cc(632)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer.
Livecode Wiki: http://livecode.wikia.com
My blog: http://livecodeitalia.blogspot.it
To post code use this: http://tinyurl.com/ogp6d5w

MaxV
Posts: 1542
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: are there attempts to develop a revBrowser compatible with Linux ?

Post by MaxV » Tue Feb 13, 2018 1:35 pm

Ok, updated NSS, now my error is:

Code: Select all

Use of deprecated SAXv1 function setDocumentLocator
Error ERROR: unable to open database
unable to create sqlite API database
revdberr,invalid database type
line: 1079
handler: ideThrow
script object: stack "/opt/livecode/livecodecommunity-9.0.0-dp-11.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" while loading stack: revidelibrary
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[0213/133404.026106:ERROR:browser_main_loop.cc(292)] Gtk: IA__gtk_socket_add_id: assertion 'GTK_WIDGET_ANCHORED (socket)' failed
[0213/133404.026225:ERROR:browser_main_loop.cc(292)] Gdk: gdk_window_move_resize_internal: assertion 'GDK_IS_WINDOW (window)' failed
Livecode Wiki: http://livecode.wikia.com
My blog: http://livecodeitalia.blogspot.it
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply

Return to “Internet”