Crash with DateTime editor since version 4.4 at least

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Crash with DateTime editor since version 4.4 at least

Christophe Grimault
Hi all,

Upgrading from version 4.2 to newer version, we now face some crash, both on windows and fedora 19 or 20, using DateTime.
The bug can be reproduced with this basic code :

class C(HasTraits):
    test = Date(DT)
   
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


Instantiate this with a simple configure_traits(), it will show up, but when clicking OK... BOOM !

Any help ?

Thanks in advance

Chris

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Crash with DateTime editor since version 4.4 at least

Didrik Pinte-2



On 10 January 2014 10:52, Christophe Grimault <[hidden email]> wrote:
Hi all,

Upgrading from version 4.2 to newer version, we now face some crash, both on windows and fedora 19 or 20, using DateTime.
The bug can be reproduced with this basic code :

class C(HasTraits):
    test = Date(DT)
   
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


Instantiate this with a simple configure_traits(), it will show up, but when clicking OK... BOOM !

Any help ?

Thanks in advance

Hi Christophe,

Is this on WX or QT (PySide/PyQT)? Are you using your own builds? a Python distribution? 

-- Didrik  

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Crash with DateTime editor since version 4.4 at least

Christophe Grimault
Hello Didrik,

On my fedora 20, I installed from enthought site using ets.py to checkout the latest version '4.5.0.dev' which I built and installed smoothly. And I use WX.

On windows, my friend installed the 4.4 version using PIP. He also uses WX.

Hope this helps...

Thanks in advance

Chris

On 01/13/2014 10:30 AM, Didrik Pinte wrote:



On 10 January 2014 10:52, Christophe Grimault <[hidden email]> wrote:
Hi all,

Upgrading from version 4.2 to newer version, we now face some crash, both on windows and fedora 19 or 20, using DateTime.
The bug can be reproduced with this basic code :

class C(HasTraits):
    test = Date(DT)
   
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


Instantiate this with a simple configure_traits(), it will show up, but when clicking OK... BOOM !

Any help ?

Thanks in advance

Hi Christophe,

Is this on WX or QT (PySide/PyQT)? Are you using your own builds? a Python distribution? 

-- Didrik  


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Crash with DateTime editor since version 4.4 at least

Didrik Pinte-2
Hi Christophe.

Your code runs fine on MacOSX and WX 2.9. The only thing I am missing is how you define DT to replicated exactly what you have.

I will test it on Windows as soon as possible.

-- Didrik


On 13 January 2014 11:01, Christophe Grimault <[hidden email]> wrote:
Hello Didrik,

On my fedora 20, I installed from enthought site using ets.py to checkout the latest version '4.5.0.dev' which I built and installed smoothly. And I use WX.

On windows, my friend installed the 4.4 version using PIP. He also uses WX.

Hope this helps...

Thanks in advance

Chris


On 01/13/2014 10:30 AM, Didrik Pinte wrote:



On 10 January 2014 10:52, Christophe Grimault <[hidden email]> wrote:
Hi all,

Upgrading from version 4.2 to newer version, we now face some crash, both on windows and fedora 19 or 20, using DateTime.
The bug can be reproduced with this basic code :

class C(HasTraits):
    test = Date(DT)
   
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


Instantiate this with a simple configure_traits(), it will show up, but when clicking OK... BOOM !

Any help ?

Thanks in advance

Hi Christophe,

Is this on WX or QT (PySide/PyQT)? Are you using your own builds? a Python distribution? 

-- Didrik  


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev




--
Didrik Pinte                               +32 475 665 668
                                                +44 1223 969515
Enthought Europe                      [hidden email]
Scientific Computing Solutions   http://www.enthought.com

The information contained in this message is Enthought confidential & not to be dissiminated to outside parties without explicit prior approval from sender.  This message is intended solely for the addressee(s), If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Crash with DateTime editor since version 4.4 at least

Christophe Grimault
On 01/17/2014 02:26 AM, Didrik Pinte wrote:
Hi Christophe.

Your code runs fine on MacOSX and WX 2.9. The only thing I am missing is how you define DT to replicated exactly what you have.

I will test it on Windows as soon as possible.

-- Didrik


On 13 January 2014 11:01, Christophe Grimault <[hidden email]> wrote:
Hello Didrik,

