Re: Feedback required: new code generation (branch NEW_CODEGEN)

M A <[email protected]>
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
> On Apr 12, 2019, at 3:59 PM, Dietmar Schwertberger <[email protected]> wrote:
> 
> Hi!
> 
> Over the last few months I have been working a lot behind the scenes in the repository branches NEW_STRUCTURE and NEW_CODEGEN.

<snip>

I have noticed that the new wxGlade does not allow me to reposition widgets on a GridSizer like 0.9.3 did. In other words I can't drag widgets around on the GridSizer.

When I was adding a RadioButton to my GridSizer I saw this error:

ERROR   : None
An unexpected error occurred!

Exception type:      <class 'NameError'>
Exception details:   name 'label' is not defined

Application stack traceback:
  File "/Users/user/Desktop/wxGlade-NEW_CODEGEN/edit_base.py", line 700, in on_drop_widget
    new_widget = common.widgets[common.widget_to_add](self.parent, self.pos)
  File "/Users/user/Desktop/wxGlade-NEW_CODEGEN/widgets/radio_button/radio_button.py", line 63, in builder
    editor = EditRadioButton(label, parent, label, pos)

Date and time:       2019-04-14T09:59:18.143918
Python version:      3.7.2
wxPython version:    4.0.3
wxWidgets platform:  __WXMAC__
wxGlade version:     0.9.9pre

I simply clicked on the RadioButton button, then clicked on the GridSizer. The error dialog appeared after clicking.

When I did the same thing with the RadioBox I saw another error:

ERROR   : None
An unexpected error occurred!

Exception type:      <class 'NameError'>
Exception details:   name 'label' is not defined

Application stack traceback:
  File "/Users/user/Desktop/wxGlade-NEW_CODEGEN/edit_base.py", line 700, in on_drop_widget
    new_widget = common.widgets[common.widget_to_add](self.parent, self.pos)
  File "/Users/user/Desktop/wxGlade-NEW_CODEGEN/widgets/radio_box/radio_box.py", line 191, in builder
    editor = EditRadioBox(label, parent, label, [[u'choice 1'],], 1, 0, pos)

Date and time:       2019-04-14T10:03:53.689317
Python version:      3.7.2
wxPython version:    4.0.3
wxWidgets platform:  __WXMAC__
wxGlade version:     0.9.9pre


I added every widget to the GridSizer to test it out. Please let me know if you want any more test done.

Thank you.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.