Skip to content

Fails on searching #2

@tarrow

Description

@tarrow

HTTP request

http --timeout 600 -f http://localhost:9001/server/services/searchOpenAire.php q=HIC project_id=608575 funding_level=fp7
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: Keep-Alive
Content-Length: 139
Content-Type: application/json
Date: Thu, 15 Mar 2018 07:55:10 GMT
Keep-Alive: timeout=5, max=100
Server: Apache/2.4.10 (Debian)
X-Powered-By: PHP/7.0.15

array(3) {
  ["q"]=>
  string(3) "HIC"
  ["project_id"]=>
  string(6) "608575"
  ["funding_level"]=>
  string(3) "fp7"
}
{"status":"error"}

PHP/apache logs

headstart-backend     | Loading required package: NLP
headstart-backend     | 
headstart-backend     | Attaching package: 'proxy'
headstart-backend     | 
headstart-backend     | The following objects are masked from 'package:stats':
headstart-backend     | 
headstart-backend     |     as.dist, dist
headstart-backend     | 
headstart-backend     | The following object is masked from 'package:base':
headstart-backend     | 
headstart-backend     |     as.matrix
headstart-backend     | 
headstart-backend     | Loading required package: methods
headstart-backend     | Loading required package: fossil
headstart-backend     | Loading required package: sp
headstart-backend     | Loading required package: maps
headstart-backend     | Loading required package: shapefiles
headstart-backend     | Loading required package: foreign
headstart-backend     | 
headstart-backend     | Attaching package: 'shapefiles'
headstart-backend     | 
headstart-backend     | The following objects are masked from 'package:foreign':
headstart-backend     | 
headstart-backend     |     read.dbf, write.dbf
headstart-backend     | 
headstart-backend     | Loading required package: foreach
headstart-backend     | Loading required package: iterators
headstart-backend     | Loading required package: parallel
headstart-backend     | 
headstart-backend     | Attaching package: 'plyr'
headstart-backend     | 
headstart-backend     | The following object is masked from 'package:maps':
headstart-backend     | 
headstart-backend     |     ozone
headstart-backend     | 
headstart-backend     | Error in `$<-.data.frame`(`*tmp*`, "doi", value = c("10.1039/c5nr04383b",  : 
headstart-backend     |   replacement has 23 rows, data has 21
headstart-backend     | Calls: get_papers -> build_pubs_metadata -> $<- -> $<-.data.frame
headstart-backend     | Execution halted
headstart-backend     | 172.17.0.1 - - [15/Mar/2018:07:55:10 +0000] "POST /server/services/searchOpenAire.php HTTP/1.1" 200 394 "-" "HTTPie/0.9.2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions