Genie Discord forum

Based on the code, I assume it's supposed to replace null with "Hello world!" This occurs when I just create a new app in GenieBuilder and do nothing else. Am I missing a step or is my set-up misconfigured?
GenieBuilder v0.2.6
GenieFramework v1.9.0 julia> versioninfo() Julia Version 1.8.5 Commit 17cfb8e65ea (2023-01-08 06:45 UTC) Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 16 × AMD Ryzen 9 5900HS with Radeon Graphics WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-13.0.1 (ORCJIT, znver3) Threads: 1 on 16 virtual cores Environment: JULIA_EDITOR = code JULIA_NUM_THREADS =

┌ Info: 2023-03-10 14:41:30
└ Web Server starting at http://0.0.0.0:55678 - press Ctrl/Cmd+C to stop the server.
[ Info: 2023-03-10 14:41:30 Listening on: 0.0.0.0:55678, thread id: 1
┌ Error: 2023-03-10 14:41:34 Failed to store session data
└ @ GenieSessionFileSession ~/.julia/packages/GenieSessionFileSession/otnJC/src/GenieSessionFileSession.jl:41
┌ Error: 2023-03-10 14:41:34 ArgumentError("embedded NULs are not allowed in C strings: \"/tmp/jl_Y4chKp/\\x12凭\\a!&c\\xc7Ԧ\\xd7\\x1e\\xd8\\xf8\\x95\\xa1F\\x147\\x9b=ݍ\\xbd~TQ\\n=\\xda.\\xf8˫\\x9er]|\\x9al8\\xb39,\\xc8w \\0\\xf6\\x98\\xec\\xe7\\xdb\\xf1\\x96}\\x0e\\xeb\\x1e\\xcb\\x1c\\xeb\\xed\\xa0w\\xb5.7\\x8b.u\\x0f-K\\x88)\\x9d\\x0f\\0\"")
└ @ GenieSessionFileSession ~/.julia/packages/GenieSessionFileSession/otnJC/src/GenieSessionFileSession.jl:42
┌ Error: 2023-03-10 14:41:34 Resetting session
└ @ GenieSessionFileSession ~/.julia/packages/GenieSessionFileSession/otnJC/src/GenieSessionFileSession.jl:46
[ Info: 2023-03-10 14:41:34 GET /_devtools_/id 200
WARNING: both HttpCommon and Genie export "Headers"; uses of it in module Html must be qualified
WARNING: both Html and Base export "div"; uses of it in module Stipple must be qualified
WARNING: both Router and Base export "download"; uses of it in module Genie must be qualified
WARNING: both Html and Base export "mark"; uses of it in module Stipple must be qualified
WARNING: both Html and Base export "summary"; uses of it in module Stipple must be qualified
WARNING: both Html and Base export "time"; uses of it in module Stipple must be qualified
WARNING: both Html and Base export "view"; uses of it in module Stipple must be qualified
[ Info: 2023-03-10 14:41:41 GET /_devtools_/pages?CHANNEL__=ZNGNAVNUYNXODHAKDDJYZWQMINKTLPJN 200
┌ Error: 2023-03-10 14:41:41 GET /images/icons/GenieCloud_logo.png 404
└ @ Genie.Router ~/.julia/packages/Genie/IZLml/src/Router.jl:204
[ Info: 2023-03-10 14:41:41 GET /_devtools_/pages?CHANNEL__=ZNGNAVNUYNXODHAKDDJYZWQMINKTLPJN 200
.

That's followed by a dozen successful GETs mostly of js and css

is this error with the default application? i.e. the boilerplate application that GB produces?

Yes. All I did was click the plus arrow ("Genie Builder: Create new app"), give it a name, and open the WYSIWYG or whatever you call it

I just restarted the server and the app and this time the only error in the log was

┌ Error: 2023-03-15 13:48:07 GET /images/icons/GenieCloud_logo.png 404 └ @ Genie.Router ~/.julia/packages/Genie/2Y9Bp/src/Router.jl:204

plus the warnings about qualifying exports, but no weird NUL character errors like last time

and here's the app.jl
:

module App
using GenieFramework
@genietools
@handlers begin
@out message = "Hello World!"
@onchange isready begin
@show "App is loaded"
end
end
@page("/", "app.jl.html")
end

can you remove ~/.julia/geniebuilder
directly and remove gb extension and try again?

It seems extra broken now? Are there additional reinstall or uninstall steps I need to follow? I deleted ~/.julia/geniebuilder and uninstalled the Genie Builder extension in vscode. Then I restarted vscode. Then I reinstalled the Genie Builder extension. Now:
- My old testing app (just the default app) appears in Genie Builder Apps but obviously has no files and there doesn't seem to be a way to remove it.
- The Genie Builder Server is "running" but the Stop Server button doesn't do anything.
- Adding a new app prompts for an app name, but then does nothing

Also the Genie Builder console in vscode has a bunch of errors in it, but they're truncated so I can't tell when they came from, nor can I replicate them. Re-starting vscode just adds a new shell prompt to the bottom, suggesting that the server is not, in fact, running. Here are the only non-truncated errors:

Question. Are you using GenieBuilder or GenieBuilder Insider?
- old testing app is appearing in GenieBuilder because maybe it's added in db. Can you not right click and purge it?
error stack: I am not sure why db is read only

GenieBuilder.
Right clicking didn't give any options, but I'll double check

Something sounds off. The is the first time I am seeing this error.

I have not tested GenieBuilder on Linux for a long time. I'll need to fix my Linux dual boot issue to test it out. I'll response later

sorry for delay I'll test GB.jl today on my linux machine. I fixed the boot issue

Just verified works perfectly fine. I think there are some write/read issues with your ~/.julia/geniebuilder
directory

Let me change the old code to new one

But that is not the problem. It should work with the old API as well

That could be it. Is there another user that needs permissions? Right now the owner (my user) has full permissions and everyone else has read/execute

This isn't true anymore (or I misremembered). Right clicking gives three options: Launch Repl, Package Manager, and Stop App.

Launch REPL now runs and gives a meaningful error:

I'll try deleting the folder and reinstalling geniebuilder again

The reinstall doesn't create the geniebuilder directory

Is it possible the uninstall isn't working correctly, causing the reinstall to think it doesn't need to recreate .julia/geniebuilder?

Where does it store the list of GB apps?

the apps are stored in ~/.julia/geniebuilder/apps

I would recommend you can also try vscodium
: https://vscodium.com/
and install vscode plugin from here: https://open-vsx.org/?search=geniebuilder&category=&sortBy=relevance&sortOrder=desc

so we will verify if there's any existing vscode extension that's blocking geniebuilder

I more meant: how does it list these apps when I've deleted ~/.julia/geniebuilder?

The biggest problems (that I got from deleting ~/.julia/geniebuilder) resolved with a reinstall of vscode. (note: I'm on Arch so it's already an open-source build, like VSCodium)

I'm still getting null

I installed VSCodium separately, with the same null result

I'm going to try uninstalling both and installing one of the Microsoft binaries

Still getting null even with an official vscode binary

I tried it on a different (Ubuntu) computer, still getting null

I also tried disabling all other extensions

Also it won't let me stop the server

and every time I removed the (stopped) app folder from my workspace, it added it back almost immediately

Actually it should add genie builder directly on server start so that's correct

Can you record a video and send it so I can see exactly what's happening?

Screen record *

Sure, do you want it from a fresh install or just the null in the header of a new app?

@grahamas damn it works perfectly fine

that {{ message }}
thing where you build your UI. You right-click on that GET/
in the left pane and you'll see the option to preview the app. That's where you see data app

follow tutorials to understand how to build data apps with GB/GenieCloud here: https://learn.geniecloud.io/guides/quickstart

Ahhhhhhhh got it

I didn't understand that from the quickstart at all--- though I see now that the last gif implies it. And the "Designing the UI with the no-code editor" makes it obvious