On my fedora 20, I installed from enthought site using ets.py to checkout the latest version '4.5.0.dev' which I built and installed smoothly. And I use WX.

On windows, my friend installed the 4.4 version using PIP. He also uses WX.

Hope this helps...

Thanks in advance

Chris


On 01/13/2014 10:30 AM, Didrik Pinte wrote:



On 10 January 2014 10:52, Christophe Grimault <[hidden email]> wrote:
Hi all,

Upgrading from version 4.2 to newer version, we now face some crash, both on windows and fedora 19 or 20, using DateTime.
The bug can be reproduced with this basic code :

class C(HasTraits):
    test = Date(DT)
   
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


Instantiate this with a simple configure_traits(), it will show up, but when clicking OK... BOOM !

Any help ?

Thanks in advance

Hi Christophe,

Is this on WX or QT (PySide/PyQT)? Are you using your own builds? a Python distribution? 

-- Didrik  


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev




--
Didrik Pinte                               +32 475 665 668
                                                +44 1223 969515
Enthought Europe                      [hidden email]
Scientific Computing Solutions   http://www.enthought.com

The information contained in this message is Enthought confidential & not to be dissiminated to outside parties without explicit prior approval from sender.  This message is intended solely for the addressee(s), If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
The whole test is as follows :

#!/usr/bin/env python

from traits.api import HasTraits, Instance, Int, Array, Float, Property, on_trait_change, Range, Date
from traitsui.api import View, Item, Group, DateEditor


class C(HasTraits):
    test = Date()
  
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


if __name__ == '__main__':
    C().configure_traits()

Also, I'm not working with wx 2.9 :

>>> import wx
>>> wx.__version__
'2.8.12.0'

Hope this helps. Fedora 20.0 still does not provide version 2.9...

Best regards

Chris


-- 
Christophe Grimault
NovaGrid SAS
Les Jardins de la Teillais
3, allée de la grande égalonne
35740 Pacé, France
www.novagrid.com

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Crash with DateTime editor since version 4.4 at least

Rob McMullen
For me (on Gentoo linux) it works with wx 2.8 but I get the segfault with wx 2.9.4.1.

I can't get gdb to work to show me the python backtrace. I get the gdb backtrace, but trying to use 'py-bt' results in a lot of:

#16 (unable to read python frame information)

lines.

Rob


On Fri, Jan 17, 2014 at 7:09 AM, Christophe Grimault <[hidden email]> wrote:
On 01/17/2014 02:26 AM, Didrik Pinte wrote:
Hi Christophe.

Your code runs fine on MacOSX and WX 2.9. The only thing I am missing is how you define DT to replicated exactly what you have.

I will test it on Windows as soon as possible.

-- Didrik


On 13 January 2014 11:01, Christophe Grimault <[hidden email]> wrote:
Hello Didrik,

On my fedora 20, I installed from enthought site using ets.py to checkout the latest version '4.5.0.dev' which I built and installed smoothly. And I use WX.

On windows, my friend installed the 4.4 version using PIP. He also uses WX.

Hope this helps...

Thanks in advance

Chris


On 01/13/2014 10:30 AM, Didrik Pinte wrote:



On 10 January 2014 10:52, Christophe Grimault <[hidden email]> wrote:
Hi all,

Upgrading from version 4.2 to newer version, we now face some crash, both on windows and fedora 19 or 20, using DateTime.
The bug can be reproduced with this basic code :

class C(HasTraits):
    test = Date(DT)
   
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


Instantiate this with a simple configure_traits(), it will show up, but when clicking OK... BOOM !

Any help ?

Thanks in advance

Hi Christophe,

Is this on WX or QT (PySide/PyQT)? Are you using your own builds? a Python distribution? 

-- Didrik  


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev




--
Didrik Pinte                               +32 475 665 668
                                                +44 1223 969515
Enthought Europe                      [hidden email]
Scientific Computing Solutions   http://www.enthought.com

The information contained in this message is Enthought confidential & not to be dissiminated to outside parties without explicit prior approval from sender.  This message is intended solely for the addressee(s), If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
The whole test is as follows :

#!/usr/bin/env python

