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

bbop-rest-manager engine POSTs do not seem to work #6

Open
kltm opened this issue Aug 11, 2017 · 0 comments
Open

bbop-rest-manager engine POSTs do not seem to work #6

kltm opened this issue Aug 11, 2017 · 0 comments

Comments

@kltm
Copy link
Member

kltm commented Aug 11, 2017

It seems that while the bbop-rest-manager engine works fine POSTing in Noctua with bbop-manager-minerva, it does not work properly with bbop-manager-golr. When attempting to switch amigo's bin/amigo.js over to method POST for the engine in the terms resolution, I got an error like:

TypeError: first argument must be a string or Buffer
   at ClientRequest.OutgoingMessage.write (_http_outgoing.js:459:11)
   at manager_node.start (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-rest-manager/lib/manager.js:457:6)
   at anchor._runner (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-manager-golr/lib/manager.js:93:27)
   at manager.update (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-manager-golr/lib/manager.js:2730:24)
   at search (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-manager-golr/lib/manager.js:1126:16)
   at /home/sjcarbon/local/src/git/amigo/bin/amigo.js:595:10
   at Layer.handle [as handle_request] (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/layer.js:95:5)
   at next (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/route.js:131:13)
   at next (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/route.js:125:14)
   at next (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/route.js:125:14)

Looks like I messed up argument order somewhere; I note that the GOlr code is older and has no POST tests.

For reference:
geneontology/amigo#432 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant