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


Groups > comp.lang.python > #94681

Re: Error: valueError: ordinal must be >= 1

From Emile van Sebille <emile@fenx.com>
Subject Re: Error: valueError: ordinal must be >= 1
Date 2015-07-27 16:25 -0700
References <5538a8f6-8c47-4da8-8517-92d860948d93@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.1040.1438039545.3674.python-list@python.org> (permalink)

Show all headers | 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 | NextPrevious in thread | Find similar | Unroll thread


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