Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3819
| From | RVince <rvince99@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Argument count mismatch |
| Date | 2011-04-21 12:33 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <ac20c08e-6957-4836-9319-e668a8da8112@q30g2000vbs.googlegroups.com> (permalink) |
I am getting the following:
Error - <type 'exceptions.TypeError'>: cmseditorlinemethod() takes
exactly 2 arguments (1 given)
When I make the following call:
http://localhost/eligibility/cmseditorlinemethod/474724434
Which invokes:
def cmseditorlinemethod(self, ssn):
c.details =
Session.query(MSPResponse).filter(MSPResponse.beneficiaryssn ==
ssn).all()
content = render('/cmseditorline.mako')
return content
Can anyone tell me what the mismatch is in the number of my parameters
based on this? Thanks, RVince
Back to comp.lang.python | Previous | Next — Next in thread | Find similar
Argument count mismatch RVince <rvince99@gmail.com> - 2011-04-21 12:33 -0700
Re: Argument count mismatch Wolfgang Rohdewald <wolfgang@rohdewald.de> - 2011-04-21 21:43 +0200
Re: Argument count mismatch Chris Angelico <rosuav@gmail.com> - 2011-04-22 06:15 +1000
Re: Argument count mismatch John Gordon <gordon@panix.com> - 2011-04-21 20:33 +0000
Re: Argument count mismatch Westley MartÃnez <anikom15@gmail.com> - 2011-04-21 15:41 -0700
Re: Argument count mismatch Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-22 01:43 +0000
Re: Argument count mismatch Daniel Kluev <dan.kluev@gmail.com> - 2011-04-22 21:19 +1100
csiph-web