Re: [Tutor] Segmentation Fault shenanigans with wx Gui

2012-10-22 Thread Marco Mistroni
Hello Ramit yes solution worked... thanks and regards marco On Mon, Oct 22, 2012 at 5:58 PM, Prasad, Ramit wrote: > Marco Mistroni wrote: > > > Hello > > i found the problem. It's calling self.list.ClearAll that causes the > segmentation fault. > > removing the call to ClearAll fixed my pro

Re: [Tutor] Segmentation Fault shenanigans with wx Gui

2012-10-22 Thread Prasad, Ramit
Marco Mistroni wrote: > Hello >  i found the problem. It's  calling self.list.ClearAll that causes the > segmentation fault. > removing the call to  ClearAll fixed my problem , but i still want to clear > the list before i  load new > data.. > could anyone assist? I think the problem is th

Re: [Tutor] Segmentation Fault shenanigans with wx Gui

2012-10-19 Thread Alan Gauld
On 19/10/12 23:05, Marco Mistroni wrote: Hi all i have written a wx GUI which downloads json data from a server, and populate a listbox. ... use events, but i am still getting a segmentation fault A segmentation fault is usually due to a fault down in the C code. With wxPython that means

Re: [Tutor] Segmentation Fault shenanigans with wx Gui

2012-10-19 Thread Steven D'Aprano
On 20/10/12 09:10, Marco Mistroni wrote: Hello i found the problem. It's calling self.list.ClearAll that causes the segmentation fault. removing the call to ClearAll fixed my problem , but i still want to clear the list before i load new data.. could anyone assist? This is not a questi

Re: [Tutor] Segmentation Fault shenanigans with wx Gui

2012-10-19 Thread Marco Mistroni
Hello i found the problem. It's calling self.list.ClearAll that causes the segmentation fault. removing the call to ClearAll fixed my problem , but i still want to clear the list before i load new data.. could anyone assist? wkr marco On Fri, Oct 19, 2012 at 11:05 PM, Marco Mistroni wrot

[Tutor] Segmentation Fault shenanigans with wx Gui

2012-10-19 Thread Marco Mistroni
Hi all i have written a wx GUI which downloads json data from a server, and populate a listbox. Every time i populate a listbox, i am receiving Segmentation Faults. I have tried to retrieve data from the URL via separate thread, and to use events, but i am still getting a segmentation fault could