from traits.api import HasTraits, Instance, Int, Array, Float, Property, on_trait_change, Range, Date
from traitsui.api import View, Item, Group, DateEditor


class C(HasTraits):
    test = Date()

  
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


if __name__ == '__main__':
    C().configure_traits()

Also, I'm not working with wx 2.9 :

>>> import wx
>>> wx.__version__
'2.8.12.0'

Hope this helps. Fedora 20.0 still does not provide version 2.9...

Best regards

Chris


-- 
Christophe Grimault
NovaGrid SAS
Les Jardins de la Teillais
3, allée de la grande égalonne
35740 Pacé, France
www.novagrid.com

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev



_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Crash with DateTime editor since version 4.4 at least

Rob McMullen
I got a debug version of python/wxpython working. I think the issue is a problem with the logic in _popEventHandlers in traitsui/wx/toolkit.py.  It seems to assume that all event handlers of a control that aren't the default handler must have been added by traitsui, and removes them.

The problem seems to be that the DateEditor's ComboCtrl must add its own event handler, but it gets removed by _popEventHandlers, which then causes the crash in the DestroyChildren chain in the C++ code because the handler has already been deleted:

#0  0x0000000002ebcd40 in ?? ()
#1  0x00007fffefd3f11e in wxDELETE<wxEvtHandler> (ptr=@0x2e0bef0: 0x215a940) at /data/py27debug/src/wxPython-src-2.9.4.0/include/wx/defs.h:617
#2  0x00007fffefd3afdb in wxComboCtrlBase::DestroyPopup (this=0x2e0bc10) at /data/py27debug/src/wxPython-src-2.9.4.0/src/common/combocmn.cpp:2138

Here's the pull request -- it fixes the problem but it should be looked over by some more experienced traitsui folks. I know wx well, but I'm just getting into Enthought/traits/etc because I want to add wx support for tasks so I can use the tasks framework for a big application.


On Fri, Jan 17, 2014 at 10:59 AM, Rob McMullen <[hidden email]> wrote:
For me (on Gentoo linux) it works with wx 2.8 but I get the segfault with wx 2.9.4.1.

I can't get gdb to work to show me the python backtrace. I get the gdb backtrace, but trying to use 'py-bt' results in a lot of:

#16 (unable to read python frame information)

lines.

Rob


On Fri, Jan 17, 2014 at 7:09 AM, Christophe Grimault <[hidden email]> wrote:
On 01/17/2014 02:26 AM, Didrik Pinte wrote:
Hi Christophe.

Your code runs fine on MacOSX and WX 2.9. The only thing I am missing is how you define DT to replicated exactly what you have.

I will test it on Windows as soon as possible.

-- Didrik


On 13 January 2014 11:01, Christophe Grimault <[hidden email]> wrote:
Hello Didrik,

On my fedora 20, I installed from enthought site using ets.py to checkout the latest version '4.5.0.dev' which I built and installed smoothly. And I use WX.

On windows, my friend installed the 4.4 version using PIP. He also uses WX.

Hope this helps...

Thanks in advance

Chris


On 01/13/2014 10:30 AM, Didrik Pinte wrote:



On 10 January 2014 10:52, Christophe Grimault <[hidden email]> wrote:
Hi all,

Upgrading from version 4.2 to newer version, we now face some crash, both on windows and fedora 19 or 20, using DateTime.
The bug can be reproduced with this basic code :

class C(HasTraits):
    test = Date(DT)
   
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


Instantiate this with a simple configure_traits(), it will show up, but when clicking OK... BOOM !

Any help ?

Thanks in advance

Hi Christophe,

Is this on WX or QT (PySide/PyQT)? Are you using your own builds? a Python distribution? 

-- Didrik  


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev




--
Didrik Pinte                               +32 475 665 668
                                                +44 1223 969515
Enthought Europe                      [hidden email]
Scientific Computing Solutions   http://www.enthought.com

The information contained in this message is Enthought confidential & not to be dissiminated to outside parties without explicit prior approval from sender.  This message is intended solely for the addressee(s), If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
The whole test is as follows :

#!/usr/bin/env python

from traits.api import HasTraits, Instance, Int, Array, Float, Property, on_trait_change, Range, Date
from traitsui.api import View, Item, Group, DateEditor


