Hi Pavel,
following your patch I try:
m...@cnc-ubuntu:~/workspace-machine/emc-fraese-hm2$ halcmd -f gladevcp-test.hal
RTAPI: ERROR: could not open shared memory (errno=2)
Segmentation fault
uh, better have RTAPI initalized, so start Axis and retry:
m...@cnc-ubuntu:~/workspace-machine/emc-fraese-hm2$ halcmd -f gladevcp-test.hal
/usr/lib/python2.6/dist-packages/gladevcp_makepins.py:5: UserWarning:
gladevcp_makepins name is deprecated. Use gladevcp.makepins instead
warnings.warn("gladevcp_makepins name is deprecated. Use gladevcp.makepins
instead")
(gladevcp:13369): libglade-WARNING **: Expected <glade-interface>. Got
<interface>.
(gladevcp:13369): libglade-WARNING **: did not finish in PARSER_FINISH state
**** GLADE VCP INFO: Not a libglade project, trying to load as a GTK builder
project
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/gladevcp/hal_widgets.py", line 78, in _f
self.hal_pin.set(data)
AttributeError: 'NoneType' object has no attribute 'set'
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/gladevcp/hal_widgets.py", line 98, in _f
self.hal_pin_f.set(data)
AttributeError: 'NoneType' object has no attribute 'set'
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/gladevcp/hal_widgets.py", line 98, in _f
self.hal_pin_f.set(data)
AttributeError: 'NoneType' object has no attribute 'set'
m...@cnc-ubuntu:~/workspace-machine/emc-fraese-hm2$ Traceback (most recent call
last):
File "/usr/lib/python2.6/dist-packages/gladevcp/makepins.py", line 67, in
update
obj.hal_update()
File "/usr/lib/python2.6/dist-packages/gladevcp/hal_widgets.py", line 28, in
hal_update
self.hal_pin.set(bool(self.get_active()))
AttributeError: 'NoneType' object has no attribute 'set'
Panel comes up, I hit a button:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/gladevcp/hal_widgets.py", line 78, in _f
self.hal_pin.set(data)
AttributeError: 'NoneType' object has no attribute 'set'
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/gladevcp/hal_widgets.py", line 78, in _f
self.hal_pin.set(data)
AttributeError: 'NoneType' object has no attribute 'set'
I'm a bit in the dark - I guess it doesnt make much sense adding this as a
EMBED_TAB just yet as things stand above
I'm following master as of today 10:23 CET
-m
Am 22.11.2010 um 20:30 schrieb Pavel Shramov:
> Here is another patchset merged to master today.
>
> Some work was placed in HAL Led so now it behaves in Glade just
> like in gladevcp application.
>
> Another major improvement is that now gladevcp is fully compatible
> with GtkBuilder (i have two applications using gtkbuilder format).
>
> Also gladevcp test application was added to show how different widgets
> looks like. To run it go into lib/python/gladevcp directory and run
>
> halcmd -f gladevcp-test.hal
>
> One major regression in this patchset is that now it's not compatible
> with 2.4 series since it uses hal.Pin object.
>
> As usual exceprt from git request-pull is in the bottom of the message.
>
> Pavel
>
> The following changes since commit 39867542212327962ea8523422da04997e468114:
>
> pid: index-enable is related to -deriv inputs too (2010-11-07 12:29:21 -0600)
>
> are available in the git repository at:
> git://psha.org.ru/psha/emc2.git gladevcp-modules
>
> Pavel Shramov (21):
> gladevcp: Fix HAL Label property
> gladevcp: Use properties for HAL Led
> Merge branch 'master' into gladevcp-modules
> gladevcp: Fix get_name for GtkBuilder files
> gladevcp: Fix HAL Led blinking
> Merge branch 'master' into gladevcp-modules
> gladevcp: Add test glade file
> gladevcp: Move HAL update/init functions to widgets
> Merge branch 'master' into gladevcp-modules
> Merge branch 'master' into gladevcp-modules
> gladevcp: Use hal pin objects instead of string keys
> gladevcp: Add glade test file (copy of builder)
> gladevcp: Fix issue with HAL_VBox in glade mode
> gladevcp: Load gladevcp ui in test HAL file
> gladevcp: Silent warnings about non-zero page size
> gladevcp: Remove debug print from HAL_LED
> gladevcp: Add spinbutton for progressbar to tests
> gladevcp: Add scale property to HAL_ProgressBar
> gladevcp: Fix bug with GtkBuilder introduces earlier
> gladevcp: Connect spin with progress in test hal
> gladevcp: Removed try/import/except clause left after testing
>
> lib/python/gladevcp/gladevcp-test.glade | 263 ++++++++++++++++++++++++++++
> lib/python/gladevcp/gladevcp-test.hal | 15 ++
> lib/python/gladevcp/gladevcp-test.ui | 284 +++++++++++++++++++++++++++++++
> lib/python/gladevcp/hal_python.xml | 100 +----------
> lib/python/gladevcp/hal_widgets.py | 178 +++++++++++++++++---
> lib/python/gladevcp/led.py | 100 ++++++++----
> lib/python/gladevcp/makepins.py | 191 ++-------------------
> 7 files changed, 810 insertions(+), 321 deletions(-)
> create mode 100644 lib/python/gladevcp/gladevcp-test.glade
> create mode 100644 lib/python/gladevcp/gladevcp-test.hal
> create mode 100644 lib/python/gladevcp/gladevcp-test.ui
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers