On Thursday, June 14, 2012 10:56:47 AM UTC+3, Guillaume wrote:
>
>
> I am having a strange problem with spyder (frequent crash / segmentation 
> fault at startup)


I experience similar problem occasionally, but not sure the crash reason is 
the same.

Attached are the logs of a 'successful' and 'crashed' start with the 
> --debug option (dev version). I do not see any difference.
> I also attached what ipython returns when spyder is started doing a %run 
> bootstrap.py from the ipython console.
>

Good catch with IPython AttributeError: 'ExplorerTreeWidget' object has no 
attribute 'workspace'
http://code.google.com/p/spyderlib/source/browse/spyderlib/widgets/projectexplorer.py?spec=svnc21525fc65331f4d315b1fd283bf2fc13f689358&r=5f8cf5aafd203e662d562bbf66270037de57ab3b#467

Here ExplorerTreeWidget init resets (and assigns) IconProvider before 
assigning self.workspace, which is implicitly used when IconProvider calls 
self.treeview.get_source_project()
The obvious way is to change the init order in ExplorerTreeWidget if there 
is no way to avoid calls from IconProvider back to.

Other stuff needs some more time for investigation.

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/spyderlib/-/8naI162lstgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to