class C(HasTraits):
    test = Date()

  
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


if __name__ == '__main__':
    C().configure_traits()

Also, I'm not working with wx 2.9 :

>>> import wx
>>> wx.__version__
'2.8.12.0'

Hope this helps. Fedora 20.0 still does not provide version 2.9...

Best regards

Chris


-- 
Christophe Grimault
NovaGrid SAS
Les Jardins de la Teillais
3, allée de la grande égalonne
35740 Pacé, France
www.novagrid.com

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev




_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Crash with DateTime editor since version 4.4 at least

Corran Webster
Thanks for looking into this.  My suspicion is that this PR may have been the culprit (or at least be related): https://github.com/enthought/traitsui/pull/108

I'll see if Robin has a bit of time to look into this.

-- Corran


On Fri, Jan 17, 2014 at 4:06 PM, Rob McMullen <[hidden email]> wrote:
I got a debug version of python/wxpython working. I think the issue is a problem with the logic in _popEventHandlers in traitsui/wx/toolkit.py.  It seems to assume that all event handlers of a control that aren't the default handler must have been added by traitsui, and removes them.

The problem seems to be that the DateEditor's ComboCtrl must add its own event handler, but it gets removed by _popEventHandlers, which then causes the crash in the DestroyChildren chain in the C++ code because the handler has already been deleted:

#0  0x0000000002ebcd40 in ?? ()
#1  0x00007fffefd3f11e in wxDELETE<wxEvtHandler> (ptr=@0x2e0bef0: 0x215a940) at /data/py27debug/src/wxPython-src-2.9.4.0/include/wx/defs.h:617
#2  0x00007fffefd3afdb in wxComboCtrlBase::DestroyPopup (this=0x2e0bc10) at /data/py27debug/src/wxPython-src-2.9.4.0/src/common/combocmn.cpp:2138

Here's the pull request -- it fixes the problem but it should be looked over by some more experienced traitsui folks. I know wx well, but I'm just getting into Enthought/traits/etc because I want to add wx support for tasks so I can use the tasks framework for a big application.


On Fri, Jan 17, 2014 at 10:59 AM, Rob McMullen <[hidden email]> wrote:
For me (on Gentoo linux) it works with wx 2.8 but I get the segfault with wx 2.9.4.1.

I can't get gdb to work to show me the python backtrace. I get the gdb backtrace, but trying to use 'py-bt' results in a lot of:

#16 (unable to read python frame information)

lines.

Rob


On Fri, Jan 17, 2014 at 7:09 AM, Christophe Grimault <[hidden email]> wrote:
On 01/17/2014 02:26 AM, Didrik Pinte wrote:
Hi Christophe.

Your code runs fine on MacOSX and WX 2.9. The only thing I am missing is how you define DT to replicated exactly what you have.

I will test it on Windows as soon as possible.

-- Didrik


On 13 January 2014 11:01, Christophe Grimault <[hidden email]> wrote:
Hello Didrik,

On my fedora 20, I installed from enthought site using ets.py to checkout the latest version '4.5.0.dev' which I built and installed smoothly. And I use WX.

On windows, my friend installed the 4.4 version using PIP. He also uses WX.

Hope this helps...

Thanks in advance

Chris


On 01/13/2014 10:30 AM, Didrik Pinte wrote:



On 10 January 2014 10:52, Christophe Grimault <[hidden email]> wrote:
Hi all,

Upgrading from version 4.2 to newer version, we now face some crash, both on windows and fedora 19 or 20, using DateTime.
The bug can be reproduced with this basic code :

class C(HasTraits):
    test = Date(DT)
   
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


Instantiate this with a simple configure_traits(), it will show up, but when clicking OK... BOOM !

Any help ?

Thanks in advance

Hi Christophe,

Is this on WX or QT (PySide/PyQT)? Are you using your own builds? a Python distribution? 

-- Didrik  


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev




--
Didrik Pinte                               <a href="tel:%2B32%20475%20665%20668" value="+32475665668" target="_blank">+32 475 665 668
                                                <a href="tel:%2B44%201223%20969515" value="+441223969515" target="_blank">+44 1223 969515
Enthought Europe                      [hidden email]
Scientific Computing Solutions   http://www.enthought.com

