Error in loading "ws.goulding.script-library.mergjson"

Sannyasin Brahmanathaswami brahma at hindu.org
Mon Jan 7 08:32:18 EST 2019


On desktop: No problem
Installed in iOS, iPhone 7 with 12.1.2: no problem
Only Android do you get the message:

Remote: stack "ws.goulding.script-library.mergjson": execution error at line n/a (External handler execution error: could not decode JSON: unexpected token near end of file) near "could not decode JSON: unexpected token near end of file"

The JSON files are all validating at "JSONvalidate.com"  .... 

They are encoded a UTF-8 with unix line endings (the same file have been in use for months) 

I suspect something new in 9.0.2 . will have to check with an olders verions of livecode later today.


Brahmanathaswami
 

 Monte Goulding wrote:

    I’d start by making sure the json you are decoding is what you think it is by logging it or putting it into a text field.
    
    >On 7 Jan 2019, at 1:28 pm, Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com> wrote:
    >I did my first attempt to build a standalone of Mobile for Android in 9.0.2
    >I got this unusual never-saw-it-before message:
    >Remote: stack "ws.goulding.script-library.mergjson": execution error at line n/a (External handler execution error: could not decode JSON: unexpected token near end of file) near "could not decode JSON: unexpected token near end of file"
    >The JSON files that load on init are valid JSON files
    >doesn’t happen on desktop… How do I debug this? 
    >BR



More information about the use-livecode mailing list