eoc icon indicating copy to clipboard operation
eoc copied to clipboard

Example from README do not working

Open Chamber6821 opened this issue 1 year ago • 0 comments

File app.eo:

[args] > hello
  QQ.io.stdout > @
    "Hello, world!\n"

Steps to reproduce:

  1. Copy app.eo to empty directory
  2. Run eoc dataize hello in the same directory with app.eo
  3. See result

Result:

EO objects registered in .eoc/eo-foreign.json
Assembling into .eoc
[ERROR] Failed to parse '/home/Chamber6821/Projects/eolang-test/app.eo:4': [4:0] no viable alternative at input '[args] > hello\n  INTQQ.
io.stdout > @\n    INT"Hello, world!\n"\nEXPONENTEXPONENT': "EOF"
[ERROR] The hash wasn't found for tag 130afdd1456a0cbafd52aee8d7bc612e1faac547
[ERROR] 'org.eolang.maven.ProbeMojo@5c808d24' execution failed
[ERROR] The hash wasn't found for tag 130afdd1456a0cbafd52aee8d7bc612e1faac547
[ERROR] Failed to execute goal org.eolang:eo-maven-plugin:0.38.2:assemble (default-cli) on project eoc: 'org.eolang.maven.AssembleMojo@36
c281ed' execution failed: java.lang.IllegalStateException: org.apache.maven.plugin.MojoFailureException: 'org.eolang.maven.ProbeMojo@5c80
8d24' execution failed: org.eolang.maven.hash.ChText$NotFound: The hash wasn't found for tag 130afdd1456a0cbafd52aee8d7bc612e1faac547 -> 
[Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
The command "/usr/local/lib/node_modules/eolang/mvnw/mvnw eo:assemble -Deo.version=0.38.2 -Deo.tag=130afdd1456a0cbafd52aee8d7bc612e1faac5
47 --quiet -Deo.sourcesDir=/home/Chamber6821/Projects/eolang-test -Deo.targetDir=/home/Chamber6821/Projects/eolang-test/.eoc -Deo.outputD
ir=/home/Chamber6821/Projects/eolang-test/.eoc/classes -Deo.generatedDir=/home/Chamber6821/Projects/eolang-test/.eoc/generated-sources -D
eo.placed=/home/Chamber6821/Projects/eolang-test/.eoc/eo-placed.csv -Deo.placedFormat=csv --batch-mode --color=never --update-snapshots -
-fail-fast --strict-checksums" exited with #1 code

OS: Fedora 40 KDE EOC version: 0.21.1 Cargo/Rust verision: 1.78.0 Java version: openjdk 21.0.3 NPM version: 10.5.0

Chamber6821 avatar Jun 09 '24 10:06 Chamber6821