Upgrading to 3.16.0

New to Gambas? Post your questions here. No question is too silly or too simple.
Doctor Watson
Posts: 84
Joined: Wednesday 22nd August 2018 7:55am

Re: Upgrading to 3.16.0

Post by Doctor Watson » Friday 21st May 2021 11:57am

Well, it’s been an exiting 24 hours.
I followed Bruce’s and Steve’s suggestion and installed this Synaptic app. Used it to de-activate noobslab.
Next, went back to the Terminal to upgrade Gambas. Noobslab was gone and procedures started. Suddenly at some point some error message, but upgrade continued. Then even a warning appeared that Ubuntu 20.04 had problems.
Result after re-booting: Gambas not working but luckily Ubuntu still did.
Tried to find out what was wrong using Synaptic (it does have many options) and got “36 broken packages” - all Gambas. Now what ? Decided to remove Gambas altogether. Terminal : “apt-get remove gambas3*” …. ???
Remove Gambas.png
Remove Gambas.png (35.09 KiB) Viewed 675 times
Back to Synaptic. Found option to fix broken packages. Didn’t work.
Option Remove Packages. That one worked. Checked : Gambas was gone.
Did a new install (https://itsfoss.com/install-gambas-ubuntu/) and YES! , Gambas 3.16.0 works.
Treated myself with a nice beer.
And if I might be allowed some remarks :
- Our esteemed developers found it necessary to change the ‘use and feel’ of the keyboard. In the editor you can no longer navigate using the numeric keypad with NumLock switched off. That is really frustrating because I do so for ages and in every other programme – like this forum’s editor.
- When you run your project, it appears in the upper left corner of the screen instead of the middle. Perhaps a question of taste, but I prefer to see it appear in the middle.

And if at least the weather gods treat me nice, I’ll be off for a week or so to my favourite cabin somewhere in the Austrian mountains. No computer, Ubuntu or Gambas unless the kind prepared in garlic sauce.
Old african saying:
You eat an elephant one small bite at a time.

User avatar
BruceSteers
Posts: 577
Joined: Thursday 23rd July 2020 5:20pm

Re: Upgrading to 3.16.0

Post by BruceSteers » Friday 21st May 2021 2:26pm

dang doc..
that message was because you did not run apt as root
sudo apt-get remove gambas3*

Dude. :roll:
Sorry i did not realise you were that inexperienced with the os that i needed to spell that out for you.

PS.
Public Sub Form_Open()
Me.Center() ' window is center screen 

End
Wishing well
Bruce

If at first you don't succeed , try it differently.

User avatar
stevedee
Posts: 450
Joined: Monday 20th March 2017 6:06pm

Re: Upgrading to 3.16.0

Post by stevedee » Saturday 22nd May 2021 7:26am

BruceSteers wrote:
Friday 21st May 2021 2:26pm
...Sorry i did not realise you were that inexperienced with the os that i needed to spell that out for you...
Well, he did post his question on the Beginners forum...which is where we need to spell out our answers ;)

Doc, note that you may also get "dpkg lock" messages if you try to do:-

Code: Select all

sudo apt upgrade
if Synaptic is still open.

Also "apt-get" can simply be replaced by "apt" these days.

User avatar
BruceSteers
Posts: 577
Joined: Thursday 23rd July 2020 5:20pm

Re: Upgrading to 3.16.0

Post by BruceSteers » Saturday 22nd May 2021 7:59am

Also Doc a big change in 3.16 is the IDE now uses the GTK interface by default not QT

QT supports numpad arrow keys GTK does not.

you can edit your launcher icon to change the command
gambas3
to..
env GB_GUI=gb.qt5 gambas3

(or qt4 if your system uses it)

That will launch the IDE with QT and your numpad keys will work again.

Also if you have a panel icon to launch it you should be able to right-click the icon and select "Run with QT4" (or 5)

PS. notice that shell command "sleep 5; mate-screenshot" ? that's a tip on how to screenshot with menus open :)
Attachments
Screenshot at 2021-05-22 08-59-06.png
Screenshot at 2021-05-22 08-59-06.png (1020.16 KiB) Viewed 655 times
Last edited by BruceSteers on Saturday 22nd May 2021 8:17am, edited 1 time in total.
Wishing well
Bruce

If at first you don't succeed , try it differently.

User avatar
BruceSteers
Posts: 577
Joined: Thursday 23rd July 2020 5:20pm

Re: Upgrading to 3.16.0

Post by BruceSteers » Saturday 22nd May 2021 8:12am

stevedee wrote:
Saturday 22nd May 2021 7:26am
BruceSteers wrote:
Friday 21st May 2021 2:26pm
...Sorry i did not realise you were that inexperienced with the os that i needed to spell that out for you...
Well, he did post his question on the Beginners forum...which is where we need to spell out our answers ;)
Clearly
To the very letter.
nice sreenshots though ;)
Wishing well
Bruce

If at first you don't succeed , try it differently.

Doctor Watson
Posts: 84
Joined: Wednesday 22nd August 2018 7:55am

Re: Upgrading to 3.16.0

Post by Doctor Watson » Monday 07th June 2021 8:00am

Hi guys.
Thanks for the all replies.
I have a lot of catching up to do after that week-turned-into-two in the Austrian mountains.
Old african saying:
You eat an elephant one small bite at a time.

Post Reply