-
Notifications
You must be signed in to change notification settings - Fork 0
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
Installation OTP #1
Comments
@Fil |
java -Xmx6G -jar otp-1.2.0-shaded.jar --router Paris --graphs graphs
--server
java --versionjava 9.0.4
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
|
@Fil I'm gonna study what I could do (online app, maybe a another post with a better solutionn, use Navitia instead of OTP, ...). |
First I will install java8 and let you know :)
… brew tap caskroom/versions && brew cask install java8
|
Ok. ;-) |
Ça tourne bien avec l'install ci-dessus et en lançant :
/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java -Xmx6G -jar otp-1.2.0-shaded.jar --router Paris --graphs graphs --server
|
Enfin, quand je dis que ça tourne: le serveur démarre et j'ai la carte,
mais ensuite impossible de l'utiliser
10:35:32.502 ERROR (GraphService.java:124) no graph registered with the
routerId 'Paris'
10:35:32.505 WARN (Errors.java:191) The following warnings have been
detected: WARNING: Unknown HK2 failure detected:
MultiException stack 1 of 2
org.opentripplanner.routing.error.GraphNotFoundException
at
org.opentripplanner.routing.services.GraphService.getRouter(GraphService.java:125)
at org.opentripplanner.standalone.OTPServer.getRouter(OTPServer.java:74)
at
org.opentripplanner.index.GeocoderResource.<init>(GeocoderResource.java:29)
|
Tu as simplement la carte ou tu peux lancer des calculs avec l'interface web ? |
comme je disais, je n'ai que la carte : pas de géocodage, pas d'itinéraire. |
Ok je regarde d'où peut provenir le problème |
Pourrais-tu essayer de lancer le serveur en ajoutant ceci à la commande ?
|
Ok. Si tu as tjs l'erreur du graphe introuvable, il faut que je creuse la question. |
Il me manquait l'installation de lfs
et là j'ai un message d'erreur assez clair :
|
Ok, étrange leur truc parce que je n'ai eu aucun avertissement quand j'ai mis en ligne et normalement ça respecte les quotas. |
Tu veux pas juste m'envoyer les fichiers par ailleurs ?
|
On peut éventuellement s'arranger oui mais ça ne réglera le problème que de ton côté et ne rendra pas l'application facilement partageable. Je regarde comment faire pour toi. |
Pour télécharger le graphe avec le dossier lucene aindi que le .jar (du coup j'ai laissé également les fichiers osm et GTFS au cas où): |
Ok cool. ;-) |
En fait ça marche, il suffit d'être patient et de ne pas s'inquiéter : le java tourne à 100% CPU pendant 8 minutes, sans aucun log, et pedant ce temps renvoie des error 404 quand on interroge le port 8080 (il répond, donc…). En fait, c'est qu'il est en train de charger et d'analyser le graphe (il pourrait envoyer 503 et dire "revenir plus tard", et le client bokeh pourrait lire ce statut et dire "le serveur OTP est pas là"). |
something missing? After I cloned the repo and launched otp I get an infinite loop of errors:
The text was updated successfully, but these errors were encountered: