[Zope] PSQLINPUT Wizard Error

Martijn Pieters mj@antraciet.nl
Thu, 07 Oct 1999 10:56:26 +0200


At 13:29 06/10/99 , Zope wrote:
>I had the same error, but I could fix it:
>
>1. open the file Zope\lib\python\Products\PSQLInput\Wizard.py
>2. goto line 357, containing the following:
>  self.aq_parent.manage_addZSQLMethod(sqlId, sqlTitle,
>          self.connection_id,
>          args, command)
>
>3. replace the previous statement by the following:
>self.aq_parent._setObject(sqlId, Products.ZSQLMethods.SQL.SQL(sqlId,
>sqlTitle,
>     self.connection_id, args, command))
>
>4. restart Zope
>
>
>I attached the complete Wizard.py
>
>hope it helped
>
>phil

Better still: Change it to:

   addZSQL=self.aq_parent.manage_addProduct['manage_addZSQLMethod']
   addZSQL.manage_addZSQLMethod(sqlId, sqlTitle, self.connection_id,
       args, command)



--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------