PUT /api/nanopubs error
Closed this issue · 0 comments
wshayes commented
Referencing BELMgr posted issue OpenBEL/belmgr#88
From logs:
nginx-proxy | nginx.1 | pmi-openbel.sbvimprover.com 173.76.230.77 - - [20/Mar/2017:13:29:28 +0000] "OPTIONS /api/nanopubs/58cfd8d4e4b016b317d3f7bc HTTP/1.1" 200 31 "https://pmi-belmgr.sbvimprover.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36"
apibel1 | 2017-03-20 13:29:28 - TypeError - no implicit conversion of Symbol into Integer:
apibel1 | org/jruby/RubyFixnum.java:1120:in `[]'
apibel1 | /usr/local/bundle/gems/openbel-api-1.2.7-java/app/openbel/api/routes/nanopubs.rb:339:in `block in PUT /api/nanopubs/:id'
apibel1 | org/jruby/RubyMethod.java:111:in `call'
apibel1 | /usr/local/bundle/gems/sinatra-1.4.6/lib/sinatra/b