← Back to team overview

phatch-dev team mailing list archive

[Bug 386638] Re: Color to Alpha action - Select Color By field crashes app

 

Please try again with the latest version.

$ bzr commit -m "fix combobox bug"
Committing to: /home/stani/sync/python/phatch/trunk/                           
modified phatch/pyWx/lib/popup.py
Committed revision 769.                      

** Changed in: phatch
       Status: Confirmed => Fix Committed

** Summary changed:

- Color to Alpha action - Select Color By field crashes app
+ Conditional combobox, with toolbar overlap, crashes app

** Description changed:

- Add "Color to Alpha" action. Change "Select Color By" to the last option. Change it back to the first option -> crash:
+ Add "Color to Alpha" action. Change "Select Color By" to the last
+ option. Change it back to the first option so that it overlap with the
+ toolbar.
+ 
+ -> crash:
  Traceback (most recent call last):                                                   
    File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in <lambda>                                                                        
      lambda event: event.callable(*event.args, **event.kw) )                          
    File "/usr/local/lib/python2.6/site-packages/phatch/pyWx/lib/popup.py", line 124, in OnAfterChange                                                                      
      self.on_change(unicode(self.Get()))                                              
    File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14564, in __getattr__
      raise PyDeadObjectError(self.attrStr % self._name)
  wx._core.PyDeadObjectError: The C++ part of the Choice object has been deleted, attribute access no longer allowed.
  jutuveps@linux-v4f0:~/Projects/phatch/phatch> phatch
  Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in <lambda>
      lambda event: event.callable(*event.args, **event.kw) )
    File "/usr/local/lib/python2.6/site-packages/phatch/pyWx/lib/popup.py", line 124, in OnAfterChange
      self.on_change(unicode(self.Get()))
    File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14564, in __getattr__
      raise PyDeadObjectError(self.attrStr % self._name)
  wx._core.PyDeadObjectError: The C++ part of the Choice object has been deleted, attribute access no longer allowed.
  
  Tested in rev. 766 of trunk.

-- 
Conditional combobox, with toolbar overlap, crashes app
https://bugs.launchpad.net/bugs/386638
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Fix Committed

Bug description:
Add "Color to Alpha" action. Change "Select Color By" to the last option. Change it back to the first option so that it overlap with the toolbar.

-> crash:
Traceback (most recent call last):                                                   
  File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in <lambda>                                                                        
    lambda event: event.callable(*event.args, **event.kw) )                          
  File "/usr/local/lib/python2.6/site-packages/phatch/pyWx/lib/popup.py", line 124, in OnAfterChange                                                                      
    self.on_change(unicode(self.Get()))                                              
  File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14564, in __getattr__
    raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the Choice object has been deleted, attribute access no longer allowed.
jutuveps@linux-v4f0:~/Projects/phatch/phatch> phatch
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/local/lib/python2.6/site-packages/phatch/pyWx/lib/popup.py", line 124, in OnAfterChange
    self.on_change(unicode(self.Get()))
  File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14564, in __getattr__
    raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the Choice object has been deleted, attribute access no longer allowed.

Tested in rev. 766 of trunk.



References