Package: python-wxglade
Version: 0.7.1~rc1-3
Severity: important
File: /usr/bin/wxglade

Dear Maintainer,
recently I tried to add static line to flexgridsizer and I got following error:

ERROR   : None
An unexpected error occurred!

Date and time:       2015-10-26T11:29:16.677245
Python version:      2.7.9
wxPython version:    3.0.1.1
wxWidgets platform:  __WXGTK__
wxGlade version:     0.7.0
Language code:       cs_CZ
Encoding:            UTF-8
Filesystem encoding: UTF-8

Exception type:      <type 'exceptions.TypeError'>
Exception details:   not all arguments converted during string formatting
Application stack trace:
Stack frame at level 0
======================
  File 
"/usr/lib/python2.7/dist-packages/wxGlade-0.7.0-py2.7.egg/wxglade/widgets/static_line/static_line.py",
 line 107
  Function "builder(parent=<dialog.dialog.EditDialog object at 0x7f88d949ac10>, 
sizer=<edit_sizers.edit_sizers.EditFlexGridSizer object at 0x7f88d93cb7d0>, 
pos=4, number=[3])"
  Source code context:
          label = '%s_%d' % (tmpl_label, number[0])
          while common.app_tree.has_name(label):
              number[0] += 1
  ->          label = tmpl_label % number[0]
          widget = editor_class(label, parent, wx.ID_ANY, 
dialog.get_selection(),
                                sizer, pos, common.property_panel)
          node = Tree.Node(widget)
  Local variables:
  -> sizer (<class 'edit_sizers.edit_sizers.EditFlexGridSizer'>): 
<edit_sizers.edit_sizers.EditFlexGridSizer object at 0x7f88d93cb7d0>
  -> parent (<class 'dialog.dialog.EditDialog'>): <dialog.dialog.EditDialog 
object at 0x7f88d949ac10>
  -> pos (<type 'int'>): 4
  -> number (<type 'list'>): [3]
  -> dialog (<class 'wcodegen.dialogs.WidgetStyleSelectionDialog'>): 
<wcodegen.dialogs.WidgetStyleSelectionDialog; proxy of <Swig Object of type 
'wxDialog *' at 0x4153470> >
  -> label (<type 'str'>): 'static_line_2'

Stack frame at level 1
======================
  File 
"/usr/lib/python2.7/dist-packages/wxGlade-0.7.0-py2.7.egg/wxglade/edit_sizers/edit_sizers.py",
 line 393
  Function "drop_widget(self=<edit_sizers.edit_sizers.SizerSlot object at 
0x7f88d93cbdd0>, event=<wx._core.MouseEvent; proxy of <Swig Object of type 
'wxMouseEvent *' at 0x7ffd51736680> >)"
  Source code context:
              self.widget.Hide()
              # call the appropriate builder
              common.widgets[common.widget_to_add](self.parent, self.sizer,
  ->                                               self.pos)
              common.widget_to_add = None
              common.app_tree.app.saved = False
      
  Local variables:
  -> self (<class 'edit_sizers.edit_sizers.SizerSlot'>): 
<edit_sizers.edit_sizers.SizerSlot object at 0x7f88d93cbdd0>
  -> event (<class 'wx._core.MouseEvent'>): <wx._core.MouseEvent; proxy of 
<Swig Object of type 'wxMouseEvent *' at 0x7ffd51736680> >

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-wxglade depends on:
ii  python           2.7.9-1
ii  python-wxgtk3.0  3.0.1.1+dfsg-2

python-wxglade recommends no packages.

python-wxglade suggests no packages.

-- no debconf information

Reply via email to