-
-
Notifications
You must be signed in to change notification settings - Fork 239
TypeError: object of type 'NoneType' has no len() #193
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
Comments
Having the same issue. Any fix? |
I think this error is due to the pypdf version being updated in the recent Camelot release, and the pypdf API was changed between the old and new versions. Some code still uses the old API: https://github.com/camelot-dev/excalibur/blame/6bc1e13c705b7db1ff0031758e684dafcc283953/excalibur/utils/task.py#L38 I think if we change Also, I think some unit tests should be added to the CI to prevent such issues.
|
I fixed the property name, but I still get the error with the template. However, the file processing issue is resolved. The error stops appearing once the file is fully processed, and you can access the |
Downloading the extracted data is also broken.
Fix is here: #195 |
@bulatovv I tried your branch with the pull request, and still get the same error. I can't seem to actually upload anything without getting the "500 Internal Server Error". However, I don't get anything in my terminal after
You seem to have some more details, is there a debug/verbose mode I could activate to get more descriptive errors? |
There's still a logic bug here.
I suspect it should be |
Hello! I'm having trouble using Excalibur out of the box.
What I did
Installed Excalibur and set it up:
Then, uploaded a PDF via the web interface.
Expected behavior
Excalibur extracts data from my PDF for me.
Actual behavior
I receive a 500 Internal Server Error at
http://localhost:5000/workspaces/c644cced-85fe-42a7-92c9-aa6dcc6fc72a
:Versions
Let me know if I can provide any more info to help you replicate this issue. Thanks!
The text was updated successfully, but these errors were encountered: