[Zope] execute parameters sql in script
Michael Bleijerveld
michael at bleijerveld.nl
Fri Sep 19 02:45:46 EDT 2003
Hi,
This is the traceback on the commandline.
Traceback (most recent call last):
File "add_user.py", line 13, in ?
cur.execute(str_sql)
File "/opt/zope/lib/python2.1/site-packages/kinterbasdb/__init__.py", line
1480, in execute
self.description = _k.execute(self._C_cursor, sql, params)
kinterbasdb.ProgrammingError: (-104, 'isc_dsql_prepare: Dynamic SQL Error.
SQL error code = -104. Token unknown - line 1, char 46. ). ')
Michael
----- Original Message -----
From: "Paul Winkler" <pw_lists at slinkp.com>
To: <zope at zope.org>
Sent: Thursday, September 18, 2003 10:44 PM
Subject: Re: [Zope] execute parameters sql in script
> On Thu, Sep 18, 2003 at 09:50:34PM +0200, Michael Bleijerveld wrote:
> > Hi Dieter,
> >
> > I use this script from the command line.
>
> Then you should see the traceback on the command line.
> If you don't post it we can't guess what is wrong.
> "an error" is not enough information.
>
> --
>
> Paul Winkler
> http://www.slinkp.com
> Look! Up in the sky! It's BRITISH GRID THARGIAN-TERMINAL!
> (random hero from isometric.spaceninja.com)
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
More information about the Zope
mailing list