IDE freeze

133 views
Skip to first unread message

Alice in Wonderland

unread,
Apr 21, 2021, 9:02:18 PM4/21/21
to DroidScript
I've got a problem of the ide freezing unresponsive or recoverable after short periods of time. Can't save or recover any changes that weren't already saved - DS reports lost connection but the symbol shows connected and Alt+S, Alt+R sometimes still work. Hugely disprupting work. Workarounds are hugely inconvenient. Has anyone else reported such problems?

In developer tools, (on those occasions I can still open them after a freeze) will report something like the following

it seems jquery is passed an empty string during a save op (I try to save often) and then everything goes frozen. I've never managed to recover from that situation. Often, perhaps always,  https://cdn .... twing.com is trying to send or retieve something

Thanks

--------------- dev tools output
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. all
Some cookies are misusing the recommended “SameSite“ attribute 3
Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen. index.html
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. index.html
The script from “http://192.168.1.86:8088/.edit/dsj/dsj.xml” was loaded even though its MIME type (“application/xml”) is not a valid JavaScript MIME type. index.html
window.controllers/Controllers is deprecated. Do not use it for UA detection. ace.js:1:18403
agent = Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0 ide.min.js:1:63228
ready ide.min.js:1:67268
onEditorResize ide.min.js:1:19219
getAppType = Web ide.min.js:1:67509
TernService ide.min.js:1:10314
Empty string passed to getElementById(). jquery-1.11.3.min.js:2:24489
connected ide.min.js:1:30111
tern init ide.min.js:1:10472
refreshAppsList ide.min.js:1:41110
New Regular App ide.min.js:1:41379
ace/ext/tern ide.min.js:1:10595
loadTypes ide.min.js:1:11645
Promise: http://192.168.1.86:8088/.edit/app.js ide.min.js:1:11750
refreshExtensionList ide.min.js:1:37476
ajaxGet ide.min.js:1:11820
getTypeList ide.min.js:1:11386
typesApp,SObj,Obj,Thm,Lay,Img,Btn,Tgl,Swi,Chk,Spn,Skb,Ibn,Txt,Txe,Cde,Lst,Web,Scr,Dlg,Ovl,Ynd,Lvw,Adv,Ldg,Btl,Net,Aud,Dwn,Med,Ply,Rec,Sns,Loc,Pst,Cam,Vid,GLV,WGL,Nxt,Bts,Zip,Not,Crp,Spr,Inf,SMS,EMAIL,Wbs,Usb,Sys,Fil,Plg,Svc,Syn,Wpr,I( func ) { if,M( ctx, func ) { if,TW(txt,size) { return app.GetTextBounds,DW(){ return app.GetDisplayWidth,DH(){ return app.GetDisplayHeight,T ide.min.js:1:10729
extensions: FileDiff,Language,ScratchPad,Search,Terminal ide.min.js:1:37663
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. Docs.htm
tern: starting server 2 worker-tern.js:165:17
registerFile:_gps.js ide.min.js:1:9318
registerFile:_map.html ide.min.js:1:9318
registerFile:_utm.js ide.min.js:1:9318
registerFile:devcode4.js ide.min.js:1:9318
resize 2 ide.min.js:1:20728
setMode:js ide.min.js:1:19795
populateSampleContents ide.min.js:1:34367
checkIntellisense:[object Object] 4 ide.min.js:1:8844
resize ide.min.js:1:20728
XML Parsing Error: not well-formed
Location: http://192.168.1.86:8088/Extensions%2FFileDiff%2FLeft%2FFileDiff.json?_=1619045556241
Line Number 1, Column 1: Extensions/FileDiff/Left/FileDiff.json:1:1
XML Parsing Error: not well-formed
Location: http://192.168.1.86:8088/Extensions%2FScratchPad%2FLeft%2FScratchPad.json?_=1619045556243
Line Number 1, Column 1: Extensions/ScratchPad/Left/ScratchPad.json:1:1
XML Parsing Error: not well-formed
Location: http://192.168.1.86:8088/Extensions%2FSearch%2FLeft%2FSearch.json?_=1619045556244
Line Number 1, Column 1: Extensions/Search/Left/Search.json:1:1
XML Parsing Error: not well-formed
Location: http://192.168.1.86:8088/Extensions%2FTerminal%2FLeft%2FTerminal.json?_=1619045556245
Line Number 1, Column 1: Extensions/Terminal/Left/Terminal.json:1:1
XML Parsing Error: not well-formed
Location: http://192.168.1.86:8088/Extensions%2FLanguage%2FLeft%2FLanguage.json?_=1619045556242
Line Number 1, Column 1: Extensions/Language/Left/Language.json:1:1
agent = Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0 common.js:13:9
setTheme('dark') common.js:317:10
window.controllers/Controllers is deprecated. Do not use it for UA detection. ace.js:1:18403
Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message 4 ace.js:1:50270
msg: [object MessageEvent] common.js:38:10
cmd: setTheme common.js:41:10
setTheme('default') common.js:317:10
Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data
    getNews http://www.androidscript.org/Home/js/home.min.js:20
    jQuery 4
home.min.js:20:22
Some cookies are misusing the recommended “SameSite“ attribute 2
unreachable code after return statement 2 tutorials.js:7:4
null app.js:1:1587
Ready! app.js:1:1610
Empty string passed to getElementById(). 8 jquery-1.11.3.min.js:2:24489
saving... ide.min.js:1:32312
Empty string passed to getElementById(). 2 jquery-1.11.3.min.js:2:24489
Source map error: Error: request failed with status 404
Resource URL: http://androidscript.org/droidscript/assets/js/popper.min.js
Source Map URL: popper.min.js.map

Steve Garman

unread,
Apr 21, 2021, 10:41:25 PM4/21/21
to DroidScript
I haven't seen such a report bur we also rately hear from anyone using firefox with the IDE

Do you have access to Chrome or another browser on the device to test whether that runs better?

Steve Garman

unread,
Apr 22, 2021, 4:27:55 AM4/22/21
to DroidScript
I'm installing firefox on my Chromebook. No idea how similar it is to the Eindows version

I'll see if I can replicate the problem

Steve Garman

unread,
Apr 22, 2021, 4:38:28 AM4/22/21
to DroidScript
Not one of my brighter ideas.

It recognises itself as running under android and throws up all sorts of prompts that it doesn't know what to do with.

I may try later installing Firefox under Linux on the same box 

T. Lee

unread,
Apr 22, 2021, 10:40:32 AM4/22/21
to DroidScript
This may not help much because I'm running Firefox 78 on Linux. But, I have no problem successfully saving changes with DS v2.06. IIRC (which I may not be), not too long ago I got only two warnings in the JS Console when launching the IDE. Now I get what follows below. BTW, JQuery is passed an empty string on page load as well as during a Save op, so that may not be related to the issue.

=== Console output ===
Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen. index.html
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. index.html
The script from “http://192.168.0.135:8088/.edit/dsj/dsj.xml” was loaded even though its MIME type (“application/xml”) is not a valid JavaScript MIME type. index.html

window.controllers/Controllers is deprecated. Do not use it for UA detection. ace.js:1:18403
agent = Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 ide.min.js:1:64619
ready ide.min.js:1:68770
onEditorResize ide.min.js:1:19130
getAppType = Web ide.min.js:1:69011
TernService ide.min.js:1:10312

Empty string passed to getElementById(). jquery-1.11.3.min.js:2:24489
connected ide.min.js:1:30137
tern init ide.min.js:1:10470
refreshAppsList ide.min.js:1:41981
New Regular App ide.min.js:1:42250
ace/ext/tern ide.min.js:1:10593
loadTypes ide.min.js:1:11643
Promise: http://192.168.0.135:8088/.edit/app.js ide.min.js:1:11748
refreshExtensionList ide.min.js:1:38179
registerFile:SocketEcho.js ide.min.js:1:9316
tern: starting server worker-tern.js:165:17
resize 2 ide.min.js:1:20639
setMode:js ide.min.js:1:19706
populateSampleContents ide.min.js:1:34793
checkIntellisense:[object Object] ide.min.js:1:8842
resize ide.min.js:1:20639
ajaxGet ide.min.js:1:11818
getTypeList ide.min.js:1:11384
typesApp,SObj,Obj,Thm,Lay,Img,Btn,Tgl,Swi,Chk,Spn,Skb,Ibn,Txt,Txe,Cde,Lst,Web,Scr,Dlg,Ovl,Ynd,Lvw,Adv,Ldg,Btl,Net,Aud,Dwn,Med,Ply,Rec,Sns,Loc,Pst,Cam,Vid,GLV,WGL,Nxt,Bts,Zip,Not,Crp,Spr,Inf,SMS,EMAIL,Wbs,Usb,Sys,Fil,Plg,Svc,Syn,Wpr,I( func ) { if,M( ctx, func ) { if,TW(txt,size) { return app.GetTextBounds,DW(){ return app.GetDisplayWidth,DH(){ return app.GetDisplayHeight,T ide.min.js:1:10727
extensions: Chat,FileDiff,Language,ScratchPad,Search,Terminal ide.min.js:1:38366

XML Parsing Error: not well-formed

Line Number 1, Column 1: Extensions/Language/Left/Language.json:1:1
XML Parsing Error: not well-formed

Line Number 1, Column 1: Extensions/FileDiff/Left/FileDiff.json:1:1
XML Parsing Error: not well-formed

Line Number 1, Column 1: Extensions/ScratchPad/Left/ScratchPad.json:1:1
XML Parsing Error: not well-formed

Line Number 1, Column 1: Extensions/Terminal/Left/Terminal.json:1:1
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. Docs.htm
XML Parsing Error: not well-formed

Line Number 1, Column 1: Extensions/Search/Left/Search.json:1:1
agent = Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 common.js:13:9

setTheme('dark') common.js:317:10
window.controllers/Controllers is deprecated. Do not use it for UA detection. ace.js:1:18403
msg: [object MessageEvent] common.js:38:10
cmd: setTheme common.js:41:10
Some cookies are misusing the recommended “sameSite“ attribute 2

Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data
    getNews http://www.androidscript.org/Home/js/home.min.js:20
    jQuery 4
home.min.js:20:22
null app.js:1:1587
Ready! app.js:1:1610

=== And then a Save op ===

Empty string passed to getElementById(). 2 jquery-1.11.3.min.js:2:24489
saving... ide.min.js:1:32473

Empty string passed to getElementById(). 2 jquery-1.11.3.min.js:2:24489
XML Parsing Error: not well-formed
Location: http://192.168.0.135:8088/upload
Line Number 1, Column 1: upload:1:1
createFile: SocketEcho.js ide.min.js:1:32780

Steve Garman

unread,
Apr 22, 2021, 11:38:07 AM4/22/21
to DroidScript
I'm testing Firefox 88.0 
on Debian GNU/Linux 10 (buster)
on Chromebook with 
Chrome OS version 89.0.4389.130 (Official Build) (64 bit)

I'm not seeing the saving problem but it's a clean bare-bones install of firefox today and I doubt many firefox installs stay that way for long
Reply all
Reply to author
Forward
0 new messages