Exception in thread "main" java.lang.Error: premature EOF
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- machine-learning
Research direction
The report names run_example.sh, pipeline.mojo, mojo2-runtime.jar, and example.csv; start by reproducing the failure with the included script and commands. Done means identifying the cause of the premature EOF when loading the downloaded MOJO pipeline and documenting a verified resolution.
Written by the indexing model from the issue text.
Description
I completed an 'Experiment' run on DriverlessAI, and downloaded mozo.zip from 'Download MOJO scoring pipeline' button.
I unzipped it, and tried to run run_example.sh included in it, but it produces the following error. It doesn't matter what method I use to run run_example.sh, but all ends up with the same error.
Can you pls help ?
[bsyu@p57a22 mojo-pipeline]$ export DRIVERLESS_AI_LICENSE_FILE=/opt/h2oai/dai/home/.driverlessai/license.sig
[bsyu@p57a22 mojo-pipeline]$ ./run_example.sh pipeline.mojo /home/bsyu/files/DJI_Sep17_Sep18.csv
======================
Running MOJO2 example
MOJO file : pipeline.mojo
Input file : /home/bsyu/files/DJI_Sep17_Sep18.csv
Command line : java -Xmx5g -Dai.h2o.mojos.runtime.license.file= -cp mojo2-runtime.jar ai.h2o.mojos.ExecuteMojo pipeline.mojo /home/bsyu/files/DJI_Sep17_Sep18.csv
Exception in thread "main" java.lang.Error: premature EOF
at org.capnproto.BufferedInputStreamWrapper.readAtLeast(SourceFile:103)
at org.capnproto.BufferedInputStreamWrapper.getReadBuffer(SourceFile:83)
at org.capnproto.PackedInputStream.read(SourceFile:47)
at org.capnproto.Serialize.fillBuffer(SourceFile:42)
at org.capnproto.Serialize.read(SourceFile:56)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:42)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:36)
at ai.h2o.mojos.runtime.d.b.a(SourceFile:17)
at ai.h2o.mojos.runtime.d.h.a(SourceFile:91)
at ai.h2o.mojos.runtime.b.D.b(SourceFile:60)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:29)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:67)
at ai.h2o.mojos.runtime.b.i.b(SourceFile:51)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:32)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:48)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:50)
at ai.h2o.mojos.ExecuteMojo.main(SourceFile:49)
[bsyu@p57a22 mojo-pipeline]$ bash ./run_example.sh
Running MOJO2 example
MOJO file : pipeline.mojo
Input file : example.csv
Command line : java -Xmx5g -Dai.h2o.mojos.runtime.license.file= -cp mojo2-runtime.jar ai.h2o.mojos.ExecuteMojo pipeline.mojo example.csv
Exception in thread "main" java.lang.Error: premature EOF
at org.capnproto.BufferedInputStreamWrapper.readAtLeast(SourceFile:103)
at org.capnproto.BufferedInputStreamWrapper.getReadBuffer(SourceFile:83)
at org.capnproto.PackedInputStream.read(SourceFile:47)
at org.capnproto.Serialize.fillBuffer(SourceFile:42)
at org.capnproto.Serialize.read(SourceFile:56)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:42)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:36)
at ai.h2o.mojos.runtime.d.b.a(SourceFile:17)
at ai.h2o.mojos.runtime.d.h.a(SourceFile:91)
at ai.h2o.mojos.runtime.b.D.b(SourceFile:60)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:29)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:67)
at ai.h2o.mojos.runtime.b.i.b(SourceFile:51)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:32)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:48)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:50)
at ai.h2o.mojos.ExecuteMojo.main(SourceFile:49)
[bsyu@p57a22 mojo-pipeline]$ java -cp license.sig:mojo2-runtime.jar ai.h2o.mojos.ExecuteMojo pipeline.mojo example.csv
Exception in thread "main" java.lang.Error: premature EOF
at org.capnproto.BufferedInputStreamWrapper.readAtLeast(SourceFile:103)
at org.capnproto.BufferedInputStreamWrapper.getReadBuffer(SourceFile:83)
at org.capnproto.PackedInputStream.read(SourceFile:47)
at org.capnproto.Serialize.fillBuffer(SourceFile:42)
at org.capnproto.Serialize.read(SourceFile:56)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:42)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:36)
at ai.h2o.mojos.runtime.d.b.a(SourceFile:17)
at ai.h2o.mojos.runtime.d.h.a(SourceFile:91)
at ai.h2o.mojos.runtime.b.D.b(SourceFile:60)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:29)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:67)
at ai.h2o.mojos.runtime.b.i.b(SourceFile:51)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:32)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:48)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:50)
at ai.h2o.mojos.ExecuteMojo.main(SourceFile:49)
- Dominant language
- Jupyter Notebook
- Stars
- 38
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from h2oai/driverlessai-tutorials
-
Time Series Full pipeline code needs to be updated for 1.8.4.1 LTSMay be free again @hemenkapadia claimed this 2461 days ago, and no pull request is open. Open
h2oai/driverlessai-tutorials#46 · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 18/100
h2oai/driverlessai-tutorials#38 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Create RHEL setup documentationMay be free again @hemenkapadia claimed this 2716 days ago, and no pull request is open. Open
h2oai/driverlessai-tutorials#33 · 1 assignee ·
All issues in h2oai/driverlessai-tutorials
Similar issues
-
type/bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
h2oai/h2o-llmstudio#1163 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
srbhr/Resume-Matcher#1107 · 1 comment ·
Maintainers usually reply within 1 day
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xPossibly taken @NimaVaziri claimed this today. OpenPytorch
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/TensorRT-LLM#23406 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lakshaychhaba0001-sys/openbench-ai#230 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day