Christian, il semble manquer un fichier 'amenity-symbols.mss’ sur github :
node /data/osm/kosmtik/index.js serve /data/osm/styles/osmfr/project.mml --host 192.168.0.42 [Core] No usable config file found in /home/osm/.config/kosmtik.yml [Core] Loading plugin from ../plugins/base-exporters/index.js [Core] Loading plugin from ../plugins/hash/index.js [Core] Loading plugin from ../plugins/local-config/index.js [Core] Loading plugin from ../plugins/datasource-loader/index.js [Core] Loading project from /data/osm/styles/osmfr/project.mml fs.js:640 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT: no such file or directory, open '/data/osm/styles/osmfr/amenity-symbols.mss' at Error (native) at Object.fs.openSync (fs.js:640:18) at Object.fs.readFileSync (fs.js:508:33) at Loader.BaseLoader.normalizeStylesheet (/data/osm/kosmtik/src/back/loader/Base.js:74:34) at Array.map (native) at Loader.BaseLoader.postprocess (/data/osm/kosmtik/src/back/loader/Base.js:12:51) at Loader.BaseLoader.load (/data/osm/kosmtik/src/back/loader/Base.js:79:10) at Project.load (/data/osm/kosmtik/src/back/Project.js:38:23) at new ProjectServer (/data/osm/kosmtik/src/back/ProjectServer.js:31:18) at PreviewServer.registerProject (/data/osm/kosmtik/src/back/PreviewServer.js:51:33) Le 11 janv. 2017 à 10:17, Maël REBOUX <mael.reb...@breizhpositive.bzh> a écrit : > Ca avance : https://github.com/kosmtik/kosmtik/issues/216 > > En fait il ne faut pas suivre le ReadMe et installer le master depuis github > (…). > Et là on a un kosmtik fonctionnel. > > Là j’essaie de lancer le rendu OSM « original » car il est bien configuré > pour mapnik 2 pour produire des tuiles. > Je viens d’essayer sans localconfig.js et ça change rien. > > Un indice : pour les layers postgis il y a une entrée pour le username mais > aucune entrée pour le password. > > Je vais essayer avec le style OSM FR. > > > Le 11 janv. 2017 à 09:49, Christian Quest <cqu...@openstreetmap.fr> a écrit : > >> Je n'ai pas de localconfig.js... si ça peut t'aider... >> >> Le 11 janvier 2017 à 09:09, Maël REBOUX <mael.reb...@breizhpositive.bzh> a >> écrit : >> Bonjour, >> >> Entre-temps j’ai avancé et pu me dépatouiller avec les nuances des versions >> de Node.js. >> >> Le ticket principal : https://github.com/kosmtik/kosmtik/issues/212 >> >> >> >> Donc c’est installé et fonctionnel mais pour le moment je ne parviens pas >> afficher la page (la page HTML est produite cependant) car : >> https://github.com/kosmtik/kosmtik/issues/216 >> >> /usr/lib/node_modules/kosmtik/src/back/PreviewServer.js:141 >> if (anonymous.name) throw 'Cannot use bridge helper with named function:' + >> anonymous.name; >> >> Je penche pour un pb lié au localconfig.js >> >> >> -- >> Christian Quest - OpenStreetMap France >> _______________________________________________ >> Talk-fr mailing list >> Talk-fr@openstreetmap.org >> https://lists.openstreetmap.org/listinfo/talk-fr > > _______________________________________________ > Talk-fr mailing list > Talk-fr@openstreetmap.org > https://lists.openstreetmap.org/listinfo/talk-fr
_______________________________________________ Talk-fr mailing list Talk-fr@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-fr