Several errors when launching Glade, often crashes

More
04 Dec 2020 02:46 #191003 by JetForMe
Whenever I launch Glade, I get the following output:
$ glade-gtk2 lzpanel.ui 
GladeUI-Message: 18:41:54.535: No displayable values for property GtkToolPalette::icon-size
GladeUI-Message: 18:41:54.536: No displayable values for property GtkToolItemGroup::ellipsize
GladeUI-Message: 18:41:54.536: No displayable values for property GtkToolItemGroup::header-relief

(glade-3:8825): GladeUI-WARNING **: 18:41:54.701: Boolean tag unrecognized *false*

GladeUI-Message: 18:41:54.732: Glade needs artwork; a default icon will be used for the following classes:
	HAL_HBox	needs an icon named 'widget-gladevcp-hal_hbox'
	EMC_ToggleAction_Pause	needs an icon named 'gtk-media-pause'
	EMC_Action_Run	needs an icon named 'gtk-media-play-ltr'
	EMC_Action_SaveAs	needs an icon named 'gtk-save-as'
	State_Sensitive_Table	needs an icon named 'widget-gladevcp-state_sensitive_table'
	EMC_SourceView	needs an icon named 'widget-gladevcp-vcp_sourceview'
	HAL_HideTable	needs an icon named 'widget-gladevcp-hal_hidetable'
	EMC_Action_Reload	needs an icon named 'gtk-refresh'
	EMC_Action_Save	needs an icon named 'gtk-save'
	EMC_Action_Stop	needs an icon named 'gtk-media-stop'
	PyNgcGui	needs an icon named 'widget-gladevcp-pyngcgui'
	HAL_GremlinPlus	needs an icon named 'widget-gladevcp-hal_gremlin_plus'
	EMC_FileChooserButton	needs an icon named 'widget-gladevcp-vcp_filechooserbutton'
	HAL_LightButton	needs an icon named 'widget-gladevcp-hal_light_button'
	HAL_CheckButton	needs an icon named 'widget-gladevcp-hal_checkbutton'
	EMC_Action_Home	needs an icon named 'gtk-home'
	HAL_Table	needs an icon named 'widget-gladevcp-hal_table'
	EMC_Action_Pause	needs an icon named 'gtk-media-pause'
	HAL_Label	needs an icon named 'widget-gladevcp-hal_label'
	EMC_Action_Resume	needs an icon named 'gtk-media-pause'
	EMC_MDIHistory	needs an icon named 'widget-gladevcp-vcp_mdihistory'
	HALIO_HScale	needs an icon named 'widget-gladevcp-halio_hscale'
	HALIO_Button	needs an icon named 'widget-gladevcp-halio_button'
	HAL_ProgressBar	needs an icon named 'widget-gladevcp-hal_progressbar'
	EMC_ToggleAction_Stop	needs an icon named 'gtk-media-stop'
	HAL_HScale	needs an icon named 'widget-gladevcp-hal_hscale'
	HAL_RadioButton	needs an icon named 'widget-gladevcp-hal_radiobutton'
	HAL_ToggleButton	needs an icon named 'widget-gladevcp-hal_togglebutton'
	HAL_SpinButton	needs an icon named 'widget-gladevcp-hal_spinbutton'
	Override	needs an icon named 'widget-gladevcp-override'
	HAL_Graph	needs an icon named 'widget-gladevcp-hal_graph'
	State_Label	needs an icon named 'widget-gladevcp-state_label'
	MacroSelect	needs an icon named 'widget-gladevcp-vcp_macro_select'
	HAL_Button	needs an icon named 'widget-gladevcp-hal_button'
	Status_Label	needs an icon named 'widget-gladevcp-status_label'
	HAL_VScale	needs an icon named 'widget-gladevcp-hal_vscale'
	EMC_Action_Step	needs an icon named 'gtk-media-next-ltr'
	OffsetPage	needs an icon named 'widget-gladevcp-offsetpage'
	EMC_Action_Open	needs an icon named 'gtk-open'
	EMC_FileChooserDialog	needs an icon named 'widget-gladevcp-vcp_filechooserdialog'
	HAL_ComboBox	needs an icon named 'widget-gladevcp-hal_combobox'
	EMC_ToggleAction_Run	needs an icon named 'gtk-media-play-ltr'
	EMC_Action_Unhome	needs an icon named 'gtk-home'

** (glade-3:8825): WARNING **: 18:42:47.046: Invalid borders specified for theme pixmap:
        /usr/share/themes/Breeze/gtk-2.0/../assets/line-h.png,
borders don't fit within the image

If I try to add certain widgets, like the MDI action, Glade crashes with a segmentation fault, after spewing a lot of errors like this:
(glade-3:8825): GladeUI-CRITICAL **: 18:45:02.659: glade_design_view_get_from_project: assertion 'GLADE_IS_PROJECT (project)' failed

It seems my installation is lacking. Any idea how I can fix this? I'm on Debian Buster with KDE/Plasma.

Thanks.

Please Log in or Create an account to join the conversation.

More
04 Dec 2020 04:01 #191010 by cmorley
try adding action with right click 'add to top level'

glade-gtk2 is well past it's prime and was always buggy.
Some systems it works pretty well -sometimes the latest compiled version is better.

Save often :)

Please Log in or Create an account to join the conversation.

More
04 Dec 2020 11:23 #191020 by JetForMe
Yeah, it sure is a mess. LinuxCNC needs to move on. I think I'll be trying Qtvcp.

Please Log in or Create an account to join the conversation.

More
04 Dec 2020 13:11 - 04 Dec 2020 13:17 #191024 by Grotius
Hi,

Yeah, it sure is a mess. LinuxCNC needs to move on. I think I'll be trying Qtvcp.
You know why it's a mess?

Because glade needs the lcnc widgets if you call them from your code. You need to install the lcnc widgets into glade.
But the lcnc buster iso only contains lcnc. It has no lcnc glade widgets.
So you have to install it yourself. The buster live-build code is not complete. That's why your time is lost now.

You need to install a complete iso.

To get glade more complete : glade

Hope this helps you to move on.
Last edit: 04 Dec 2020 13:17 by Grotius.

Please Log in or Create an account to join the conversation.

More
04 Dec 2020 16:28 #191041 by cmorley
Grotius

Widgets come with linuxcnc - Glade does not.
But jetforme does have the right glade editor or he wouldn;t have gotten that far.
Thats a great reference for others who don't have the Glade editor though.

Moving forward there has bee effort to switch to python3 and GTK3 and then things should work smoother.

Please Log in or Create an account to join the conversation.

More
08 Dec 2020 21:59 #191446 by newbynobi
Some of us are working on the change to GTK3 and Python3, unfortunately this is a huge change and will need some more time.

Norbert

Please Log in or Create an account to join the conversation.

Moderators: mhaberler
Time to create page: 0.101 seconds
Powered by Kunena Forum