[yast-devel] libyui-python/ncurses crashes ...
I can reproduce 2 crashed here ... #1: Take wigets.py from svn, unset Display and select the "Frame" example. (this happenz only in ncurses) #2: If I try to use a simple Table, e.g. yTableHeader = yui.YTableHeader() yTableHeader.addColumn("Selected") yTableHeader.addColumn("Name") yTableHeader.addColumn("Version") yTableHeader.addColumn("Description") myTableMinSize = factory.createMinSize(VBox, 50, 12) myTable = factory.createTable(myTableMinSize, yTableHeader) # note YItemCollection seems unavailable ! myItem = yui.YTableItem("X", "foo", "1.2.1", "qwertz") myTable.addItem(myItem) myItem2 = yui.YTableItem("", "bar", "1.3.1", "asdasdasd") myTable.addItem(myItem2) Table shows, but on first click it segfaults. Best regards Jan-Simon -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
# note YItemCollection seems unavailable ! myItem = yui.YTableItem("X", "foo", "1.2.1", "qwertz") myTable.addItem(myItem) myItem2 = yui.YTableItem("", "bar", "1.3.1", "asdasdasd") myTable.addItem(myItem2)
Table shows, but on first click it segfaults.
Note regarding the Table: if i do it manually on the python console, i can display the table without problems. even myTable.deleteAllItems() works, but the next myTable.addItem(myItem) segfaults. Best regards Jan-Simon -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (1)
-
Jan-Simon Möller