Hi Alain,
playing a little bit with your BANanoserver demo Code, i get this error :
I have updated all libs (banano4.50b)
any idea ?
Best regards
Michael
playing a little bit with your BANanoserver demo Code, i get this error :
Waiting for debugger to connect...
Program started.
Reading B4J INI in C:\Users\Michael Lankers\AppData\Roaming\Anywhere Software\B4J to find Additional Libraries folder...
Found Additional Libraries folder: C:\Anywhere Software\AdditionalLibs
Loading layout template...
Loading layout uploadform...
Processing b4xlib: bananoskeleton
[WARNING]: The method RunFunctionWithResult will not work in old browsers!
[WARNING]: The method RunFunctionWithResult will not work in old browsers!
ERROR 22: [BROWSERAbout,skbutton1_click, around line: 0] sktextbox(GLOBALMYCLASSVAR) is not supported in BANano!
-->
--> Current index: 1
--> Var : B4JName: sktextbox1, JSName: _sktextbox1 ,ISPRIVATE: true,B4JTYPE: sktextbox, IsArray: false, InitValue: /* NOT SUPPORTED */
ERROR 22: [BROWSERAbout,skbutton1_click, around line: 0] sktextbox(GLOBALMYCLASSVAR) is not supported in BANano!
-->
--> Current index: 1
--> Var : B4JName: sktextbox1, JSName: _sktextbox1 ,ISPRIVATE: true,B4JTYPE: sktextbox, IsArray: false, InitValue: /* NOT SUPPORTED */
ERROR 06: [BROWSERAbout,skbutton1_click, around line: 0] BANano does not support file.
-->
--> Current next: file --> Current index: 3
--> Current Translation: .
--> Method : ---- METHOD: skbutton1_click (MODULE: BROWSERAbout, ISPRIVATE: false) ----
B4J DECLARE:
LINE NUMBER: 88
ORIGINAL LINE: Sub SKButton1_Click (event As BANanoEvent)
CLEANED LINE: sub skbutton1_click (event as bananoevent)
WORDS: sub|skbutton1_click|(|event|as|bananoevent|)|
INTERNAL VARS:
B4JName: event, JSName: _event ,ISPRIVATE: true,B4JTYPE: bananoevent, IsArray: false, InitValue: null
B4JName: response, JSName: _response ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: null
B4JName: thefile, JSName: _thefile ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue:
RETURNS: B4JTYPE: string, IsArray: false, InitValue: ""
------------------------------
--> Method : ---- METHOD: skbutton1_click (MODULE: BROWSERAbout, ISPRIVATE: false) ----
B4J DECLARE:
LINE NUMBER: 88
ORIGINAL LINE: Sub SKButton1_Click (event As BANanoEvent)
CLEANED LINE: sub skbutton1_click (event as bananoevent)
WORDS: sub|skbutton1_click|(|event|as|bananoevent|)|
INTERNAL VARS:
B4JName: event, JSName: _event ,ISPRIVATE: true,B4JTYPE: bananoevent, IsArray: false, InitValue: null
B4JName: response, JSName: _response ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: null
B4JName: thefile, JSName: _thefile ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: .
RETURNS: B4JTYPE: string, IsArray: false, InitValue: ""
------------------------------
--> Method : ---- METHOD: skbutton1_click (MODULE: BROWSERAbout, ISPRIVATE: false) ----
B4J DECLARE:
LINE NUMBER: 88
ORIGINAL LINE: Sub SKButton1_Click (event As BANanoEvent)
CLEANED LINE: sub skbutton1_click (event as bananoevent)
WORDS: sub|skbutton1_click|(|event|as|bananoevent|)|
INTERNAL VARS:
B4JName: event, JSName: _event ,ISPRIVATE: true,B4JTYPE: bananoevent, IsArray: false, InitValue: null
B4JName: response, JSName: _response ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: null
B4JName: thefile, JSName: _thefile ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: _B.%sktextbox1%
RETURNS: B4JTYPE: string, IsArray: false, InitValue: ""
------------------------------
ERROR 22: [BROWSERAbout,skbutton1_click, around line: 104] sklabel(GLOBALMYCLASSVAR) is not supported in BANano!
--> SKLabel1.Text = {28} & Response.GetField( {29} ).Result
--> Current index: 1
--> Var : B4JName: sklabel1, JSName: _sklabel1 ,ISPRIVATE: true,B4JTYPE: sklabel, IsArray: false, InitValue: /* NOT SUPPORTED */
--> Method : ---- METHOD: skbutton1_click (MODULE: BROWSERAbout, ISPRIVATE: false) ----
B4J DECLARE:
LINE NUMBER: 88
ORIGINAL LINE: Sub SKButton1_Click (event As BANanoEvent)
CLEANED LINE: sub skbutton1_click (event as bananoevent)
WORDS: sub|skbutton1_click|(|event|as|bananoevent|)|
INTERNAL VARS:
B4JName: event, JSName: _event ,ISPRIVATE: true,B4JTYPE: bananoevent, IsArray: false, InitValue: null
B4JName: response, JSName: _response ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: null
B4JName: thefile, JSName: _thefile ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue:
B4JName: prom, JSName: _prom ,ISPRIVATE: true,B4JTYPE: bananopromise, IsArray: false, InitValue: BANUpload('/upload',_thefile)
RETURNS: B4JTYPE: string, IsArray: false, InitValue: ""
------------------------------
Building F:\Downloads\BANano4.50b\BANano4.50\B4JServerDemo\New System 4.50+\Demo\Objects\www\scripts\browserabout.js
Copying CSS files to WebApp assets...
Copying Javascript files to WebApp assets...
Done!
2020-02-04 20:34:47.126:INFO::main: Logging initialized @848ms to org.eclipse.jetty.util.log.StdErrLog
2020-02-04 20:34:47.257:INFOejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 1.8.0_101-b13
2020-02-04 20:34:47.316:INFOejs.session:main: DefaultSessionIdManager workerName=node0
2020-02-04 20:34:47.317:INFOejs.session:main: No SessionScavenger set, using defaults
2020-02-04 20:34:47.318:INFOejs.session:main: node0 Scavenging every 600000ms
2020-02-04 20:34:47.345:INFOejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@8806ef{/,file:///F:/Downloads/BANano4.50b/BANano4.50/B4JServerDemo/New%20System%204.50+/Demo/Objects/www/,AVAILABLE}
2020-02-04 20:34:47.347:INFOejs.AbstractNCSARequestLog:main: Opened F:\Downloads\BANano4.50b\BANano4.50\B4JServerDemo\New System 4.50+\Demo\Objects\logs\b4j-2020_02_04.request.log
2020-02-04 20:34:47.467:INFOejs.AbstractConnector:main: Started ServerConnector@1d0c81b{HTTP/1.1,[http/1.1]}{0.0.0.0:55055}
2020-02-04 20:34:47.468:INFOejs.Server:main: Started @1191ms
Emulated network latency: 100ms
2020-02-04 20:34:47.476:INFOejs.AbstractConnector:main: Stopped ServerConnector@1d0c81b{HTTP/1.1,[http/1.1]}{0.0.0.0:55055}
2020-02-04 20:34:47.476:INFOejs.session:main: node0 Stopped scavenging
2020-02-04 20:34:47.480:INFOejsh.ContextHandler:main: Stopped o.e.j.s.ServletContextHandler@8806ef{/,file:///F:/Downloads/BANano4.50b/BANano4.50/B4JServerDemo/New%20System%204.50+/Demo/Objects/www/,UNAVAILABLE}
2020-02-04 20:34:47.484:INFOejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 1.8.0_101-b13
2020-02-04 20:34:47.485:INFOejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@8806ef{/,file:///F:/Downloads/BANano4.50b/BANano4.50/B4JServerDemo/New%20System%204.50+/Demo/Objects/www/,AVAILABLE}
2020-02-04 20:34:47.486:INFOejs.AbstractNCSARequestLog:main: Opened F:\Downloads\BANano4.50b\BANano4.50\B4JServerDemo\New System 4.50+\Demo\Objects\logs\b4j-2020_02_04.request.log
2020-02-04 20:34:47.486:INFOejs.session:main: DefaultSessionIdManager workerName=node0
2020-02-04 20:34:47.486:INFOejs.session:main: No SessionScavenger set, using defaults
2020-02-04 20:34:47.486:INFOejs.session:main: node0 Scavenging every 660000ms
2020-02-04 20:34:47.487:INFOejs.AbstractConnector:main: Started ServerConnector@1d0c81b{HTTP/1.1,[http/1.1]}{0.0.0.0:55055}
2020-02-04 20:34:47.488:INFOejs.Server:main: Started @1211ms
2020-02-04 20:34:47.488:INFOejs.session:main: node0 Scavenging every 33000ms
I have updated all libs (banano4.50b)
any idea ?
Best regards
Michael