Menu

#196 assert isinstance(geometry, (wx.Point, wx.Rect)) being hit

closed
None
2016-10-07
2016-10-05
No

wxglade doesn't run at all. I've done nothing other than clone the repo and try and run it as per instructions

~/tmp$ hg clone https://bitbucket.org/wxglade/wxglade
destination directory: wxglade
requesting all changes
adding changesets
adding manifests
adding file changes
added 2118 changesets with 11895 changes to 1098 files (+2 heads)                                                                   
updating to branch default
839 files updated, 0 files merged, 0 files removed, 0 files unresolved
~/tmp$ cd wxglade/
~/tmp/wxglade$ python wxglade.py
<snip: see attached log>

I've made no real attempt to debug it, but from the stack trace is look odd -- it's claiming the geometry variable is none? The only way I can see that being true is if config.preferences.remember_geometry is true and self_geometry = config.preferences.get_geometry('main') returns None?

1 Attachments

Discussion

  • Carsten Grohmann

    Hi Lee,

    the bug is fixed in the development branch with changeset 2124:496a5ff81feb "Fix assert isinstance(geometry, (wx.Point, wx.Rect)) (sf bug #196)".

    The bug will be triggered if wxGlade doesn't find a previously saved configuration e.g. with a fresh installation.

    Thank you for reporting this bug.
    Carsten

     
  • Carsten Grohmann

    • status: open --> closed
    • assigned_to: Carsten Grohmann
     

Log in to post a comment.