LC 9.5.6, Android and JSONToArray

Ralph DiMola rdimola at evergreeninfo.net
Wed Dec 8 15:58:33 EST 2021


Dan,

Same problem with tsNet. The pro was the second license and as in previous version I just blew past the licensing dialog without reading. After I re-licensed and clicked the right arrow and selected the pro license(clearly marked) I was good to go. Although I assumed... Maybe the highest level of license should be the default? 

Ralph DiMola
IT Director
Evergreen Information Services

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of panagiotis m via use-livecode
Sent: Wednesday, December 08, 2021 4:52 AM
To: Dan Friedman
Cc: panagiotis m; How to use LiveCode
Subject: Re: LC 9.5.6, Android and JSONToArray

Hello Dan,

I reply here so that other affected users can see it. So, the culprit was that Dan's stack had "Remote Debugger" in the inclusions, but LC 9.6.5 was activated with a license that did not include this feature.

Dan had another license that did include the "pro" features (i.e. remote debugger, pdf widget etc), and once he relicensed LC with this license,
JSONToArray() worked as expected.

What happened under the hood was that an error was thrown when the standalone was trying to load the Remote Debugger library on startup, and this error prevented all the other included libraries (including mergJSON) to load. This is a bug we should fix - i.e. the standalone builder should only include libraries that are licensed.

You can check if your current license has the pro features using "put the editionType". If it returns "professional", you do have them. If it returns "commercial", you do not.

Hope this helps.

Kind regards,
Panos
--

On Mon, 6 Dec 2021 at 17:48, Dan Friedman <dan at clearvisiontech.com> wrote:

> Panos,
>
> Thank you for the reply.  Sorry about the typo... the versions are:
>
> 9.6.4 -- WORKING
> 9.6.5 -- NOT WORKING
>
> And, yes.  I have "mergJSON" selected (as well as "JSON Library").
>
> FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 
> might be resolved in 9.6.5.  (
> http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.htm
> l)
>
>
> - Dan
>
>
>
> On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via 
> use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of 
> use-livecode at lists.runrev.com> wrote:
>
>     Hello Dan,
>
>     Could you please confirm the working and non-working versions? 
> There is no
>     9.5.6 or 9.5.4 version of LiveCode.
>
>     Also, to use JSONToArray() you have to include "mergJSON" in the
>     Inclusions, not  "JSON Library". The  "JSON Library" is needed for
>     "JSONImport" and "JSONExport" functions.
>
>     Hope this helps.
>
>     Cheers,
>     Panos
>
>     On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode <
>     use-livecode at lists.runrev.com> wrote:
>
>     > I just built an app for Android in 9.5.6.  I am finding that
> JSONToArray()
>     > isn't working.   I built the same app in 9.5.4, and JSONToArray()
> works
>     > just fine.  (Yes, I have "JSON Library" selected in the 
> Inclusions in the
>     > Standalone Application Settings).   Is this a bug or is
> JSONToArray() no
>     > longer supported in 9.5.6?
>     >
>     > Any advice or knowledge would be appreciated.
>     >
>     > -Dan
>     >
>     > _______________________________________________
>     > use-livecode mailing list
>     > use-livecode at lists.runrev.com
>     > Please visit this url to subscribe, unsubscribe and manage your
>     > subscription preferences:
>     > http://lists.runrev.com/mailman/listinfo/use-livecode
>     >
>     _______________________________________________
>     use-livecode mailing list
>     use-livecode at lists.runrev.com
>     Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
>     http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list