kowey / GenI

Surface realiser (part of a Natural Language Generation system) using Tree Adjoining Grammar
GNU General Public License v2.0
21 stars 2 forks source link

listing of items seems incorrect in debugger #32

Closed kowey closed 11 years ago

kowey commented 11 years ago

I could have sworn I kept seeing something like this happen.

See geni -m dist/build/grammar/valuation-sem.geni -l dist/build/lexicon/lemmas.glex -s suite/verbs --testcase=t110 and skip 140 steps

kowey commented 11 years ago

Imported from trac issue 32. Created by kowey on 1970-01-01T01:20:53, last modified: 1970-01-01T01:20:53

kowey commented 11 years ago

Trac comment by kowey on 1970-01-01 01:20:53:

You can tell that it's really nonsense, eg with RESULTS coming before AGENDA

kowey commented 11 years ago

Trac comment by kowey on 1970-01-01 01:20:53:

Awesome: I can reproduce this with just the ej example and skipping one step at a time. I know that the internal GUI state is correct. Why are the widgets just not updating?

kowey commented 11 years ago

Trac comment by kowey on 1970-01-01 01:20:53:

Bleah! Well, I know how to make the symptoms go away, but I still don't ultimately know what the causes are. It's got something to do with setting selection on the list box (which causes the tail of my list to be appended to the front of it), but I can't reproduce it with a minimal demonstrator.

All I know is that not setting the selection works around the problem...

kowey commented 11 years ago

Trac comment by kowey on 1970-01-01 01:20:53:

Fixed with:

Yeah! There was something I was doing which was buggy. It really ought to be boiled down into a wxHaskell test case though because the outcome is really bizzare.