IDE will not load after update
Posted
#1
(In Topic #1481)
Regular

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.
Posted
Regular

Posted
Administrator

Code
GB_JIT_ENABLED=0 gambas3It's probably a bug that still is not quite solved.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Administrator

Well, I logged in on bug tracker and it seems you have succeeded in reporting the bug.cage said
I tried to summit a bug report but there was no selection to summit it.
Benoit gave same tip as above and asked some question, so maybe log in and answer
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
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Guru

it will be in the next stable release.
Posted
Guru

something changed in gcc latest version.
it broke JIT but has now been fixed
Connexion
Posted
Regular

Posted
Administrator

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.cage said
I did send the system info along with the problem.
But, good you can have fun with Gambas again..
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Guru

gbWilly said
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.cage said
I did send the system info along with the problem.
But, good you can have fun with Gambas again..
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*
Posted
Regular

Posted
Administrator

That info is in the IDE. You want to say that the menu 'System information' in Gambas IDE doesn't exist on Arch Linux? I can't imagine thatcage said
gbwilly that file does not exit in my operating system which is Arch Linux.
Since Gambas starts again with jit disabled it should be possible to get to this info now.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Guru

gambas3 –system-information
gambas3 –system-information >~/gambas-info.txt
env GB_NO_JIT=true gambas3 –system-information >~/gambas-info.txt
Posted
Regular

Posted
Regular

env GB_JIT_ENABLED=0 /application path/application name
I have all the applications that will not run working now with no problems. It will do the trick until the update gets published.
Posted
Regular

Posted
Trainee
$ sudo dnf install gambas3-*
you will then have to use the tweak
$ GB_JIT_ENABLED=0 gambas3
Though I had no problem building and installing from source, and the development build does work on Fedora 42.
1 guest and 0 members have just viewed this.