The information contained in this message is Enthought confidential & not to be dissiminated to outside parties without explicit prior approval from sender.  This message is intended solely for the addressee(s), If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
The whole test is as follows :

#!/usr/bin/env python

from traits.api import HasTraits, Instance, Int, Array, Float, Property, on_trait_change, Range, Date
from traitsui.api import View, Item, Group, DateEditor


class C(HasTraits):
    test = Date()

  
    traits_view = View(Item(name='test', editor=DateEditor()),
                        buttons=['OK'],)


if __name__ == '__main__':
    C().configure_traits()

Also, I'm not working with wx 2.9 :

>>> import wx
>>> wx.__version__
'2.8.12.0'

Hope this helps. Fedora 20.0 still does not provide version 2.9...

Best regards

Chris


-- 
Christophe Grimault
NovaGrid SAS
Les Jardins de la Teillais
3, allée de la grande égalonne
35740 Pacé, France
www.novagrid.com

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev




_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev



_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Crash with DateTime editor since version 4.4 at least

Rob McMullen
On Fri, Jan 17, 2014 at 9:08 PM, Corran Webster <[hidden email]> wrote:
Thanks for looking into this.  My suspicion is that this PR may have been the culprit (or at least be related): https://github.com/enthought/traitsui/pull/108

Yeah, it looks like my patch is just a modification of this. Robin will probably have a better way to do it, but my guess was that the combo box popup modified its event handler to point to back to the ComboCtrl itself, which then got deleted by _popEventHandlers.
 
I'll see if Robin has a bit of time to look into this.

Great to have Robin as a resource working with you all.  Can't get any better wx support than him, that's for sure!

Rob




_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Crash with DateTime editor since version 4.4 at least

Christophe Grimault
On 01/19/2014 02:19 AM, Rob McMullen wrote:
On Fri, Jan 17, 2014 at 9:08 PM, Corran Webster <[hidden email]> wrote:
Thanks for looking into this.  My suspicion is that this PR may have been the culprit (or at least be related): https://github.com/enthought/traitsui/pull/108

Yeah, it looks like my patch is just a modification of this. Robin will probably have a better way to do it, but my guess was that the combo box popup modified its event handler to point to back to the ComboCtrl itself, which then got deleted by _popEventHandlers.
 
I'll see if Robin has a bit of time to look into this.

Great to have Robin as a resource working with you all.  Can't get any better wx support than him, that's for sure!

Rob





_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Thank you all for chasing down this bug. How can we know when it is fixed, so that I download and install the correction for my 4.5 enthought version ?

Best regards

Chris

-- 
Christophe Grimault
NovaGrid SAS
Les Jardins de la Teillais
3, allée de la grande égalonne
35740 Pacé, France
www.novagrid.com

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Crash with DateTime editor since version 4.4 at least

Corran Webster
Hi Christophe,

I would follow the progress of Rob's patch pull request (https://github.com/enthought/traitsui/pull/153) to know when it is fixed.

In the interim you could manually merge Rob's patch into your working version of TraitsUI if you need the fix sooner.

-- Corran



On Mon, Jan 20, 2014 at 3:53 AM, Christophe Grimault <[hidden email]> wrote:
On 01/19/2014 02:19 AM, Rob McMullen wrote:
On Fri, Jan 17, 2014 at 9:08 PM, Corran Webster <[hidden email]> wrote:
Thanks for looking into this.  My suspicion is that this PR may have been the culprit (or at least be related): https://github.com/enthought/traitsui/pull/108

Yeah, it looks like my patch is just a modification of this. Robin will probably have a better way to do it, but my guess was that the combo box popup modified its event handler to point to back to the ComboCtrl itself, which then got deleted by _popEventHandlers.
 
I'll see if Robin has a bit of time to look into this.

Great to have Robin as a resource working with you all.  Can't get any better wx support than him, that's for sure!

Rob





_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Thank you all for chasing down this bug. How can we know when it is fixed, so that I download and install the correction for my 4.5 enthought version ?


Best regards

Chris

-- 
Christophe Grimault
NovaGrid SAS
Les Jardins de la Teillais
3, allée de la grande égalonne
35740 Pacé, France
www.novagrid.com

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev



_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev