Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94681
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'context': 0.05; 'indicated': 0.07; 'processing.': 0.07; 'subject:Error': 0.07; 'valueerror:': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'appropriate': 0.14; "'c'": 0.16; '(pdb)': 0.16; 'debugger.': 0.16; 'ordinal': 0.16; 'pdb;': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.16; 'debugging': 0.18; 'otherwise,': 0.20; 'dropped': 0.22; 'seems': 0.23; '(you': 0.23; 'header:In-Reply-To:1': 0.24; 'script': 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints- To:1': 0.26; 'idea': 0.28; "i'm": 0.30; 'code': 0.30; "i'd": 0.31; 'anyone': 0.32; 'getting': 0.33; 'similar': 0.33; 'comment': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'doing': 0.38; 'version': 0.38; 'does': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; "you'll": 0.61; 'charset:windows-1252': 0.62; 'complete': 0.63; 'results': 0.66; 'book,': 0.72; 'received:12': 0.81; '***': 0.95 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Emile van Sebille <emile@fenx.com> |
| Subject | Re: Error: valueError: ordinal must be >= 1 |
| Date | Mon, 27 Jul 2015 16:25:17 -0700 |
| References | <5538a8f6-8c47-4da8-8517-92d860948d93@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | www.westernstatesglass.com |
| User-Agent | Mozilla/5.0 (Windows NT 6.2; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
| In-Reply-To | <5538a8f6-8c47-4da8-8517-92d860948d93@googlegroups.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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.1040.1438039545.3674.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1438039545 news.xs4all.nl 2955 [2001:888:2000:d::a6]:60030 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:94681 |
Show key headers only | View raw
On 7/27/2015 4:13 PM, ryguy7272 wrote: <SNIP> > It seems to work perfectly find when I see the results in the book, but all I'm getting is this . . . > *** ValueError: ordinal must be >= 1 > (Pdb) > > Does anyone have any idea what I'm doing wrong? You've been dropped into the python debugger. I'd suspect you've hit a 'import pdb; pdb.set_trace()' or similar line. You can type in 'l' (lower case L) to see the context (you may need to 's' (step) to the appropriate line depending on your version of python.) Alternately, use 'c' to allow the script to continue processing. Otherwise, you'll need to complete debugging the code (as indicated by the break) or comment out/remove the set_trace. Emile
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Error: valueError: ordinal must be >= 1 ryguy7272 <ryanshuell@gmail.com> - 2015-07-27 16:13 -0700 Re: Error: valueError: ordinal must be >= 1 Emile van Sebille <emile@fenx.com> - 2015-07-27 16:25 -0700
csiph-web