Mailinglist Archive: yast-devel (105 mails)

< Previous Next >
[yast-devel] libyui-python/ncurses crashes ...
  • From: "Jan-Simon Möller" <dl9pf@xxxxxx>
  • Date: Thu, 18 Sep 2008 02:13:11 +0200
  • Message-id: <200809180213.11673.dl9pf@xxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups