[Zope] PSQLINPUT Wizard Error
Dennis Moore
rainking@feeding.frenzy.com
Tue, 12 Oct 1999 13:31:20 -0500
I've tried both 'fixes' from the mailing list archives and neither is
working for me.
The first one gives me:
Error Type: AttributeError
Error Value: manage_addZSQLMethod
Traceback (innermost last):
File /local/zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module
File /local/zope/lib/python/ZPublisher/Publish.py, line 179, in publish
File /local/zope/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook
File /local/zope/lib/python/ZPublisher/Publish.py, line 165, in publish
File /local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: createSQLInput)
File /local/zope/lib/python/ZPublisher/Publish.py, line 102, in call_object
(Object: createSQLInput)
File /local/zope/lib/python/Products/PSQLInput/Wizard.py, line 360, in createSQLInput
AttributeError: (see above)
lines 360-1:
self.aq_parent.manage_addZSQLMethod(sqlId, sqlTitle,
self.connection_id, args, command)
and the 'improved' version gives me:
Error Type: AttributeError
Error Value: manage_addZSQLMethod
Traceback (innermost last):
File /local/zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module
File /local/zope/lib/python/ZPublisher/Publish.py, line 179, in publish
File /local/zope/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook
File /local/zope/lib/python/ZPublisher/Publish.py, line 165, in publish
File /local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: createSQLInput)
File /local/zope/lib/python/ZPublisher/Publish.py, line 102, in call_object
(Object: createSQLInput)
File /local/zope/lib/python/Products/PSQLInput/Wizard.py, line 357, in createSQLInput
File /local/zope/lib/python/App/FactoryDispatcher.py, line 96, in __getitem__
File /local/zope/lib/python/App/Product.py, line 136, in _product
(Object: ElementWithAttributes)
AttributeError: (see above)
line 357:
addZSQL=self.aq_parent.manage_addProduct['manage_addZSQLMethod']
i did the 'import Products.ZSQLMethods.SQL' at the top of the script.
does anyone know what i'm doing wrong?
--
<BLINK> ;for (74,1970500640,1634627444,1751478816,1348825708,543711587,
1801810465){for($x=1<<1^1;$x>=1>>1;$x--) {$q=hex ff,$r=oct($x=~s,\d,$&*
10,e,$x),$x/=1/.1,$q<<=$r,$s.=chr (($_&$q)>>$r),$t++}}while($= ||= !$|)
{$o=$o?$?:$/;$|=1;print $o?$s:$"x$t if$;;print"\b"x$t;sleep 1} </BLINK>