-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
Internal Server Error (500) #1174
base: master
Are you sure you want to change the base?
Conversation
Same happened here. It was solved by updating from Java 8u331 to Java 8u333. |
@rua4 java control panel is reporting 331 to be the latest version, how to update please? |
On a Windows machine I bypassed the Java Control Panel by manually installing the Java 8u333 via https://www.java.com/en/download/manual.jsp |
You can manually install the newer version as suggested by @mtovmassian or downgrade to lower version (e.g. 8u321, 8u311 etc). |
Installing version 333 worked for me!
|
Still having same internal server issue with 333 and 331, any ideas? Tabula API version: 1.2.1.18052200
|
Still having the 500 error when using Tabulapdf on mac (Cataline 10.15.7). This is occurring only on specific tables I am trying to convert. I am seeing certain lines excluded from the OCR conversion (see images below). When I focus the OCR on the specific area excluded, I get the 500 error. I have downloaded the latest Java (v8u341) but I am not sure if it is being used by Tabula (I think I read that the mac version comes with its own java version so I think this might be the main problem). I have not been able to replicate this on the windows 10 version but I was using a smaller dataset. Java was up to date as far as I could tell (v341). Hope I included all relevant info, new to Github. Great tool btw! Edit #1: Similar thing happening on windows 10 (build: 19044.1826) and java (8u341). Firefox browser if that makes a difference. Interestingly only some areas get processed fine. I am using invoices and some come out perfect, others with these errors, even when it is in same format. Repeats of:
...coming up in the Tabula console. Successful in replicating this error (500) in windows. Edit #2: Using Preview (on Mac) yields incomplete characters (I am not sure exactly how to extract the exact representation of it):
Which should read as:
Tabula extracts the table below this without issue. Edit #3: Found an interesting example of this problem in my dataset. A PDF invoice has two pages, one table is repeated across both pages. The info from the table on page 2 is extracted correctly, the first table throws the 500 error when focusing on the data in the table. Example of PDF attached. |
I tried to install Java 8u333, but does not work (SystemCallError) Unknown error (SystemCallError) - Unknown Error (0) - ./enumerator.jar |
I am getting this error message.
|
I am also getting a similar error, strange as was working the other day: You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus. |
Internal Server Error (500)
|
Working here with Java 8 u371. |
tabula-master>bundle install current directory: current directory: C:/jruby-9.4.3.0/lib/ruby/gems/shared/gems/sassc-2.4.0/ext Gem files will remain installed in An error occurred while installing sassc (2.4.0), and Bundler cannot continue. In Gemfile: |
It happened even to me on Ubuntu 22.04. It was about the server not working. I needed to downgrade to Java8
Selected *2 (java-8), then just run the command Little bit struggling but fixed in the end :-) |
@astro-ray wrote:
Maybe you want to try adding "... --add-opens=java.base/java.util.zip=ALL-UNNAMED ..." when running it. It helped for me. |
I tried to open Tabula in my work notebook and it showed the following Internal Server Error (500):
No such file or directory - NUL from org/jruby/RubyFile.java:366:in
'initialize' from org/jruby/RubyIO.java:1154:in
open' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/user_interaction.rb:681:ininitialize' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/ui/rg_proxy.rb:11:in
initialize' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar--any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:74:inui=' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:70:in
ui' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar--any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:252:inresolve' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in
specs' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar--any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237:inspecs_for' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in
requested_specs' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar--any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:inblock in requested_specs' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in
setup' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar--any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:107:insetup' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:114:in
require' from C:\Users\vitor\AppData\Local\Temp\jetty-0.0.0.0-8080-tabula.jar--any-6308546013162397813.dir\webapp\WEB-INF\config.ru:4:inblock in (root)' from org/jruby/RubyBasicObject.java:1691:in
instance_eval' from C:/Users/vitor/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/rack-2.0.4/lib/rack/builder.rb:55:ininitialize' from C:\Users\vitor\AppData\Local\Temp\jetty-0.0.0.0-8080-tabula.jar-_-any-6308546013162397813.dir\webapp\WEB-INF\config.ru:1:in
How to fix that error?