Current status of Designer  File > New > From-wizard > Simple  is,
after logging in and the dialog boxes for table and columns/fields,
it errors with
AttributeError: "'GFDataSource' object has no attribute 
'dispatch_designer_event'"
on line 95 of gnue/designer/base/Incubator.py:
        o.dispatch_designer_event('ObjectCreated')
It seems that we have a chicken-and-egg situation, where the
dispatch_designer_event attribute needed to handle the event,
is to be assigned within the event handler.

        self.registerEventListeners({  # ...
                           'ObjectCreated'       : self.__object_created_event,
#...
    def __object_created_event (self, event):
        self.__inventory(event.object)
#...
    def __inventory (self, object):
        add_GObject_hooks(object, self)
#...
def add_GObject_hooks(object, document):  #...
    object._dispatch_designer_event = document.dispatchEvent
    object.dispatch_designer_event = new.instancemethod(
                  _gobject_dispatch_event, object, object.__class__)

Can anyone lend any insights on what the intentions were,
or a suggestion of what to change?
/Randall

_______________________________________________
gnue-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnue-dev

Reply via email to