IDE will not load after update

Post

Posted
Rating:
#1 (In Topic #1481)
Avatar
Regular
cage is in the usergroup ‘Regular’
 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.
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Regular
cage is in the usergroup ‘Regular’
I tried to summit a bug report but there was no selection to summit it.   :(
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’
Try running Gambas like this from terminal:

Code

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
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’

cage said

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  ;)

Image

(Click to enlarge)


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!
Online now: No Back to the top

Post

Posted
Rating:
#5
Guru
BruceSteers is in the usergroup ‘Guru’
 It's only just been fixed so it's in development branch only.

it will be in the next stable release.
Online now: No Back to the top

Post

Posted
Rating:
#6
Guru
BruceSteers is in the usergroup ‘Guru’
It's the same bug for sure Cage.
something changed in gcc latest version.

it broke JIT but has now been fixed
Connexion
Online now: No Back to the top

Post

Posted
Rating:
#7
Avatar
Regular
cage is in the usergroup ‘Regular’
 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.
Online now: No Back to the top

Post

Posted
Rating:
#8
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’

cage said

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
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: No Back to the top

Post

Posted
Rating:
#9
Guru
BruceSteers is in the usergroup ‘Guru’

gbWilly said

cage said

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*
Online now: No Back to the top

Post

Posted
Rating:
#10
Avatar
Regular
cage is in the usergroup ‘Regular’
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
Online now: No Back to the top

Post

Posted
Rating:
#11
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’

cage said

gbwilly that file does not exit in my operating system which is Arch Linux.
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 that  ;) , so I guess you misunderstood what I tried to say.
Image

(Click to enlarge)

Above menu opens below screen
Image

(Click to enlarge)

Info from this screen is used for bug reports. Use copy button and paste it into system info field of your bug report, so details on eco-system Gambas is erroring in are provided for analyses.
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!
Online now: No Back to the top

Post

Posted
Rating:
#12
Guru
BruceSteers is in the usergroup ‘Guru’
 you can also use terminal with the argument –system-information

gambas3 –system-information

gambas3 –system-information >~/gambas-info.txt

env GB_NO_JIT=true gambas3 –system-information >~/gambas-info.txt
Online now: No Back to the top

Post

Posted
Rating:
#13
Avatar
Regular
cage is in the usergroup ‘Regular’
 Thank guys I got the proper information and resent the bug report.  I know that people running Suse were having the same problem also.  Now I will just have to wait for the bug fix to hit the Arch repository.
Online now: No Back to the top

Post

Posted
Rating:
#14
Avatar
Regular
cage is in the usergroup ‘Regular’
 After doing some research I found a way to run the applications that have the gb.jit error problem. You need to create an desktop launcher and for the command use the following:

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.
Online now: No Back to the top

Post

Posted
Rating:
#15
Avatar
Regular
cage is in the usergroup ‘Regular’
Today Ben put out an update that finally fixed the problem with Gambas with Arch Linux.  Bruce please thank been for his hard work for me next time you talk with him.  :D
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by gbWillyLiked by sholzy)
#16
Avatar
Trainee
If any other Fedora 42 users are here please note that Fedora currently has an issue with the gambas3 rpm not including all the required libraries. This is a rpm maintainer issue and is not related to the Gambas project. To get past this you can just install everything gambas3 eg.

$ sudo dnf install gambas3-*

you will then have to use the tweak gbWilly gave to execute the IDE eg.

$ GB_JIT_ENABLED=0 gambas3

Though I had no problem building and installing from source, and the development build does work on Fedora 42.
Online now: No Back to the top
1 guest and 0 members have just viewed this.