Hallo,
this code snippet in my survey application
(webware-sandbox/Sandbox/fbar/survey) does not delete the Question,
but instead gives this error:
'Question' object has no attribute '_SO_autoInitDone'
toDelete = 2
try:
q = Question(toDelete)
message = q.question
if self._survey.deleteQ(q):
self._msg ='''The question <b>%s</b> was deleted.<br>''' % message
else:
self._msg ='''Could not delete <b>%s</b>.<br>''' % message
except Exception, err:
self._msg ='''Could not delete question!! Error: %s''' % err
Does anyone know, what this means adn how I could fix it?
All code is online at
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/webware-sandbox/Sandbox/fbar/survey/
ciao
--
Frank Barknecht _ ______footils.org__
|