expat error, help to debug?

Andreas Lobinger newsreturns at biszumknie.de
Tue Aug 28 14:36:06 CEST 2007


Aloha,

Andreas Lobinger wrote:
> Lawrence D'Oliveiro wrote:
>> In message <fak7q4$ahn$1 at daniel-new.mch.sbs.de>, Andreas Lobinger wrote:
>>> Anyone any idea where the error is produced?

... to share my findings with you:

     def ex(self,context,baseid,n1,n2):
         print "x",context,n1,n2
         return 1

The registered Handler has to return a (integer) value.
Would have been nice if this had been mentioned in the documentation.

Wishing a happy day,
		LOBI



More information about the Python-list mailing list