Hi all,

After seeing it in action, I'm jumping to try out tilemill and carto first-
hand. But I'm running into several problems...


Environment: I run Debian testing/unstable, amd64 architecture. Boost 1.46, 
Python 2.7, Mapnik 2.0.0, Node.js 0.4.12, the works.



On the tilemill front: I'm able to install it without too much fuzz (dpkg --
force-all does wonders), I'm able to start it up, and I'm able to point a web 
browser to localhost:8889. But as soon as the browser requests a tile, the 
tilemill server process segfaults without telling where or why.

Question: How can I increase the verbosity of tilemill so I can trace the 
problem?



On the carto front, javascript version. I can do "aptitude install npm" and 
then "npm install carto" without any problems. But when I try run it, I only 
got this:

$ carto /usr/share/tilemill/examples/control-room/control-room.mml 
carto: Millstone not found. Externals will not be resolved.
TypeError: Cannot call method 'replace' of undefined
    at Object.parse 
(/home/ivan/.node_libraries/.npm/carto/0.2.4/package/lib/carto/parser.js:220:25)
    at 
/home/ivan/.node_libraries/.npm/carto/0.2.4/package/lib/carto/renderer.js:34:44
    at Array.map (native)
    at Function.map 
(/home/ivan/.node_libraries/.npm/underscore/1.1.7/package/underscore.js:93:56)
    at [object Object].map 
(/home/ivan/.node_libraries/.npm/underscore/1.1.7/package/underscore.js:804:26)
    at Renderer.render 
(/home/ivan/.node_libraries/.npm/carto/0.2.4/package/lib/carto/renderer.js:27:10)
    at compile 
(/home/ivan/.node_libraries/.npm/carto/0.2.4/package/bin/carto:90:12)
    at Object.<anonymous> 
(/home/ivan/.node_libraries/.npm/carto/0.2.4/package/bin/carto:75:12)
    at Module._compile (module.js:411:26)
    at Object..js (module.js:417:10)



On the carto-generator front, C version. When trying to compile it, it 
ultimately fails with:

/usr/include/boost/spirit/home/karma/numeric/detail/real_utils.hpp:98:64: 
error: invalid cast from type 
‘boost::fusion::extension::adt_attribute_proxy<mapnik::building_symbolizer, 2, 
true>’ to type ‘double’
make: *** [gen_building_sym.o] Error 1



I'm quite at a loss here. I'd like to debug these problems, but I don't know 
where to start. Help! :-(


-- 
----------------------------------
Iván Sánchez Ortega <[email protected]> <[email protected]>

Un ordenador no es un televisor ni un microondas, es una herramienta compleja.
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to