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

Multiple bugs when trying to install server #15

Open
ADepic opened this issue Apr 7, 2019 · 0 comments
Open

Multiple bugs when trying to install server #15

ADepic opened this issue Apr 7, 2019 · 0 comments

Comments

@ADepic
Copy link

ADepic commented Apr 7, 2019

just install-api-geocode fails

error: failed to select a version for the requirement 'ring = "^0.12.0"'     
  candidate versions found which didn't match: 0.14.6, 0.14.5, 0.14.4, ...
  location searched: crates.io index
required by package 'cookie v0.10.0'
    ... which is depended on by 'actix-web v0.6.10'
    ... which is depended on by 'atlasr-api-geocode-searcher v0.1.0 (/home/superuser/Desktop/just/atlasr/source/api/geocode/searcher)'
error: Recipe 'install-api-geocode-searcher' failed on line 69 with exit code 101

This also means just run-api-geocode-searcher fails


cd source/api/geocode/searcher && cargo run --release
    Updating crates.io index
error: failed to select a version for the requirement 'ring = "^0.12.0"'
  candidate versions found which didn't match: 0.14.6, 0.14.5, 0.14.4, ...
  location searched: crates.io index
required by package 'cookie v0.10.0'
    ... which is depended on by 'actix-web v0.6.10'
    ... which is depended on by 'atlasr-api-geocode-searcher v0.1.0 (/home/superuser/Desktop/just/atlasr/source/api/geocode/searcher)'
error: Recipe 'run-api-geocode-searcher' failed on line 75 with exit code 101`

just run-api-route fails too

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 288 source files to /home/superuser/Desktop/just/atlasr/source/api/route/core/target/classes
[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] GraphHopper Parent Project ......................... SUCCESS [  2.048 s]
[INFO] GraphHopper Core ................................... FAILURE [ 23.851 s]
[INFO] GraphHopper Reader for OpenStreetMap Data .......... SKIPPED
[INFO] GraphHopper Reader JSON ............................ SKIPPED
[INFO] GraphHopper Tools .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.059 s
[INFO] Finished at: 2019-04-07T12:37:03+01:00
[INFO] Final Memory: 13M/54M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project graphhopper-core: Compilation failure -> [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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :graphhopper-core
error: Recipe `run-api-route` failed on line 87 with exit code 1

However just install-api-route seems to work

Submodule 'source/api/graphhopper' (https://github.com/atlasr-org/graphhopper) registered for path 'source/api/route'
Cloning into '/home/superuser/Desktop/just/atlasr/source/api/route'...
Submodule path 'source/api/route': checked out '73ab179b4f477829b8d1bdd7237cd257a1eb0641'

just install-server, just run-server, just install-api-tile, just run-api-tile work

just install-client doesn't work

/tmp/just.HplcryVxAsp8/install-client-index: 122: /tmp/just.HplcryVxAsp8/install-client-index: [[: not found
cd source/client && elm make src/Main.elm --optimize --output ../../public/static/javascript/application.elm.js
sh: 1: elm: not found
error: Recipe `install-client-application` failed on line 134 with exit code 127

and just open decides to redownload the planet.tsv file although just install-api-geocode did this, so i couldn't let the command continue or it would eat up too much disk space.

Prequesities i Have installed
just binary in atlasr folder (so I use command ./just)
cargo
lua5.3
lua5.3-dev
lsqlite3
lsqlite3-dev
libstd-rust-1.31
libstd-rust-dev
rustc

Operating System: Linux Mint 19 Cinnamon

This is all that shows up at the localhost:

atlasr real

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