Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9436

Re: python error PLS-00306: wrong number or types of arguments in

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: python error PLS-00306: wrong number or types of arguments in
Date 2011-07-13 21:02 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <ivl15d$l54$1@reader1.panix.com> (permalink)
References (4 earlier) <d45161dc-648c-4a44-a563-317b5f5e5699@h14g2000yqd.googlegroups.com> <ivko10$hvc$1@reader1.panix.com> <e7fd08c5-e2e4-4699-b75d-5bcf796484ff@m18g2000vbl.googlegroups.com> <ivku18$s45$1@reader1.panix.com> <86b9e6f2-e18e-41b9-92a2-86ea8d7b4592@f35g2000vbr.googlegroups.com>

Show all headers | View raw


In <86b9e6f2-e18e-41b9-92a2-86ea8d7b4592@f35g2000vbr.googlegroups.com> Adeoluwa Odein <stratfordtenants@gmail.com> writes:

> The same error. The sample were found on the following site --I copied
> exactly what is written there:
> 1. http://www.jython.org/archive/21/docs/zxjdbc.html

Ah, I see.  You're supposed to call c.fetchall() afterwards to retrieve
the OUT parameter.

Also, the example page defines the called object as a function, not a
procedure.  Maybe that's the problem?  Try defining RS22 as a function
and see if that helps.

You might also try defining it outside of a package, as that is how the
example code does it.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 10:11 -0700
  Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 17:40 +0000
    Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 10:58 -0700
      Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 18:10 +0000
        Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 11:18 -0700
          Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 18:26 +0000
            Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 11:32 -0700
              Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 20:09 +0000
                Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 13:33 -0700
                Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 21:02 +0000
                Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 14:06 -0700
                Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 21:19 +0000
                Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 14:28 -0700
                Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 14:28 -0700
                Re: python error PLS-00306: wrong number or types of arguments in Terry Reedy <tjreedy@udel.edu> - 2011-07-13 17:18 -0400
            Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 11:33 -0700

csiph-web