Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[glimmer-dev] Glimmer on Linux

Hello.

I'm trying to run some of the examples for Glimmer and getting errors. I'm running Ubuntu 8.04. I've tried using the 3.4 and 3.5 versions of SWT. I'm using the Glimmer code downloaded from GitHub. When running the tic_tac_toe example I get the following. It loads with all of the buttons populated and disable. There are several event cannot be handled messages.

Loading ShellCommandHandler...
Loading WidgetListenerCommandHandler...
Loading BindCommandHandler...
Loading TableItemsDataBindingCommandHandler...
Loading TableColumnPropertiesDataBindingCommandHandler...
Loading DataBindingCommandHandler...
Loading WidgetMethodCommandHandler...
Loading WidgetCommandHandler...
Loading SwtConstantCommandHandler...
method: shell and args:
ShellCommandHandler will handle command: shell with arguments
method: text and args: Tic-Tac-Toe
WidgetMethodCommandHandler will handle command: text with arguments Tic-Tac-Toe
method: composite and args:
WidgetCommandHandler will handle command: composite with arguments
style argument is:
method: layout and args: GridLayout {numColumns=3 makeColumnsEqualWidth=true marginWidth=5 marginHeight=5 horizontalSpacing=5 verticalSpacing=5} WidgetMethodCommandHandler will handle command: layout with arguments GridLayout {numColumns=3 makeColumnsEqualWidth=true marginWidth=5 marginHeight=5 horizontalSpacing=5 verticalSpacing=5}
method: button and args:
WidgetCommandHandler will handle command: button with arguments
style argument is:
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: layout_data and args: GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true} WidgetMethodCommandHandler will handle command: layout_data with arguments GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true}
method: bind and args: #<TicTacToeBox:0x36ae83>sign
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x36ae83>sign
method: text and args: #<ModelObserver:0x84f566>
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0x84f566>
method: bind and args: #<TicTacToeBox:0x36ae83>empty
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x36ae83>empty
method: enabled and args: #<ModelObserver:0x6dddcf>
DataBindingCommandHandler will handle command: enabled with arguments #<ModelObserver:0x6dddcf>
method: on_widget_selected and args:
Command: on_widget_selected cannot be handled!
method: button and args:
WidgetCommandHandler will handle command: button with arguments
style argument is:
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: layout_data and args: GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true} WidgetMethodCommandHandler will handle command: layout_data with arguments GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true}
method: bind and args: #<TicTacToeBox:0x3680c1>sign
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x3680c1>sign
method: text and args: #<ModelObserver:0x8a6fc>
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0x8a6fc>
method: bind and args: #<TicTacToeBox:0x3680c1>empty
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x3680c1>empty
method: enabled and args: #<ModelObserver:0x1b38cdc>
DataBindingCommandHandler will handle command: enabled with arguments #<ModelObserver:0x1b38cdc>
method: on_widget_selected and args:
Command: on_widget_selected cannot be handled!
method: button and args:
WidgetCommandHandler will handle command: button with arguments
style argument is:
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: layout_data and args: GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true} WidgetMethodCommandHandler will handle command: layout_data with arguments GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true}
method: bind and args: #<TicTacToeBox:0x1484a8a>sign
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x1484a8a>sign
method: text and args: #<ModelObserver:0x1500efd>
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0x1500efd>
method: bind and args: #<TicTacToeBox:0x1484a8a>empty
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x1484a8a>empty
method: enabled and args: #<ModelObserver:0x39d811>
DataBindingCommandHandler will handle command: enabled with arguments #<ModelObserver:0x39d811>
method: on_widget_selected and args:
Command: on_widget_selected cannot be handled!
method: button and args:
WidgetCommandHandler will handle command: button with arguments
style argument is:
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: layout_data and args: GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true} WidgetMethodCommandHandler will handle command: layout_data with arguments GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true}
method: bind and args: #<TicTacToeBox:0x69695f>sign
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x69695f>sign
method: text and args: #<ModelObserver:0x648938>
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0x648938>
method: bind and args: #<TicTacToeBox:0x69695f>empty
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x69695f>empty
method: enabled and args: #<ModelObserver:0x1b3967>
DataBindingCommandHandler will handle command: enabled with arguments #<ModelObserver:0x1b3967>
method: on_widget_selected and args:
Command: on_widget_selected cannot be handled!
method: button and args:
WidgetCommandHandler will handle command: button with arguments
style argument is:
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: layout_data and args: GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true} WidgetMethodCommandHandler will handle command: layout_data with arguments GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true}
method: bind and args: #<TicTacToeBox:0x1474fc>sign
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x1474fc>sign
method: text and args: #<ModelObserver:0xe5f0d2>
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0xe5f0d2>
method: bind and args: #<TicTacToeBox:0x1474fc>empty
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x1474fc>empty
method: enabled and args: #<ModelObserver:0x7d3050>
DataBindingCommandHandler will handle command: enabled with arguments #<ModelObserver:0x7d3050>
method: on_widget_selected and args:
Command: on_widget_selected cannot be handled!
method: button and args:
WidgetCommandHandler will handle command: button with arguments
style argument is:
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: layout_data and args: GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true} WidgetMethodCommandHandler will handle command: layout_data with arguments GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true}
method: bind and args: #<TicTacToeBox:0x1c501f7>sign
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x1c501f7>sign
method: text and args: #<ModelObserver:0x1335207>
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0x1335207>
method: bind and args: #<TicTacToeBox:0x1c501f7>empty
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x1c501f7>empty
method: enabled and args: #<ModelObserver:0x18f127c>
DataBindingCommandHandler will handle command: enabled with arguments #<ModelObserver:0x18f127c>
method: on_widget_selected and args:
Command: on_widget_selected cannot be handled!
method: button and args:
WidgetCommandHandler will handle command: button with arguments
style argument is:
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: layout_data and args: GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true} WidgetMethodCommandHandler will handle command: layout_data with arguments GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true}
method: bind and args: #<TicTacToeBox:0xb280b1>sign
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0xb280b1>sign
method: text and args: #<ModelObserver:0x1fd360b>
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0x1fd360b>
method: bind and args: #<TicTacToeBox:0xb280b1>empty
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0xb280b1>empty
method: enabled and args: #<ModelObserver:0x64e5b2>
DataBindingCommandHandler will handle command: enabled with arguments #<ModelObserver:0x64e5b2>
method: on_widget_selected and args:
Command: on_widget_selected cannot be handled!
method: button and args:
WidgetCommandHandler will handle command: button with arguments
style argument is:
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: layout_data and args: GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true} WidgetMethodCommandHandler will handle command: layout_data with arguments GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true}
method: bind and args: #<TicTacToeBox:0x30a895>sign
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x30a895>sign
method: text and args: #<ModelObserver:0x1e14de0>
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0x1e14de0>
method: bind and args: #<TicTacToeBox:0x30a895>empty
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0x30a895>empty
method: enabled and args: #<ModelObserver:0x10fb9bd>
DataBindingCommandHandler will handle command: enabled with arguments #<ModelObserver:0x10fb9bd>
method: on_widget_selected and args:
Command: on_widget_selected cannot be handled!
method: button and args:
WidgetCommandHandler will handle command: button with arguments
style argument is:
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: fill and args:
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: layout_data and args: GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true} WidgetMethodCommandHandler will handle command: layout_data with arguments GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true}
method: bind and args: #<TicTacToeBox:0xf49e8f>sign
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0xf49e8f>sign
method: text and args: #<ModelObserver:0x11931f8>
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0x11931f8>
method: bind and args: #<TicTacToeBox:0xf49e8f>empty
BindCommandHandler will handle command: bind with arguments #<TicTacToeBox:0xf49e8f>empty
method: enabled and args: #<ModelObserver:0x201d6d>
DataBindingCommandHandler will handle command: enabled with arguments #<ModelObserver:0x201d6d>
method: on_widget_selected and args:
Command: on_widget_selected cannot be handled!

