forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error: ENOENT: no such file or directory, open '/osm-carto.tm2/project.xml' #4
Comments
Can you post the contents of the file tessera-serve-vector-tiles.json?
It looks like the file name in it is wrong
…On 29 December 2017 14:28:13 GMT, nafis042 ***@***.***> wrote:
after writting the command-
make tessera
it shows the following error:
Generating Mapnik XML. This can take 5 minutes
./node_modules/.bin/carto -a "3.0.0" ./osm-carto.tm2/project.mml >
./osm-carto.tm2/project.xml
MAPNIK_FONT_PATH=$(find /usr/share/fonts/ -type f | sed 's|/[^/]*$||' |
uniq | paste -s -d: -) ./node_modules/.bin/tessera -c
tessera-serve-vector-tiles.json
Listening at http://0.0.0.0:8080
/home/nafis/openstreetmap-carto-vector-tiles/node_modules/tessera/server.js:111
throw err;
^
Error: ENOENT: no such file or directory, open
'/osm-carto.tm2/project.xml'
at Error (native)
Makefile:49: recipe for target 'tessera' failed
make: *** [tessera] Error 1
I checked the file is in the right folder. also apply chmod 777 to that
file. still getting the error
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
{ |
It looks like the path for the vector source is wrong. There is an unset environmental variable. I'm travelling now, I'll look at it later
…On 29 December 2017 19:46:08 GMT, nafis042 ***@***.***> wrote:
{
"/pbfs/live": { "source": "tmsource://./osm-carto.tm2source/" },
"/tiles": { "source": "vector:///osm-carto.tm2/project.xml" }
}
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
It looks like the path for the vector source is wrong. There is an unset environmental variable. I'm travelling now, I'll look at it later
…On 29 December 2017 19:46:08 GMT, nafis042 ***@***.***> wrote:
{
"/pbfs/live": { "source": "tmsource://./osm-carto.tm2source/" },
"/tiles": { "source": "vector:///osm-carto.tm2/project.xml" }
}
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
after writting the command-
make tessera
it shows the following error:
Generating Mapnik XML. This can take 5 minutes
./node_modules/.bin/carto -a "3.0.0" ./osm-carto.tm2/project.mml > ./osm-carto.tm2/project.xml
MAPNIK_FONT_PATH=$(find /usr/share/fonts/ -type f | sed 's|/[^/]*$||' | uniq | paste -s -d: -) ./node_modules/.bin/tessera -c tessera-serve-vector-tiles.json
Listening at http://0.0.0.0:8080
/home/nafis/openstreetmap-carto-vector-tiles/node_modules/tessera/server.js:111
throw err;
^
Error: ENOENT: no such file or directory, open '/osm-carto.tm2/project.xml'
at Error (native)
Makefile:49: recipe for target 'tessera' failed
make: *** [tessera] Error 1
I checked the file is in the right folder. also applied chmod 777 to that file. still getting the error
The text was updated successfully, but these errors were encountered: