Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: Puzzling error msg. (http://www.velocityreviews.com/forums/t955090-re-puzzling-error-msg.html)

Dave Angel 12-04-2012 02:28 AM

Re: Puzzling error msg.
 
On 12/03/2012 03:33 PM, Chris Angelico wrote:
> <snip>
> Is it possible that the error actually came from further up (with a
> faulty line number) and was actually because communicate() somehow
> returned an empty list? That's the only place in the code quoted that
> I'm seeing indexing, but communicate() is supposed to return a tuple,
> not a list. ChrisA

Tuples can also be empty. Try j = () for example, and look at its type
and length.

No idea if this is the problem, but just wanted to nitpick.


--

DaveA



All times are GMT. The time now is 07:39 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57