Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix crash for: saul is the best restaurant on smith street and in brooklyn . #12

Open
arne-cl opened this issue Feb 3, 2021 · 0 comments

Comments

@arne-cl
Copy link
Collaborator

arne-cl commented Feb 3, 2021

feng-hirst-2014

Error: 500: Internal Server Error


RAN: /opt/feng-hirst-rst-parser/src/parser_wrapper.py /tmp/tmp6g8_l5q1

STDOUT:


STDERR:
Traceback (most recent call last):
File "/opt/feng-hirst-rst-parser/src/parse.py", line 222, in parse
pt.__setitem__(pt.leaf_treeposition(i), '_!%s!_' % edu_str) # parse tree with escape symbols
AttributeError: 'list' object has no attribute 'leaf_treeposition'
Traceback (most recent call last):
File "/opt/feng-hirst-rst-parser/src/parse.py", line 311, in main
raise e
AttributeError: 'list' object has no attribute 'leaf_treeposition'
Traceback (most recent call last):
File "/opt/feng-hirst-rst-parser/src/parser_wrapper.py", line 72, in <module>
main()
File "/opt/feng-hirst-rst-parser/src/parser_wrapper.py", line 57, in main
results = feng_main(options, args)
File "/opt/feng-hirst-rst-parser/src/parse.py", line 320,... (62 more, please see e.stderr)

Traceback (most recent call last):
File "/opt/feng-hirst-rst-parser/src/parse.py", line 222, in parse
pt.__setitem__(pt.leaf_treeposition(i), '_!%s!_' % edu_str) # parse tree with escape symbols
AttributeError: 'list' object has no attribute 'leaf_treeposition'
Traceback (most recent call last):
File "/opt/feng-hirst-rst-parser/src/parse.py", line 311, in main
raise e
AttributeError: 'list' object has no attribute 'leaf_treeposition'
Traceback (most recent call last):
File "/opt/feng-hirst-rst-parser/src/parser_wrapper.py", line 72, in <module>
main()
File "/opt/feng-hirst-rst-parser/src/parser_wrapper.py", line 57, in main
results = feng_main(options, args)
File "/opt/feng-hirst-rst-parser/src/parse.py", line 320, in main
raise Exception, traceback.print_exc()
Exception

rst-converter-service for hilda

Error: 500: INTERNAL SERVER ERROR
{"error":"<class 'discoursegraphs.readwrite.rst.hilda.HILDARSTTree'> can't handle input file 'input.ext'. Got: We can only handle binary trees.","traceback":"Traceback (most recent call last):\n File \"app.py\", line 112, in post\n tree = read_function(temp_inputfile.name)\n File \"/opt/discoursegraphs/src/discoursegraphs/readwrite/rst/hilda.py\", line 35, in __init__\n tree = self.hildatree2dgparentedtree()\n File \"/opt/discoursegraphs/src/discoursegraphs/readwrite/rst/hilda.py\", line 95, in hildatree2dgparentedtree\n tree = transform(self.hildafile_tree)\n File \"/opt/discoursegraphs/src/discoursegraphs/readwrite/rst/hilda.py\", line 83, in transform\n assert len(hilda_tree) == 2, \"We can only handle binary trees.\"\nAssertionError: We can only handle binary trees.\n"}

rst-converter-service for heilman-sagae-2015

Error: 500: INTERNAL SERVER ERROR
{"error":"<function write_rs3 at 0x7f410ebcc8c0> can't convert ParentedTree to rs3. Input file 'input.ext'. Got: 'unicode' object has no attribute 'label'","traceback":"Traceback (most recent call last):\n File \"app.py\", line 127, in post\n write_function(tree, output_file=temp_outputfile.name)\n File \"/opt/discoursegraphs/src/discoursegraphs/readwrite/rst/rs3/rs3filewriter.py\", line 299, in write_rs3\n RS3FileWriter(dgtree, debug=False, output_filepath=output_file)\n File \"/opt/discoursegraphs/src/discoursegraphs/readwrite/rst/rs3/rs3filewriter.py\", line 84, in __init__\n self.relations = extract_relations(self.dgtree)\n File \"/opt/discoursegraphs/src/discoursegraphs/readwrite/rst/rs3/rs3tree.py\", line 547, in extract_relations\n root_label = dgtree.label()\n File \"/opt/discoursegraphs/src/discoursegraphs/readwrite/rst/common.py\", line 24, in label\n return self.tree.label()\nAttributeError: 'unicode' object has no attribute 'label'\n"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant