Rhizi / rhizi

Connective intelligence
GNU Affero General Public License v3.0
13 stars 3 forks source link

Error when inputting phrase #599

Open Garbash opened 9 years ago

Garbash commented 9 years ago

Tried inputting: "Constructivism became known to educators mainly through the work of Piaget"

I think this is somehow related to the fact that I've copy-pasted the sentence from a PDF. When I manually typed it, it was inputted without error.

The received error:

POST http://rhizi.local:8080/api/rzdoc/diff-commit__topo 500 (INTERNAL SERVER ERROR)send @ jquery.js:9631jQuery.extend.ajax @ jquery.js:9176RZ_API_Backend.ajax_rs @ rz_api_backend.js:81RZ_API_Backend.commit_difftopo @ rz_api_backend.js:114Graph.commit_and_tx_diff__topo @ graph.js:154ret.applyToGraph @ textanalysis.js:585analyzeSentence @ textanalysis.ui.js:111submitNewSentence @ textanalysis.ui.js:184(anonymous function) @ Bacon.js:744(anonymous function) @ Bacon.js:2688inTransaction @ Bacon.js:2662Dispatcher.push @ Bacon.js:1732Dispatcher.handleEvent @ Bacon.js:1784(anonymous function) @ Bacon.js:6(anonymous function) @ Bacon.js:43jQuery.event.dispatch @ jquery.js:4641elemData.handle @ jquery.js:4309 rz_apibackend.js:52 ajax error: status: 'error', error-msg: cypher parse error: rgx match failure: rgx: ^(?P[\w]+)(?P.*)$, input: "head:HEAD:COMMIT) create (head)-[r:RESULT_OF]->(result_of:__OPERATION {sentence: '

                Constructivism  became known to educators mainly through the work of  Piaget'} )"on_error_wrapper @ rz_api_backend.js:52fire @ jquery.js:3119self.fireWith @ jquery.js:3231done @ jquery.js:9277send.callback @ jquery.js:9685