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

Processing PDF - error message #13

Closed
sandeepraizada opened this issue Nov 7, 2018 · 7 comments
Closed

Processing PDF - error message #13

sandeepraizada opened this issue Nov 7, 2018 · 7 comments

Comments

@sandeepraizada
Copy link

sandeepraizada commented Nov 7, 2018

I am on ubuntu 14.04 and installed excalibur-py using pip. while processing the following pdf (this is also used in camilot-py) and works well... the system returns the following message -

ERROR:root:'Table' object has no attribute '_bbox'
Traceback (most recent call last):
File "/home/sandeep/anaconda3/lib/python3.6/site-packages/excalibur/tasks.py", line 96, in split
x1, y1, x2, y2 = tables[0]._bbox
AttributeError: 'Table' object has no attribute '_bbox'
Refresh does not change anything... if i click on excalibur then i get this msg back
"The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."
background_lines.pdf

pdf file used is attached

@sandeepraizada sandeepraizada changed the title Error after Processing PDF - error message Nov 7, 2018
@vinayak-mehta
Copy link
Member

@sandeepraizada What Camelot version are you using? Can you install the latest version and tell me if that fixes this error?

@sandeepraizada
Copy link
Author

sandeepraizada commented Nov 10, 2018

Thanks Vinayak - the version is 0.3.1. conda install 'conda install -c conda-forge camelot-py' also responds with '# All requested packages already installed.'
the issue is only when i am using excalibur.. when i use camelot in python or jupyter notebook I do not have issues with processing documents.

@vinayak-mehta
Copy link
Member

@sandeepraizada You need to be on Camelot version 0.3.2, which is the latest one and this should be fixed.

@sandeepraizada
Copy link
Author

How do I do it because conda install does not take it to that version

@vinayak-mehta
Copy link
Member

Can you try conda update camelot-py and see if it works?

@vinayak-mehta
Copy link
Member

I just created a conda release, the latest version should be available in some time.

@sandeepraizada
Copy link
Author

sandeepraizada commented Nov 11, 2018

Conda install worked though - thanks.

Sorry neither does "conda update camelot-py" or anaconda-navigator show the new version. Neither do they update to latest.

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

No branches or pull requests

2 participants