[developers] logon demo giving 502 proxy error

Stephan Oepen oe at ifi.uio.no
Mon Oct 19 23:22:24 CEST 2015


> I'm getting a 502 "Proxy Error" when I try to use the on-line demo for the ERG:

thanks for your report, joshua.

it appears that your particular input ‘kim made sandy run.’ exposed
two suprising properties in the ERG on-line demonstration: (a) PET
returns a derivation that [incr tsdb()] and the LKB cannot
reconstruct, and (b) the visualization code failed to handle this
situation robustly (now corrected).

as for (a), it may well just be a subtle disagreement between the ERG
configurations used on either side, but i fail to see it.  so, in part
for my own records, the following derivation:fails when reconstruction
of the start symbol is requested (which is actually not necessary in
this context):

0[7]: (TSDB::RECONSTRUCT
          "(root_standard (1922 sb-hd_mc_c -3.22511 0 4 (1891
hdn_bnp-pn_c 0.0930572 0 1 (1890 n_sg_ilr 0.135806 0 1 (82 kim 0 0 1
(\"kim\" 67 \"token [ +CARG #1=\\\"kim\\\" +CLASS alphabetic [ +CASE
non_capitalized+lower +INITIAL + ] +FORM #1 +FROM #2=\\\"0\\\" +ID
*diff-list* [ LAST #3=*list* LIST *cons* [ FIRST \\\"1\\\" REST #3 ] ]
+PRED predsort +TICK bool +TNT null_tnt [ +MAIN tnt_main [ +PRB
\\\"0.37500149999999999\\\" +TAG \\\"VB\\\" ] +PRBS *null* +TAGS
*null* ] +TO \\\"3\\\" +TRAIT token_trait [ +HD token_head [ +LL ctype
[ -CTYPE- string ] +TG string +TI #2 ] +IT italics +LB bracket_null
+RB bracket_null +UW - ] ]\")))) (1921 hd-aj_scp_c -3.21834 1 4 (1920
hd-cmp_u_c -0.350811 1 3 (1908 v_pst_olr -0.30915 1 2 (121 make_prd_v1
-0.184629 1 2 (\"made\" 65 \"token [ +CARG #1=\\\"made\\\" +CLASS
alphabetic [ +CASE non_capitalized+lower +INITIAL - ] +FORM #1 +FROM
#2=\\\"4\\\" +ID *diff-list* [ LAST #3=*list* LIST *cons* [ FIRST
\\\"2\\\" REST #3 ] ] +PRED predsort +TICK bool +TNT null_tnt [ +MAIN
tnt_main [ +PRB \\\"0.69666410000000001\\\" +TAG \\\"VBN\\\" ] +PRBS
*null* +TAGS *null* ] +TO \\\"8\\\" +TRAIT token_trait [ +HD
token_head [ +LL ctype [ -CTYPE- string ] +TG string +TI #2 ] +IT
italics +LB bracket_null +RB bracket_null +UW - ] ]\"))) (284 sandy_a1
-0.115294 2 3 (\"sandy\" 64 \"token [ +CARG #1=\\\"sandy\\\" +CLASS
alphabetic [ +CASE non_capitalized+lower +INITIAL - ] +FORM #1 +FROM
#2=\\\"9\\\" +ID *diff-list* [ LAST #3=*list* LIST *cons* [ FIRST
\\\"3\\\" REST #3 ] ] +PRED predsort +TICK bool +TNT null_tnt [ +MAIN
tnt_main [ +PRB \\\"1\\\" +TAG \\\"JJ\\\" ] +PRBS *null* +TAGS *null*
] +TO \\\"14\\\" +TRAIT token_trait [ +HD token_head [ +LL ctype [
-CTYPE- string ] +TG string +TI #2 ] +IT italics +LB bracket_null +RB
bracket_null +UW - ] ]\"))) (1917 vp_sbrd-prd-pas_c -1.81916 3 4 (1916
hd_optcmp_c -0.253319 3 4 (1910 w_period_plr -1.03543 3 4 (1909
v_pas_odlr -0.550822 3 4 (320 run_v2 0 3 4 (\"run.\" 68 \"token [
+CARG \\\"run\\\" +CLASS alphabetic [ +CASE non_capitalized+lower
+INITIAL - ] +FORM \\\"run.\\\" +FROM #1=\\\"15\\\" +ID *diff-list* [
LAST #2=*list* LIST *cons* [ FIRST \\\"4\\\" REST *cons* [ FIRST
\\\"5\\\" REST #2 ] ] ] +PRED predsort +TICK bool +TNT null_tnt [
+MAIN tnt_main [ +PRB \\\"0.96471700000000005\\\" +TAG \\\"NN\\\" ]
+PRBS *null* +TAGS *null* ] +TO \\\"19\\\" +TRAIT token_trait [ +HD
token_head [ +LL ctype [ -CTYPE- string ] +TG string +TI #1 ] +IT
italics +LB bracket_null +RB bracket_null +UW - ] ]\")))))))))")
 0[7]: returned NIL

dan, in case you have read this far: is there an obvious reason why
the above should fail to unify with ‘root_standard’ in 1214?

—for the on-line demonstration, i am now working around this problem
by not requesting validation of the start symbol on the [incr tsdb()]
side.

best wishes, oe



More information about the developers mailing list