Cryptic error message

[email protected]
Newsgroups gmane.comp.gnu.enterprise.general
Message-ID <[email protected]>
Hello.

One of the benefits of the incomplete documentation could be that the
beginner does all sort of bad things: That way we can catch more bugs
;).

One of them is defining blocks in a form that don't get used. In such
situation, a traceback like below one may be obtained. I suppose that
it shouldn't make gnue-forms crashing or, if does, be reported as
convenient.

DB000: [GFForm:256] Ack! A GFField was passed to 'findFocus'.
DB000: Traceback (most recent call last):
DB000:   File "/usr/local/bin/gnue-forms", line 30, in ?
DB000:     client.run ()
DB000:   File "/usr/local/gnue/lib/python/gnue/forms/GFClient.py", line
170, in run
DB000:     instance.activate()
DB000:   File "/usr/local/gnue/lib/python/gnue/forms/GFInstance.py",
line 298, in activate
DB000:     object.phaseInit()
DB000:   File
"/usr/local/gnue/lib/python/gnue/common/definitions/GObjects.py", line
117, in phaseInit
DB000:     self._phaseInit(phase)
DB000:   File
"/usr/local/gnue/lib/python/gnue/common/definitions/GObjects.py", line
137, in _phaseInit
DB000:     inits[phase]()
DB000:   File "/usr/local/gnue/lib/python/gnue/forms/GFForm.py", line
199, in secondaryInit
DB000:     self.findAndChangeFocus(self)
DB000:   File "/usr/local/gnue/lib/python/gnue/forms/GFForm.py", line
241, in findAndChangeFocus
DB000:     entry = self.findFocus(object)
DB000:   File "/usr/local/gnue/lib/python/gnue/forms/GFForm.py", line
279, in findFocus
DB000:     entry = self.findFocus(child)
DB000:   File "/usr/local/gnue/lib/python/gnue/forms/GFForm.py", line
279, in findFocus
DB000:     entry = self.findFocus(child)
DB000:   File "/usr/local/gnue/lib/python/gnue/forms/GFForm.py", line
279, in findFocus
DB000:     entry = self.findFocus(child)
DB000:   File "/usr/local/gnue/lib/python/gnue/forms/GFForm.py", line
257, in findFocus
DB000:     object = object._entryList[0]
DB000: IndexError: list index out of range

Thanks for your patient.
-- 
José Esteban
Granada - Spain
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.