Bug#823050: wxglade: cut/paste of items into sizer fails

2016-05-03 Thread Georges Khaznadar
Thank you Carsten,

I prepare the new release.

Best regards,   Georges.

Carsten Grohmann a écrit :
> Hi Georges,
> 
> may you add the attached patch to the current Debian package. It fixes
> the bug reported by Karsten as well as a second minor bug in the Perl
> code generator.
> 
> Yes, the fix isn't in a release version yet. The fix is in the stable
> branch of wxGlade. You can download the stable version of wxGlade
> always from Bitbucket
> (https://bitbucket.org/agriggio/wxglade/downloads#branch-downloads) and
> execute it directly.
> 
> Regards,
> Carsten
> 
> Karsten Hilbert schrieb am 02.05.2016:
> > Hi Carsten,
> > 
> > > this bug is already fixed in the stable branch of wxGlade 0.7.2 with
> > > changeset 62797578d6d2 "Fix PyDeadObject errors and crashes during
> > > cut and paste".  
> > 
> > Great !  You mean in an unreleased version thereof ?  Because:
> > 
> > wxglade:
> >   Installiert:   0.7.2-1
> >   Installationskandidat: 0.7.2-1
> >   Versionstabelle:
> >  *** 0.7.2-1 990
> > 990 ftp://ftp.de.debian.org/debian stretch/main i386
> > Packages 500 ftp://ftp.de.debian.org/debian unstable/main i386
> > Packages 100 /var/lib/dpkg/status
> > 
> > > You have three different possibibilties to report wxGlade bugs:
> > >  - send bug reports to the mailing list,
> > >  - file a ticket on Sourceforge
> > > or 
> > >  - send email to my private email address.  
> > 
> > I should've done as I used to do -- email you directly.
> > 
> > Anyway, no harm done.
> > 
> > Karsten
> 

> diff --git a/NEWS.txt b/NEWS.txt
> --- a/NEWS.txt
> +++ b/NEWS.txt
> @@ -25,6 +25,9 @@ Bugs:
>- Fix generated code for wxDatePickerCtrl
>- Add workaround for missing wxDefaultDateTime in wxPerl
>- Fix missing icons in release packages
> +  - Fix PyDeadObject errors and crashes during cut and paste
> +  - System colour constants named incorrectly in Perl (sf bug #184,
> +Thanks to Sue D. Nymme)
>  
>  Deprecation
>- In place modifications for generated source files will be removed in one
> diff --git a/README.SF.md b/README.SF.md
> --- a/README.SF.md
> +++ b/README.SF.md
> @@ -26,8 +26,8 @@ Files
>  MD5 checksums
>  -
>  b13cdf9eff9857f6f07f1bd6bf50348a  wxGlade-0.7.2-setup.exe
> -81d3270ba1c764d482b0fed00c6f9c59  wxGlade-0.7.2.tar.gz
> -69885a306f694222655fe63d3443191b  wxGlade-0.7.2.zip
> +16395cd62adba4b53da371fe59707a33  wxGlade-0.7.2.tar.gz
> +61ca7513da4913045854c1b0a62a04a3  wxGlade-0.7.2.zip
>  e57843ad4d0cb6bf1fc2aab7c46aaa73  wxGlade-SAE-0.7.2-setup.exe
>  
>  
> diff --git a/edit_sizers/edit_sizers.py b/edit_sizers/edit_sizers.py
> --- a/edit_sizers/edit_sizers.py
> +++ b/edit_sizers/edit_sizers.py
> @@ -372,9 +372,12 @@ class SizerSlot(object):
>  self.menu.AppendSeparator()
>  misc.append_item(self.menu, PREVIEW_ID, _('Preview'))
>  
> -wx.EVT_MENU(self.widget, REMOVE_ID, self.remove)
> -wx.EVT_MENU(self.widget, PASTE_ID, self.clipboard_paste)
> -wx.EVT_MENU(self.widget, PREVIEW_ID, self.preview_parent)
> +def bind(method):
> +return lambda e: wx.CallAfter(method)
> +
> +wx.EVT_MENU(self.widget, REMOVE_ID, bind(self.remove))
> +wx.EVT_MENU(self.widget, PASTE_ID, bind(self.clipboard_paste))
> +wx.EVT_MENU(self.widget, PREVIEW_ID, bind(self.preview_parent))
>  
>  def remove(self, *args):
>  if not self.sizer.is_virtual():
> @@ -409,9 +412,12 @@ class SizerSlot(object):
>  
>  @see: L{clipboard.paste()}
>  """
> +if self.widget:
> +self.widget.Hide()
>  if clipboard.paste(self.parent, self.sizer, self.pos):
>  common.app_tree.app.saved = False
> -self.widget.Hide()
> +else:
> +self.widget.Show()
>  
>  def on_select_and_paste(self, *args):
>  """\
> @@ -422,11 +428,11 @@ class SizerSlot(object):
>  self.widget.SetFocus()
>  self.clipboard_paste()
>  
> -def delete(self, delete_widget=True):
> +def delete(self):
>  if misc.currently_under_mouse is self.widget:
>  misc.currently_under_mouse = None
>  
> -if delete_widget and self.widget:
> +if self.widget:
>  self.widget.Hide()
>  
>  # unbind events to prevent new created (and queued) events
> @@ -1182,7 +1188,7 @@ class SizerBase(Sizer):
>  try:
>  old_child = self.children[pos]
>  if isinstance(old_child.item, SizerSlot):
> -old_child.item.delete(False)
> +old_child.item.delete()
>  self.children[pos] = SizerItem(item, pos, option, flag, border,
> size)
>  except IndexError:  # this shouldn't happen!
> diff --git a/tests/casefiles/bug184.cpp b/tests/casefiles/bug184.cpp
> new file mode 100755
> --- /dev/null
> +++ b/tests/casefiles/bug184.cpp
> @@ -0,0 

Bug#823050: wxglade: cut/paste of items into sizer fails

2016-05-02 Thread Karsten Hilbert
On Mon, May 02, 2016 at 09:15:49PM +0200, Carsten Grohmann wrote:

> may you add the attached patch to the current Debian package. It fixes
> the bug reported by Karsten as well as a second minor bug in the Perl
> code generator.

Thanks a lot !

> Yes, the fix isn't in a release version yet. The fix is in the stable
> branch of wxGlade.

I see. No rush, I was just making sure I understand correctly.

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



Bug#823050: wxglade: cut/paste of items into sizer fails

2016-05-02 Thread Carsten Grohmann
Hi Georges,

may you add the attached patch to the current Debian package. It fixes
the bug reported by Karsten as well as a second minor bug in the Perl
code generator.

Yes, the fix isn't in a release version yet. The fix is in the stable
branch of wxGlade. You can download the stable version of wxGlade
always from Bitbucket
(https://bitbucket.org/agriggio/wxglade/downloads#branch-downloads) and
execute it directly.

Regards,
Carsten

Karsten Hilbert schrieb am 02.05.2016:
> Hi Carsten,
> 
> > this bug is already fixed in the stable branch of wxGlade 0.7.2 with
> > changeset 62797578d6d2 "Fix PyDeadObject errors and crashes during
> > cut and paste".  
> 
> Great !  You mean in an unreleased version thereof ?  Because:
> 
>   wxglade:
> Installiert:   0.7.2-1
> Installationskandidat: 0.7.2-1
> Versionstabelle:
>*** 0.7.2-1 990
>   990 ftp://ftp.de.debian.org/debian stretch/main i386
> Packages 500 ftp://ftp.de.debian.org/debian unstable/main i386
> Packages 100 /var/lib/dpkg/status
> 
> > You have three different possibibilties to report wxGlade bugs:
> >  - send bug reports to the mailing list,
> >  - file a ticket on Sourceforge
> > or 
> >  - send email to my private email address.  
> 
> I should've done as I used to do -- email you directly.
> 
> Anyway, no harm done.
> 
> Karsten

diff --git a/NEWS.txt b/NEWS.txt
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -25,6 +25,9 @@ Bugs:
   - Fix generated code for wxDatePickerCtrl
   - Add workaround for missing wxDefaultDateTime in wxPerl
   - Fix missing icons in release packages
+  - Fix PyDeadObject errors and crashes during cut and paste
+  - System colour constants named incorrectly in Perl (sf bug #184,
+Thanks to Sue D. Nymme)
 
 Deprecation
   - In place modifications for generated source files will be removed in one
diff --git a/README.SF.md b/README.SF.md
--- a/README.SF.md
+++ b/README.SF.md
@@ -26,8 +26,8 @@ Files
 MD5 checksums
 -
 b13cdf9eff9857f6f07f1bd6bf50348a  wxGlade-0.7.2-setup.exe
-81d3270ba1c764d482b0fed00c6f9c59  wxGlade-0.7.2.tar.gz
-69885a306f694222655fe63d3443191b  wxGlade-0.7.2.zip
+16395cd62adba4b53da371fe59707a33  wxGlade-0.7.2.tar.gz
+61ca7513da4913045854c1b0a62a04a3  wxGlade-0.7.2.zip
 e57843ad4d0cb6bf1fc2aab7c46aaa73  wxGlade-SAE-0.7.2-setup.exe
 
 
diff --git a/edit_sizers/edit_sizers.py b/edit_sizers/edit_sizers.py
--- a/edit_sizers/edit_sizers.py
+++ b/edit_sizers/edit_sizers.py
@@ -372,9 +372,12 @@ class SizerSlot(object):
 self.menu.AppendSeparator()
 misc.append_item(self.menu, PREVIEW_ID, _('Preview'))
 
-wx.EVT_MENU(self.widget, REMOVE_ID, self.remove)
-wx.EVT_MENU(self.widget, PASTE_ID, self.clipboard_paste)
-wx.EVT_MENU(self.widget, PREVIEW_ID, self.preview_parent)
+def bind(method):
+return lambda e: wx.CallAfter(method)
+
+wx.EVT_MENU(self.widget, REMOVE_ID, bind(self.remove))
+wx.EVT_MENU(self.widget, PASTE_ID, bind(self.clipboard_paste))
+wx.EVT_MENU(self.widget, PREVIEW_ID, bind(self.preview_parent))
 
 def remove(self, *args):
 if not self.sizer.is_virtual():
@@ -409,9 +412,12 @@ class SizerSlot(object):
 
 @see: L{clipboard.paste()}
 """
+if self.widget:
+self.widget.Hide()
 if clipboard.paste(self.parent, self.sizer, self.pos):
 common.app_tree.app.saved = False
-self.widget.Hide()
+else:
+self.widget.Show()
 
 def on_select_and_paste(self, *args):
 """\
@@ -422,11 +428,11 @@ class SizerSlot(object):
 self.widget.SetFocus()
 self.clipboard_paste()
 
-def delete(self, delete_widget=True):
+def delete(self):
 if misc.currently_under_mouse is self.widget:
 misc.currently_under_mouse = None
 
-if delete_widget and self.widget:
+if self.widget:
 self.widget.Hide()
 
 # unbind events to prevent new created (and queued) events
@@ -1182,7 +1188,7 @@ class SizerBase(Sizer):
 try:
 old_child = self.children[pos]
 if isinstance(old_child.item, SizerSlot):
-old_child.item.delete(False)
+old_child.item.delete()
 self.children[pos] = SizerItem(item, pos, option, flag, border,
size)
 except IndexError:  # this shouldn't happen!
diff --git a/tests/casefiles/bug184.cpp b/tests/casefiles/bug184.cpp
new file mode 100755
--- /dev/null
+++ b/tests/casefiles/bug184.cpp
@@ -0,0 +1,74 @@
+// -*- C++ -*-
+//
+// generated by wxGlade f5bfb036bf72 on Fri Apr 22 21:37:27 2016
+//
+// Example for compiling a single file project under Linux using g++:
+//  g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp
+//
+// Example for compiling a multi file project under Linux using g++:
+//  g++ main.cpp $(wx-config --libs) $(wx-config 

Bug#823050: wxglade: cut/paste of items into sizer fails

2016-05-02 Thread Karsten Hilbert
Hi Carsten,

> this bug is already fixed in the stable branch of wxGlade 0.7.2 with
> changeset 62797578d6d2 "Fix PyDeadObject errors and crashes during cut
> and paste".

Great !  You mean in an unreleased version thereof ?  Because:

wxglade:
  Installiert:   0.7.2-1
  Installationskandidat: 0.7.2-1
  Versionstabelle:
 *** 0.7.2-1 990
990 ftp://ftp.de.debian.org/debian stretch/main i386 Packages
500 ftp://ftp.de.debian.org/debian unstable/main i386 Packages
100 /var/lib/dpkg/status

> You have three different possibibilties to report wxGlade bugs:
>  - send bug reports to the mailing list,
>  - file a ticket on Sourceforge
> or 
>  - send email to my private email address.

I should've done as I used to do -- email you directly.

Anyway, no harm done.

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



Bug#823050: wxglade: cut/paste of items into sizer fails

2016-05-02 Thread Carsten Grohmann
Hi Georges, Hi Karsten,

this bug is already fixed in the stable branch of wxGlade 0.7.2 with
changeset 62797578d6d2 "Fix PyDeadObject errors and crashes during cut
and paste".

You have three different possibibilties to report wxGlade bugs:
 - send bug reports to the mailing list,
 - file a ticket on Sourceforge
or 
 - send email to my private email address.

Regards,
Carsten


pgpmKHBLyCcro.pgp
Description: Digitale Signatur von OpenPGP


Bug#823050: wxglade: cut/paste of items into sizer fails

2016-05-02 Thread Alberto Griggio
Hi Georges,

> Hello,
> 
> I am forwarding the bug report.
> 
> By the way, Alberto, is there a particular address to send bug reports
> if necessary?

Actually, I haven't been working on wxGlade for a long time now. The new
maintainer is Carsten Grohmann (in CC).

Best,
Alberto

> 
> Best regards, Georges.
> 
> Karsten Hilbert a écrit :
>> Package: wxglade
>> Version: 0.7.2-1
>> Severity: normal
>> Tags: upstream
>>
>> When cutting/copying, then pasting an item from one position in a sizer
>> into another position an exception is thrown. Inserting a new item into
>> the same sizer target position works fine.
>>
>> Attached find a log file.
>>
>> Karsten
>>
>>
>> -- System Information:
>> Debian Release: stretch/sid
>>   APT prefers testing
>>   APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), 
>> (500, 'stable')
>> Architecture: i386 (i686)
>>
>> Kernel: Linux 4.5.0-1-686-pae (SMP w/2 CPU cores)
>> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
>> Shell: /bin/sh linked to /bin/dash
>> Init: systemd (via /run/systemd/system)
>>
>> Versions of packages wxglade depends on:
>> ii  python   2.7.11-1
>> ii  python-wxgtk3.0  3.0.2.0+dfsg-1+b1
>>
>> wxglade recommends no packages.
>>
>> wxglade suggests no packages.
>>
>> -- no debconf information
> 
>> 2016-04-27 15:16:55,391 root INFO: Starting wxGlade version "0.7.2" on 
>> Python 2.7.11+
>> 2016-04-27 15:16:55,478 root INFO: Base directory: 
>> /usr/share/wxglade
>> 2016-04-27 15:16:55,479 root INFO: Documentation directory:
>> /usr/share/wxglade/docs
>> 2016-04-27 15:16:55,479 root INFO: Icons directory:
>> /usr/share/wxglade/icons
>> 2016-04-27 15:16:55,480 root INFO: Build-in widgets directory: 
>> /usr/share/wxglade/widgets
>> 2016-04-27 15:16:55,480 root INFO: Template directory: 
>> /usr/share/wxglade/templates
>> 2016-04-27 15:16:55,480 root INFO: Credits file:   
>> /usr/share/wxglade/CREDITS.txt
>> 2016-04-27 15:16:55,481 root INFO: License file:   
>> /usr/share/wxglade/LICENSE.txt
>> 2016-04-27 15:16:55,481 root INFO: Manual file:
>> /usr/share/wxglade/docs/html/index.html
>> 2016-04-27 15:16:55,481 root INFO: Tutorial file:  
>> /usr/share/wxglade/docs/tutorial.html
>> 2016-04-27 15:16:55,482 root INFO: Home directory: /home/ncq
>> 2016-04-27 15:16:55,482 root INFO: Application data directory: 
>> /home/ncq/.wxglade
>> 2016-04-27 15:16:55,482 root INFO: Configuration file: 
>> /home/ncq/.wxglade/wxgladerc
>> 2016-04-27 15:16:55,482 root INFO: History file:   
>> /home/ncq/.wxglade/file_history.txt
>> 2016-04-27 15:16:55,483 root INFO: Log file:   
>> /home/ncq/.wxglade/wxglade.log
>> 2016-04-27 15:16:55,484 root INFO: Current locale settings are:
>> 2016-04-27 15:16:55,484 root INFO:   Language code: de_DE
>> 2016-04-27 15:16:55,484 root INFO:   Encoding: UTF-8
>> 2016-04-27 15:16:55,485 root INFO:   Filesystem encoding: UTF-8
>> 2016-04-27 15:16:57,945 root INFO: Python fault handler found and activated
>> 2016-04-27 15:16:58,597 root INFO: Using wxPython 2.8.12.1
>> 2016-04-27 15:16:58,970 root INFO: Loading "wconfig" modules from 
>> /usr/share/wxglade/widgets/widgets.txt:
>> 2016-04-27 15:16:58,982 root INFO: Module custom_widget.wconfig not found.
>> 2016-04-27 15:16:58,983 root INFO: Module menubar.wconfig not found.
>> 2016-04-27 15:16:58,984 root INFO: Module spacer.wconfig not found.
>> 2016-04-27 15:16:58,985 root INFO: Load code generators:
>> 2016-04-27 15:16:58,991 root INFO:   XRC generator loaded
>> 2016-04-27 15:16:58,998 root INFO:   C++ generator loaded
>> 2016-04-27 15:16:59,002 root INFO:   python generator loaded
>> 2016-04-27 15:16:59,006 root INFO:   lisp generator loaded
>> 2016-04-27 15:16:59,010 root INFO:   perl generator loaded
>> 2016-04-27 15:16:59,010 root INFO: Loading widgets from 
>> /usr/share/wxglade/widgets/widgets.txt:
>> 2016-04-27 15:16:59,018 root INFO:   frame
>> 2016-04-27 15:16:59,022 root INFO:   dialog
>> 2016-04-27 15:16:59,026 root INFO:   panel
>> 2016-04-27 15:16:59,068 root INFO:   splitter_window
>> 2016-04-27 15:16:59,071 root INFO:   notebook
>> 2016-04-27 15:16:59,075 root INFO:   button
>> 2016-04-27 15:16:59,078 root INFO:   toggle_button
>> 2016-04-27 15:16:59,081 root INFO:   bitmap_button
>> 2016-04-27 15:16:59,084 root INFO:   spin_button
>> 2016-04-27 15:16:59,088 root INFO:   text_ctrl
>> 2016-04-27 15:16:59,091 root INFO:   spin_ctrl
>> 2016-04-27 15:16:59,095 root INFO:   slider
>> 2016-04-27 15:16:59,098 root INFO:   gauge
>> 2016-04-27 15:16:59,101 root INFO:   static_text
>> 2016-04-27 15:16:59,104 root INFO:   checkbox
>> 2016-04-27 15:16:59,107 root INFO:   radio_button
>> 2016-04-27 15:16:59,111 root INFO:   radio_box
>> 2016-04-27 15:16:59,115 root INFO:   choice
>> 2016-04-27 15:16:59,118 root INFO:   combo_box
>> 2016-04-27 15:16:59,121 root INFO:   list_box
>> 2016-04-27 

Bug#823050: wxglade: cut/paste of items into sizer fails

2016-05-01 Thread Georges Khaznadar
Hello,

I am forwarding the bug report.

By the way, Alberto, is there a particular address to send bug reports
if necessary?

Best regards,   Georges.

Karsten Hilbert a écrit :
> Package: wxglade
> Version: 0.7.2-1
> Severity: normal
> Tags: upstream
> 
> When cutting/copying, then pasting an item from one position in a sizer
> into another position an exception is thrown. Inserting a new item into
> the same sizer target position works fine.
> 
> Attached find a log file.
> 
> Karsten
> 
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), 
> (500, 'stable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 4.5.0-1-686-pae (SMP w/2 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages wxglade depends on:
> ii  python   2.7.11-1
> ii  python-wxgtk3.0  3.0.2.0+dfsg-1+b1
> 
> wxglade recommends no packages.
> 
> wxglade suggests no packages.
> 
> -- no debconf information

> 2016-04-27 15:16:55,391 root INFO: Starting wxGlade version "0.7.2" on Python 
> 2.7.11+
> 2016-04-27 15:16:55,478 root INFO: Base directory: 
> /usr/share/wxglade
> 2016-04-27 15:16:55,479 root INFO: Documentation directory:
> /usr/share/wxglade/docs
> 2016-04-27 15:16:55,479 root INFO: Icons directory:
> /usr/share/wxglade/icons
> 2016-04-27 15:16:55,480 root INFO: Build-in widgets directory: 
> /usr/share/wxglade/widgets
> 2016-04-27 15:16:55,480 root INFO: Template directory: 
> /usr/share/wxglade/templates
> 2016-04-27 15:16:55,480 root INFO: Credits file:   
> /usr/share/wxglade/CREDITS.txt
> 2016-04-27 15:16:55,481 root INFO: License file:   
> /usr/share/wxglade/LICENSE.txt
> 2016-04-27 15:16:55,481 root INFO: Manual file:
> /usr/share/wxglade/docs/html/index.html
> 2016-04-27 15:16:55,481 root INFO: Tutorial file:  
> /usr/share/wxglade/docs/tutorial.html
> 2016-04-27 15:16:55,482 root INFO: Home directory: /home/ncq
> 2016-04-27 15:16:55,482 root INFO: Application data directory: 
> /home/ncq/.wxglade
> 2016-04-27 15:16:55,482 root INFO: Configuration file: 
> /home/ncq/.wxglade/wxgladerc
> 2016-04-27 15:16:55,482 root INFO: History file:   
> /home/ncq/.wxglade/file_history.txt
> 2016-04-27 15:16:55,483 root INFO: Log file:   
> /home/ncq/.wxglade/wxglade.log
> 2016-04-27 15:16:55,484 root INFO: Current locale settings are:
> 2016-04-27 15:16:55,484 root INFO:   Language code: de_DE
> 2016-04-27 15:16:55,484 root INFO:   Encoding: UTF-8
> 2016-04-27 15:16:55,485 root INFO:   Filesystem encoding: UTF-8
> 2016-04-27 15:16:57,945 root INFO: Python fault handler found and activated
> 2016-04-27 15:16:58,597 root INFO: Using wxPython 2.8.12.1
> 2016-04-27 15:16:58,970 root INFO: Loading "wconfig" modules from 
> /usr/share/wxglade/widgets/widgets.txt:
> 2016-04-27 15:16:58,982 root INFO: Module custom_widget.wconfig not found.
> 2016-04-27 15:16:58,983 root INFO: Module menubar.wconfig not found.
> 2016-04-27 15:16:58,984 root INFO: Module spacer.wconfig not found.
> 2016-04-27 15:16:58,985 root INFO: Load code generators:
> 2016-04-27 15:16:58,991 root INFO:   XRC generator loaded
> 2016-04-27 15:16:58,998 root INFO:   C++ generator loaded
> 2016-04-27 15:16:59,002 root INFO:   python generator loaded
> 2016-04-27 15:16:59,006 root INFO:   lisp generator loaded
> 2016-04-27 15:16:59,010 root INFO:   perl generator loaded
> 2016-04-27 15:16:59,010 root INFO: Loading widgets from 
> /usr/share/wxglade/widgets/widgets.txt:
> 2016-04-27 15:16:59,018 root INFO:frame
> 2016-04-27 15:16:59,022 root INFO:dialog
> 2016-04-27 15:16:59,026 root INFO:panel
> 2016-04-27 15:16:59,068 root INFO:splitter_window
> 2016-04-27 15:16:59,071 root INFO:notebook
> 2016-04-27 15:16:59,075 root INFO:button
> 2016-04-27 15:16:59,078 root INFO:toggle_button
> 2016-04-27 15:16:59,081 root INFO:bitmap_button
> 2016-04-27 15:16:59,084 root INFO:spin_button
> 2016-04-27 15:16:59,088 root INFO:text_ctrl
> 2016-04-27 15:16:59,091 root INFO:spin_ctrl
> 2016-04-27 15:16:59,095 root INFO:slider
> 2016-04-27 15:16:59,098 root INFO:gauge
> 2016-04-27 15:16:59,101 root INFO:static_text
> 2016-04-27 15:16:59,104 root INFO:checkbox
> 2016-04-27 15:16:59,107 root INFO:radio_button
> 2016-04-27 15:16:59,111 root INFO:radio_box
> 2016-04-27 15:16:59,115 root INFO:choice
> 2016-04-27 15:16:59,118 root INFO:combo_box
> 2016-04-27 15:16:59,121 root INFO:list_box
> 2016-04-27 15:16:59,125 root INFO:check_list_box
> 2016-04-27 15:16:59,189 root INFO:calendar_ctrl
> 2016-04-27 15:16:59,193 root INFO:generic_calendar_ctrl
> 2016-04-27 15:16:59,196 root INFO:datepicker_ctrl
> 2016-04-27 15:16:59,199 

Bug#823050: wxglade: cut/paste of items into sizer fails

2016-04-30 Thread Karsten Hilbert
Package: wxglade
Version: 0.7.2-1
Severity: normal
Tags: upstream

When cutting/copying, then pasting an item from one position in a sizer
into another position an exception is thrown. Inserting a new item into
the same sizer target position works fine.

Attached find a log file.

Karsten


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.5.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages wxglade depends on:
ii  python   2.7.11-1
ii  python-wxgtk3.0  3.0.2.0+dfsg-1+b1

wxglade recommends no packages.

wxglade suggests no packages.

-- no debconf information
2016-04-27 15:16:55,391 root INFO: Starting wxGlade version "0.7.2" on Python 
2.7.11+
2016-04-27 15:16:55,478 root INFO: Base directory: 
/usr/share/wxglade
2016-04-27 15:16:55,479 root INFO: Documentation directory:
/usr/share/wxglade/docs
2016-04-27 15:16:55,479 root INFO: Icons directory:
/usr/share/wxglade/icons
2016-04-27 15:16:55,480 root INFO: Build-in widgets directory: 
/usr/share/wxglade/widgets
2016-04-27 15:16:55,480 root INFO: Template directory: 
/usr/share/wxglade/templates
2016-04-27 15:16:55,480 root INFO: Credits file:   
/usr/share/wxglade/CREDITS.txt
2016-04-27 15:16:55,481 root INFO: License file:   
/usr/share/wxglade/LICENSE.txt
2016-04-27 15:16:55,481 root INFO: Manual file:
/usr/share/wxglade/docs/html/index.html
2016-04-27 15:16:55,481 root INFO: Tutorial file:  
/usr/share/wxglade/docs/tutorial.html
2016-04-27 15:16:55,482 root INFO: Home directory: /home/ncq
2016-04-27 15:16:55,482 root INFO: Application data directory: 
/home/ncq/.wxglade
2016-04-27 15:16:55,482 root INFO: Configuration file: 
/home/ncq/.wxglade/wxgladerc
2016-04-27 15:16:55,482 root INFO: History file:   
/home/ncq/.wxglade/file_history.txt
2016-04-27 15:16:55,483 root INFO: Log file:   
/home/ncq/.wxglade/wxglade.log
2016-04-27 15:16:55,484 root INFO: Current locale settings are:
2016-04-27 15:16:55,484 root INFO:   Language code: de_DE
2016-04-27 15:16:55,484 root INFO:   Encoding: UTF-8
2016-04-27 15:16:55,485 root INFO:   Filesystem encoding: UTF-8
2016-04-27 15:16:57,945 root INFO: Python fault handler found and activated
2016-04-27 15:16:58,597 root INFO: Using wxPython 2.8.12.1
2016-04-27 15:16:58,970 root INFO: Loading "wconfig" modules from 
/usr/share/wxglade/widgets/widgets.txt:
2016-04-27 15:16:58,982 root INFO: Module custom_widget.wconfig not found.
2016-04-27 15:16:58,983 root INFO: Module menubar.wconfig not found.
2016-04-27 15:16:58,984 root INFO: Module spacer.wconfig not found.
2016-04-27 15:16:58,985 root INFO: Load code generators:
2016-04-27 15:16:58,991 root INFO:   XRC generator loaded
2016-04-27 15:16:58,998 root INFO:   C++ generator loaded
2016-04-27 15:16:59,002 root INFO:   python generator loaded
2016-04-27 15:16:59,006 root INFO:   lisp generator loaded
2016-04-27 15:16:59,010 root INFO:   perl generator loaded
2016-04-27 15:16:59,010 root INFO: Loading widgets from 
/usr/share/wxglade/widgets/widgets.txt:
2016-04-27 15:16:59,018 root INFO:  frame
2016-04-27 15:16:59,022 root INFO:  dialog
2016-04-27 15:16:59,026 root INFO:  panel
2016-04-27 15:16:59,068 root INFO:  splitter_window
2016-04-27 15:16:59,071 root INFO:  notebook
2016-04-27 15:16:59,075 root INFO:  button
2016-04-27 15:16:59,078 root INFO:  toggle_button
2016-04-27 15:16:59,081 root INFO:  bitmap_button
2016-04-27 15:16:59,084 root INFO:  spin_button
2016-04-27 15:16:59,088 root INFO:  text_ctrl
2016-04-27 15:16:59,091 root INFO:  spin_ctrl
2016-04-27 15:16:59,095 root INFO:  slider
2016-04-27 15:16:59,098 root INFO:  gauge
2016-04-27 15:16:59,101 root INFO:  static_text
2016-04-27 15:16:59,104 root INFO:  checkbox
2016-04-27 15:16:59,107 root INFO:  radio_button
2016-04-27 15:16:59,111 root INFO:  radio_box
2016-04-27 15:16:59,115 root INFO:  choice
2016-04-27 15:16:59,118 root INFO:  combo_box
2016-04-27 15:16:59,121 root INFO:  list_box
2016-04-27 15:16:59,125 root INFO:  check_list_box
2016-04-27 15:16:59,189 root INFO:  calendar_ctrl
2016-04-27 15:16:59,193 root INFO:  generic_calendar_ctrl
2016-04-27 15:16:59,196 root INFO:  datepicker_ctrl
2016-04-27 15:16:59,199 root INFO:  static_line
2016-04-27 15:16:59,202 root INFO:  static_bitmap
2016-04-27 15:16:59,206 root INFO:  list_ctrl
2016-04-27 15:16:59,209 root INFO:  tree_ctrl
2016-04-27 15:16:59,213 root INFO:  grid
2016-04-27 15:16:59,215 root INFO: Module 
property_grid_manager.property_grid_manager not found.
2016-04-27 15:16:59,218 root INFO: