Re: Error Raised But dont know what it means

2008-03-30 Thread David Anderson
I found the problem Topic closed On Sun, Mar 30, 2008 at 5:07 PM, David Anderson <[EMAIL PROTECTED]> wrote: > Here is the code: > This one raises the error: > def criaLista(self): > self.listbox.Clear() > for dupla in self.duplas: > self.listbox.Append(dupla.__str__()

Re: Error Raised But dont know what it means

2008-03-30 Thread David Anderson
Here is the code: This one raises the error: def criaLista(self): self.listbox.Clear() for dupla in self.duplas: self.listbox.Append(dupla.__str__()) This one works well but doesn't raises error dupla1 = Duplas("2422", "2455") dupla2 = Duplas("454", "15") list = [] lis

Error Raised But dont know what it means

2008-03-30 Thread David Anderson
Well, I'm dealing with files in Pickle, I'm saving at the file a List of Objects from the same Class, When I try to retrive this information and try to iterate over them this error is raised: TypeError: 'instancemethod' object is not iterable But if I just print the method I get the 'real thing' w