IDE will not load after update

Questions and info about the Gambas IDE itself and not what you are making with it.
(not bug reports)
User avatar
cage
Contributor
Posts: 138
Joined: Mon Sep 02, 2019 5:47 am
Location: Phoenix Arizona

IDE will not load after update

Post by cage »

IDE will not load after update on Arch Linux. Comes up with this error:

gb.jit: error: unable to compile JIT code of 'gb.form.terminal':
[gb.jit].CCompilation.Wait.259: #6: Type mismatch: wanted String[], got String instead
[gb.jit].CCompilation.Wait.259 [gb.jit].Jit._Wait.235 [gb.form.terminal].TerminalScreen.Reset.1516 [gb.form.terminal].TerminalScreen._new.144 [gb.form.terminal].TerminalView._new.223 FDebugInfo.FDebugInfo.0 FDebugInfo.@new.0 FSearch._new.44 FMain._new.65 Project.Main.484 ?

Any projects made with last version will not start but has the same error.
User avatar
cage
Contributor
Posts: 138
Joined: Mon Sep 02, 2019 5:47 am
Location: Phoenix Arizona

Re: IDE will not load after update

Post by cage »

I tried to summit a bug report but there was no selection to summit it. :(
User avatar
gbWilly
Site Admin
Posts: 349
Joined: Fri Sep 23, 2016 11:41 am
Location: Netherlands
Contact:

Re: IDE will not load after update

Post by gbWilly »

Try running Gambas like this from terminal:

Code: Select all

GB_JIT_ENABLED=0 gambas3
It disables JIT and you should be fine.
It's probably a bug that still is not quite solved.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- Gambas3 Debian/Ubuntu repositories

- GambOS

... there is always a Catch if things go wrong!
User avatar
gbWilly
Site Admin
Posts: 349
Joined: Fri Sep 23, 2016 11:41 am
Location: Netherlands
Contact:

Re: IDE will not load after update

Post by gbWilly »

cage wrote: Wed Apr 30, 2025 11:05 pm I tried to summit a bug report but there was no selection to summit it. :(
Well, I logged in on bug tracker and it seems you have succeeded in reporting the bug.
Benoit gave same tip as above and asked some question, so maybe log in and answer ;)
bugreport.png
And if you can start Gambas with above copy/paste system info from Gambas to the bug report, so all used version of libs are clear
You do not have the required permissions to view the files attached to this post.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- Gambas3 Debian/Ubuntu repositories

- GambOS

... there is always a Catch if things go wrong!
User avatar
BruceSteers
Legend
Posts: 2183
Joined: Thu Jul 23, 2020 5:20 pm
Location: Isle of Wight

Re: IDE will not load after update

Post by BruceSteers »

It's only just been fixed so it's in development branch only.

it will be in the next stable release.
User avatar
BruceSteers
Legend
Posts: 2183
Joined: Thu Jul 23, 2020 5:20 pm
Location: Isle of Wight

Re: IDE will not load after update

Post by BruceSteers »

It's the same bug for sure Cage.
something changed in gcc latest version.

it broke JIT but has now been fixed
https://gambaswiki.org/bugtracker/edit? ... m=L21haW4-
User avatar
cage
Contributor
Posts: 138
Joined: Mon Sep 02, 2019 5:47 am
Location: Phoenix Arizona

Re: IDE will not load after update

Post by cage »

Gbwilly thanks for the temporary solution. Thanks to Bruce for your info. I did send the system info along with the problem. Really glad it's been fixed and can't wait for the update. I been using Gambas ever since Verizon 3 cam into being. It's my daily programming application.
User avatar
gbWilly
Site Admin
Posts: 349
Joined: Fri Sep 23, 2016 11:41 am
Location: Netherlands
Contact:

Re: IDE will not load after update

Post by gbWilly »

cage wrote: Thu May 01, 2025 2:19 am I did send the system info along with the problem.
I mean the system info from within IDE (that starts again now with jit disabled), so Benoit sees things like gcc version (and a lot of other library versions). It's often external version updates that cause trouble in Gambas.

But, good you can have fun with Gambas again.. :D
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- Gambas3 Debian/Ubuntu repositories

- GambOS

... there is always a Catch if things go wrong!
User avatar
BruceSteers
Legend
Posts: 2183
Joined: Thu Jul 23, 2020 5:20 pm
Location: Isle of Wight

Re: IDE will not load after update

Post by BruceSteers »

gbWilly wrote: Thu May 01, 2025 9:35 am
cage wrote: Thu May 01, 2025 2:19 am I did send the system info along with the problem.
I mean the system info from within IDE (that starts again now with jit disabled), so Benoit sees things like gcc version (and a lot of other library versions). It's often external version updates that cause trouble in Gambas.

But, good you can have fun with Gambas again.. :D
Yep exactly that Willy.
gcc library changed it's default C standard.
By the sounds of it Benoit knows all about it and had already fixed it in the gambas code,
but he forgot about the JIT compiler part also needing the update.

Another thing Cage check out your ~/.local/share/applications/ folder.
I found with this bug every time the IDE failed to load it left a file like ~/.local/share/applications/org.gambas.2345.desktop in there.
(it's a file generated as a wayland workaround)
It would normally be deleted on exit but because the IDE failed (crashed) it will not have deleted them.
so you will have now useless files in there for every failed load you tried.

rm -v ~/.local/share/applications/org.gambas*
User avatar
cage
Contributor
Posts: 138
Joined: Mon Sep 02, 2019 5:47 am
Location: Phoenix Arizona

Re: IDE will not load after update

Post by cage »

gbwilly that file does not exit in my operating system which is Arch Linux. So I will have to wait until the new update comes along. In the mean time by disabling gb.jit I can at least run my programs for the IDE itself. I thank you for your continuing efforts to help out. :D
Post Reply