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

[TO BE CLOSED] [Hadrian] Multiple errors in "Tutorial 4: executing a model in Hadrian-Standalone" #40

Open
stemar87 opened this issue Jul 12, 2017 · 1 comment

Comments

@stemar87
Copy link

stemar87 commented Jul 12, 2017

Following the tutorial using latest Hadrian release 0.8.1 (thus, jar file hadrian-standalone-0.8.1-jar-with-dependencies.jar) results in multiple errors:

  • when issuing command "java -jar hadrian-standalone-0.8.1-jar-with-dependencies.jar -i json -o json ... " error "Exception in thread "main" com.opendatagroup.hadrian.errors.PFASyntaxException: PFA syntax error at JSON line:col 1:2: PFA engine must be a JSON object, not start of array ("[" character)" pops-up
  • if trying scala version by calling "val engine = PFAEngine.fromJson(new java.io.File("myModel.pfa")).head" in scala REPL error same as above.
@stemar87 stemar87 changed the title [Hadrian] Tutorial 4: executing a model in Hadrian-Standalone [Hadrian] Multiple errors in "Tutorial 4: executing a model in Hadrian-Standalone" Jul 12, 2017
@stemar87 stemar87 changed the title [Hadrian] Multiple errors in "Tutorial 4: executing a model in Hadrian-Standalone" [Hadrian] Error in "Tutorial 4: executing a model in Hadrian-Standalone" Jul 12, 2017
@stemar87 stemar87 changed the title [Hadrian] Error in "Tutorial 4: executing a model in Hadrian-Standalone" [Hadrian] Multiple errors in "Tutorial 4: executing a model in Hadrian-Standalone" Jul 12, 2017
@stemar87
Copy link
Author

[UPDATE] Can be closed, issue solved by adding code to handle missing values, my bad.

@stemar87 stemar87 changed the title [Hadrian] Multiple errors in "Tutorial 4: executing a model in Hadrian-Standalone" [TO BE CLOSED] [Hadrian] Multiple errors in "Tutorial 4: executing a model in Hadrian-Standalone" Jul 14, 2017
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

1 participant