Hi guys -- thanks for the quick response.

Here's the command I'm running:

$ cascadenik-compile.py cascadeniktest.mml > output.xml

And here's the response:

Usage: cascadenik-compile.py [options] <mml> <xml>

cascadenik-compile.py: error: Please specify .mml and .xml files


Here's the response to cascadenik-compile.py --help:

$ cascadenik-compile.py --help
Usage: cascadenik-compile.py [options] <mml> <xml>

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -c CACHE_DIR, --cache-dir=CACHE_DIR
Cache file-based resources (symbols, shapefiles, etc)
                        to this directory. (default: ~/.cascadenik)
  -d DATASOURCES_CFG, --datasources-config=DATASOURCES_CFG
Use the specified .cfg file to provide local overrides
                        to datasources and variables.
--srs=SRS Target srs for the compiled stylesheet. If provided, overrides default map srs in the mml. (default: None)
  -p, --pretty          Pretty print the xml output. (default: True)
  -v, --verbose         Make a bunch of noise. (default: False)

Michael Corey
Digital Innovations Editor
Center for Investigative Reporting
510.809.3178


On 12/23/10 12:27 PM, Dane Springmeyer wrote:
On Dec 23, 2010, at 12:10 PM, Michael Corey wrote:

Hello:

This is my first post, so apologies if this has already been answered.

Hi Michael, welcome.

I installed Cascadenik with no errors using easy_install on Snow Leopard,
Great.

but I don't see the nik2img.py script in my bin at all,
Nik2img is a separate install:

$ sudo easy_install nik2img

and when I try to run cascadenik-compile.py it errors out and tells me to 
specify a mml and xml document, even though as far as I can tell I am correctly 
specifying them.
Can you paste your exact command and the output?

Any insights? I'm running Python 2.6, if that's relevant.
Should work fine on snow leopard with 2.6

Thanks much,

--
Michael Corey
Digital Innovations Editor
Center for Investigative Reporting
510.809.3178

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to