Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61822
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <airween@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.025 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.02; 'subject:not': 0.03; 'string': 0.09; 'arguments': 0.09; 'converted': 0.09; 'formatting': 0.09; 'subject:string': 0.09; 'cc:addr:python-list': 0.11; '"%"': 0.16; 'typeerror:': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'query': 0.26; 'skip:v 30': 0.26; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; '13,': 0.31; 'subject:all': 0.32; 'fri,': 0.33; 'from:charset:utf-8': 0.61; 'content-disposition:inline': 0.62; 'skip:f 50': 0.65; 'to:addr:gmail.com': 0.65; 'miss': 0.74; 'received:86': 0.91; 'received:hu': 0.93; '2013': 0.98 |
| X-Spam-Flag | NO |
| X-Spam-Score | -1.909 |
| X-Spam-Level | |
| X-Spam-Status | No, score=-1.909 tagged_above=-20 required=4 tests=[ALL_TRUSTED=-1, AWL=0.089, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9] autolearn=no |
| Date | Fri, 13 Dec 2013 14:26:03 +0100 |
| From | Ervin Hegedüs <airween@gmail.com> |
| To | Jai <jaiprakashsingh213@gmail.com> |
| Subject | Re: TypeError: not all arguments converted during string formatting |
| References | <01721890-9bbb-4c90-9668-11a73ef5ea8a@googlegroups.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| In-Reply-To | <01721890-9bbb-4c90-9668-11a73ef5ea8a@googlegroups.com> |
| User-Agent | Mutt/1.5.20 (2009-06-14) |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4069.1386941301.18130.python-list@python.org> (permalink) |
| Lines | 20 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1386941301 news.xs4all.nl 2891 [2001:888:2000:d::a6]:49448 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:61822 |
Show key headers only | View raw
hello,
On Fri, Dec 13, 2013 at 05:18:59AM -0800, Jai wrote:
> sql = """insert into
> fashion(GENDER,links,category,item_content,price,seller) \
> VAlUES('%s','%s','%s','%s','%s','s')"""
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
may be you miss a "%" sign?
> query = query % db.literal(args)
> TypeError: not all arguments converted during string formatting
cheers:
a.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
TypeError: not all arguments converted during string formatting Jai <jaiprakashsingh213@gmail.com> - 2013-12-13 05:18 -0800 Re: TypeError: not all arguments converted during string formatting Ervin Hegedüs <airween@gmail.com> - 2013-12-13 14:26 +0100 Re: TypeError: not all arguments converted during string formatting Peter Otten <__peter__@web.de> - 2013-12-13 14:33 +0100
csiph-web