Page 1 of 1

Ubuntu 18.04 - 64bits - Errors in the launch

Posted: Mon Jul 09, 2018 6:47 pm
by QuimV
I have installed PureBasic in a virtual machine with Ubuntu 18.04 - 64bits.
Installation do not give any kind of error messages.
When I start PureBasic executing launch.sh,I get these error messages.
-------------
Gtk-Message: 19:37:24.990: Failed to load module "canberra-gtk-module"

** (purebasic:16537): CRITICAL **: 19:37:25.715: murrine_style_draw_box_gap: assertion 'height >= -1' failed

** (purebasic:16537): CRITICAL **: 19:37:26.160: murrine_style_draw_box_gap: assertion 'height >= -1' failed
---------------
Despite these error messages, purebasic seems to work correctly.
How can I prevent these error messages from appearing?
Do I need to install an additional package?
Thanks for your help.

Re: Ubuntu 18.04 - 64bits - Errors in the launch

Posted: Mon Jul 09, 2018 7:19 pm
by ccode
Hello QuimV,

"GTK" produces a lot of crap again.

Many GTK warnings are usually inconsequential.

Try this here:

sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

or

sudo aptitude reinstall libcanberra-gtk-module

or

sudo apt-get install libcanberra-gtk*

"libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME."

Re: Ubuntu 18.04 - 64bits - Errors in the launch

Posted: Mon Jul 09, 2018 7:46 pm
by QuimV
thanks :D ccode!

I have executed:
"sudo apt-get install libcanberra-gtk *"
And now it gives a single error message:
** (purebasic:2625): CRITICAL **: 20:38:27.185: murrine_style_draw_box_gap: assertion 'height >= -1' failed
This error message, what kind of programs can affect?
Regards

Re: Ubuntu 18.04 - 64bits - Errors in the launch

Posted: Tue Jul 10, 2018 9:19 am
by Fred
It's theme related, it should not affect the program, right ?

Re: Ubuntu 18.04 - 64bits - Errors in the launch

Posted: Tue Jul 10, 2018 9:24 am
by QuimV
:D Thank You @Fred