Uninitialized GFForm in Designer new-wizard - Re: Creating GFD files

Randall Whitman <[email protected]> Tue, 03 May 2011 17:46:14 -0700
Newsgroups gmane.comp.gnu.enterprise.devel
Message-ID <2742.1304469974@randall-desktop>
Traced Designer File>New>From-wizard>Simple a bit more today.
GFForm.GFForm() returns <uninitialized object> in FormDocument.loadEmpty,
whereas we expect <gnue.forms.GFForm.GFForm instance>.
Has a parameter become required or anything?

# designer/src/forms/document.py
from gnue.forms import GFForm, GFParser, GFObjects, GFLibrary
# ...
    def loadEmpty(self, style=None):
        form = GFForm.GFForm()
        # (Pdb) p GFForm.GFForm
        # <class 'gnue.forms.GFForm.GFForm'>
        # (Pdb) p form
        # <uninitialized object>