Skip to content

Regression from 0.9.2: empty response #171

@jazzido

Description

@jazzido

Reported by @jeremybmerrill in tabulapdf/tabula#707:

I'm getting empty responses on a PDF that should work (and do work off of master) from this.
For several different selections that work on master, I get this response for each, regardless of the extraction method I choose: [{"extraction_method":"","top":0.0,"left":0.0,"width":0.0,"height":0.0,"data":[[{"top":0.0,"left":0.0,"width":0.0,"height":0.0,"text":""}]], "spec_index": 0}]. The params to the request look right (and do work right, as I said, on master).

Test document: http://www1.nyc.gov/assets/nypd/downloads/pdf/crime_statistics/cs-en-us-pbms.pdf

0.9.2

java -jar ~/Downloads/tabula-0.9.2-jar-with-dependencies.jar -a 193.163,34.425,333.158,365.67 cs-en-us-pbms.pdf
"",,,Crime Complaints
"",Week to Date,,28 Day Ye
"",2017 2016 % Chg,2017,2016 % Chg 2017
Murder,0 0 ***.*,0,1 -100.0 6
Rape,1 3 -66.7,14,13 7.7 75
Robbery,16 25 -36.0,85,100 -15.0 540
Fel. Assault,29 26 11.5,102,116 -12.1 773
Burglary,20 29 -31.0,78,111 -29.7 621
Gr. Larceny,201 201 0.0,831,"888 -6.4 5,261"
G.L.A.,7 13 -46.2,23,41 -43.9 118

Debug output

java -cp ~/Downloads/tabula-0.9.2-jar-with-dependencies.jar technology.tabula.debug.Debug -e cs-en-us-pbms.pdf

image

1.0.0

java -jar ~/Downloads/tabula-1.0.0-jar-with-dependencies.jar -a 193.163,34.425,333.158,365.67 cs-en-us-pbms.pdf
""

Debug output

java -cp ~/Downloads/tabula-1.0.0-jar-with-dependencies.jar technology.tabula.debug.Debug -e cs-en-us-pbms.pdf

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions