B4J Question BANanoWebix

roberto64

Active Member
Licensed User
Hi, are all these errors possible? the page starts but it remains completely blank nothing appears.
regards
Reading B4J INI in C:\Users\Eoby\AppData\Roaming\Anywhere Software\B4J to find Additional Libraries folder...
Found Additional Libraries folder: D:\AdditionalLibs
Building C:\Users\Eoby\Desktop\usbwebserver_v8.6.2\root\WareHouse\scripts\app1575788023491.js
Loading library: D:\AdditionalLibs\B4J\bananopostprocessor.xml
Processing b4xlib: bananowebix
Library: D:\AdditionalLibs\B4J\bananopostprocessor.xml is not a BANano library!
java.io.FileNotFoundException: C:\Users\Eoby\Desktop\BANANO~1\444C6~1.BAN\Objects\b4xlibs_BANano\bananowebix\B4J\manifest.txt (Impossibile trovare il percorso specificato)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
at java.base/java.io.FileReader.<init>(FileReader.java:60)
at com.ab.banano.BANano.ProcessB4XLib(Unknown Source)
at com.ab.banano.BANano.a(Unknown Source)
at com.ab.banano.BANano.b(Unknown Source)
at com.ab.banano.BANano.Build(Unknown Source)
at b4j.example.main._appstart(main.java:101)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
at b4j.example.main.start(main.java:37)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Thread.java:834)
[WARNING]: The method CallInlinePHPWait will not work in old browsers!
[WARNING]: The method CallInlinePHPWait will not work in old browsers!
[WARNING]: The method CallInlinePHPWait will not work in old browsers!
[WARNING]: The method CallInlinePHPWait will not work in old browsers!
[WARNING]: The method CallInlinePHPWait will not work in old browsers!
[WARNING]: The method CallInlinePHPWait will not work in old browsers!
[WARNING]: The method CallInlinePHPWait will not work in old browsers!
[WARNING]: The method CallInlinePHPWait will not work in old browsers!
[WARNING]: The method CallInlinePHPWait will not work in old browsers!
[WARNING]: The method OpenWait will not work in old browsers!
[WARNING]: The method ExecuteWait will not work in old browsers!
WARNING: The method btnnewgodown_click in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
btnnewgodown_clickWait()
[WARNING]: The method btnnewgodown_click will not work in old browsers!
WARNING: The method btnsavegodown_click in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
btnsavegodown_clickWait()
[WARNING]: The method btnsavegodown_click will not work in old browsers!
WARNING: The method readgodown in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
readgodownWait()
[WARNING]: The method readgodown will not work in old browsers!
WARNING: The method godown_delete in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
godown_deleteWait()
[WARNING]: The method godown_delete will not work in old browsers!
WARNING: The method dtgodown_afteredit in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
dtgodown_aftereditWait()
[WARNING]: The method dtgodown_afteredit will not work in old browsers!
WARNING: The method loaddatatable in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
loaddatatableWait()
[WARNING]: The method loaddatatable will not work in old browsers!
WARNING: The method btnnewgodown_click in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
btnnewgodown_clickWait()
WARNING: The method btnsavegodown_click in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
btnsavegodown_clickWait()
WARNING: The method readgodown in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
readgodownWait()
WARNING: The method godown_delete in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
godown_deleteWait()
WARNING: The method dtgodown_afteredit in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
dtgodown_aftereditWait()
WARNING: The method loaddatatable in (MODULE: pgGoDown) uses Wait functions, but doesn't end itself with wait()
This will not work if compiled to a libray. You should call the method:
loaddatatableWait()
Copying CSS files to WebApp assets...
Problem copying all.min.css
java.io.FileNotFoundException: all.min.css
at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:209)
at anywheresoftware.b4a.objects.streams.File.Copy(File.java:336)
at com.ab.banano.BANano.Build(Unknown Source)
at b4j.example.main._appstart(main.java:101)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
at b4j.example.main.start(main.java:37)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Thread.java:834)
Copying Javascript files to WebApp assets...
java.io.FileNotFoundException: webix.min.js
at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:209)
at anywheresoftware.b4a.objects.streams.File.Copy(File.java:336)
at com.ab.banano.BANano.Build(Unknown Source)
at b4j.example.main._appstart(main.java:101)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
at b4j.example.main.start(main.java:37)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Thread.java:834)
Problem copying webix.min.js
Building C:\Users\Eoby\Desktop\usbwebserver_v8.6.2\root\WareHouse\index.html

The total size of your local CSS and JS files is 2.0MB and another 2.9MB in other assets.
It is very important to only load the JS and CSS files from components that you actually use in your website/webapp!

If you are using public frameworks (like jQuery, Bootstrap, etc...), consider using their CDN so the browser can use already buffered versions.
Done!
 

Mashiane

Expert
Licensed User
Can you please upload a small project that is reproducing the errors. I won't be able to reproduce this because I don't understand what you are trying to achieve.
 

roberto64

Active Member
Licensed User
Hi, I'm just running your "BANanoMySQL1 Example" example, I promata everything I ran the manual to compile the "BANanoWebix" library I downloaded on the "webix" site then I copied the libraries "BANanoPostProcessor and jSD_ZipLibray" and I compiled it library , then I gave your example and in the compilation gives me all those errors. I have listed you.
Regards
 

roberto64

Active Member
Licensed User
Hi, non so se cosi anch'io sto usando google chrome, qualche esempio funziona altri no.
saluti grazie
 

Attachments

roberto64

Active Member
Licensed User
Hi, I recompiled the new BANanoWebix. log "Reading B4J INI in C: Users Roberto Data Roaming Wherever Software B4J to find Additional Libraries folder ...
Found Additional Libraries folder: Z: ANDROIDUT Additional Libs
Building Z: ORROIDUT Additional Libs BANanoWebix.b4xlib
Building Z: ORROIDUT AdditionalLibs BANanoWebix BANanoWebix.dependsOn
-------------------------------------------------- --------
Z: ORROIDUT AdditionalLibs / BANanoWebix.b4xlib created! "
-------------------------------------------------- --------
What I do not see is "BANanoWebix.depend" if this too must be created.
regards
 

Mashiane

Expert
Licensed User
Hi, I'm just running your "BANanoMySQL1 Example" example,
Please note that I wrote a tutorial on using the BANanoMySQL class and its available here,
https://www.b4x.com/android/forum/threads/bananomysql-an-inline-php-class-for-your-mysqli-crud-functionality.106858/#content

This also works the same way as the BANanoMSSQL class discussed here,

https://www.b4x.com/android/forum/threads/bananomssql-pdo-crud-class-for-mssql.110015/#content

The code in the folder of the example you have provided is just a rehash due to tests I was doing and as per BANanoWebix latest posts, BANanoMySQL now comes included as the one referenced in this post is older.
 
Top