Error in Chain of Function calls (Code Attached)

Boris Borcic bborcic at gmail.com
Fri Jun 9 11:33:39 EDT 2006


Girish Sahani wrote:

>>> However i am getting an error at the line marked with ***.

>> Which error ? How do you hope us to be of any help here if you don't *at
>> least* provide the full traceback ? FWIW, the canonical way to do things
>> is to:
>> - provide minimal *runnable* code exposing the problem
>> - explain what you hoped to get
>> - explain what you got instead (including full traceback)
>>
>> As a matter of fact, it's often the case that one solves the problem
>> when working on the first point !-)
>>
>> (snip)
> Ohh...I was thinking that posting the whole code would not be a good idea.

And what changed your mind ? Please note the word "minimal" in bruno's sentence 
about submitting your code. And also the request for explanations.

> The error i get above is:
> line 266, in colocationMiner
> prunedNew = genColocations(prunedK)

OTOH, bruno asked for the full traceback, that's not it - that's not "the error" 
in any constructive sense, neither its type nor its real location.



More information about the Python-list mailing list