When running the contact manager sample, I get the following error and it does not load.

Loading ShellCommandHandler...
Loading WidgetListenerCommandHandler...
Loading BindCommandHandler...
Loading TabItemCommandHandler...
Loading ComboSelectionDataBindingCommandHandler...
Loading ListSelectionDataBindingCommandHandler...
Loading TableItemsDataBindingCommandHandler...
Loading TableColumnPropertiesDataBindingCommandHandler...
Loading DataBindingCommandHandler...
Loading WidgetMethodCommandHandler...
Loading WidgetCommandHandler...
Loading SwtConstantCommandHandler...
method: shell and args:
ShellCommandHandler will handle command: shell with arguments
method: text and args: Contact Manager
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: text with arguments Contact Manager
method: composite and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: composite with arguments
style argument is:
method: composite and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: composite with arguments
style argument is:
method: layout and args: GridLayout {numColumns=2 marginWidth=5 marginHeight=5 horizontalSpacing=5 verticalSpacing=5}
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: layout with arguments GridLayout {numColumns=2 marginWidth=5 marginHeight=5 horizontalSpacing=5 verticalSpacing=5}
method: label and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: label with arguments
style argument is:
method: text and args: First &Name:
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: text with arguments First &Name:
method: text and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: text with arguments
style argument is:
method: bind and args: #<ContactManagerPresenter:0x16e334a>first_name
parent is a widget: true
on listener?: false
BindCommandHandler will handle command: bind with arguments #<ContactManagerPresenter:0x16e334a>first_name
method: text and args: #<ModelObserver:0x8d0b0f>
parent is a widget: true
on listener?: false
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0x8d0b0f>
method: on_modify_text and args:
parent is a widget: true
on listener?: true
command symbol is longer than 3: true
args are 0?: true
can add listener? true
WidgetListenerCommandHandler will handle command: on_modify_text with arguments
method: label and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: label with arguments
style argument is:
method: text and args: &Last Name:
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: text with arguments &Last Name:
method: text and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: text with arguments
style argument is:
method: bind and args: #<ContactManagerPresenter:0x16e334a>last_name
parent is a widget: true
on listener?: false
BindCommandHandler will handle command: bind with arguments #<ContactManagerPresenter:0x16e334a>last_name
method: text and args: #<ModelObserver:0x139d115>
parent is a widget: true
on listener?: false
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0x139d115>
method: on_modify_text and args:
parent is a widget: true
on listener?: true
command symbol is longer than 3: true
args are 0?: true
can add listener? true
WidgetListenerCommandHandler will handle command: on_modify_text with arguments
method: label and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: label with arguments
style argument is:
method: text and args: &Email:
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: text with arguments &Email:
method: text and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: text with arguments
style argument is:
method: bind and args: #<ContactManagerPresenter:0x16e334a>email
parent is a widget: true
on listener?: false
BindCommandHandler will handle command: bind with arguments #<ContactManagerPresenter:0x16e334a>email
method: text and args: #<ModelObserver:0x1ed13da>
parent is a widget: true
on listener?: false
DataBindingCommandHandler will handle command: text with arguments #<ModelObserver:0x1ed13da>
method: on_modify_text and args:
parent is a widget: true
on listener?: true
command symbol is longer than 3: true
args are 0?: true
can add listener? true
WidgetListenerCommandHandler will handle command: on_modify_text with arguments
method: table and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: table with arguments
style argument is:
method: fill and args:
parent is a widget: true
on listener?: false
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: fill and args:
parent is a widget: true
on listener?: false
SwtConstantCommandHandler will handle command: fill with arguments
org.eclipse.swt.SWT::FILL
method: layout_data and args: GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true}
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: layout_data with arguments GridData {horizontalAlignment=SWT.FILL grabExcessHorizontalSpace=true verticalAlignment=SWT.FILL grabExcessVerticalSpace=true}
method: table_column and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: table_column with arguments
style argument is:
method: text and args: First Name
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: text with arguments First Name
method: width and args: 80
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: width with arguments 80
method: table_column and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: table_column with arguments
style argument is:
method: text and args: Last Name
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: text with arguments Last Name
method: width and args: 80
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: width with arguments 80
method: table_column and args:
parent is a widget: true
on listener?: false
WidgetCommandHandler will handle command: table_column with arguments
style argument is:
method: text and args: Email
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: text with arguments Email
method: width and args: 120
parent is a widget: true
on listener?: false
WidgetMethodCommandHandler will handle command: width with arguments 120
method: bind and args: #<ContactManagerPresenter:0x16e334a>results
parent is a widget: true
on listener?: false
BindCommandHandler will handle command: bind with arguments #<ContactManagerPresenter:0x16e334a>results
method: column_properties and args: first_namelast_nameemail
parent is a widget: true
on listener?: false
TableColumnPropertiesDataBindingCommandHandler will handle command: column_properties with arguments first_namelast_nameemail
method: items and args: #<ModelObserver:0x4ce427>first_namelast_nameemail
parent is a widget: true
on listener?: false
TableItemsDataBindingCommandHandler will handle command: items with arguments #<ModelObserver:0x4ce427>first_namelast_nameemail /home/phil/workspace/Glimmer Test/src/command_handlers/models/table_items_updater.rb:40:in `populate_table': undefined method `each' for nil:NilClass (NoMethodError) from /home/phil/workspace/Glimmer Test/src/command_handlers/models/table_items_updater.rb:36:in `update' from /home/phil/workspace/Glimmer Test/src/command_handlers/models/table_items_updater.rb:23:in `initialize' from /home/phil/workspace/Glimmer Test/src/command_handlers/table_items_data_binding_command_handler.rb:35:in `do_handle' from /home/phil/workspace/Glimmer Test/src/command_handler_chain_link.rb:22:in `handle' from /home/phil/workspace/Glimmer Test/src/command_handler_chain_link.rb:24:in `handle' from /home/phil/workspace/Glimmer Test/src/glimmer.rb:30:in `method_missing' from /home/phil/workspace/Glimmer Test/src/glimmer.rb:44:in `method_missing'
  from /home/phil/workspace/Glimmer Test/contact_manager.rb:54
   ... 15 levels...
from /home/phil/workspace/Glimmer Test/src/glimmer.rb:31:in `method_missing' from /home/phil/workspace/Glimmer Test/src/glimmer.rb:44:in `method_missing'
  from /home/phil/workspace/Glimmer Test/contact_manager.rb:21

Does Glimmer work with version 3.4 or 3.5 of SWT? Is this project still active?

Phil


Back to the top