I know this isn't a cascadenik forum - but I wasn't able to find one and I'm
guessing this is the best place to ask.
I'm getting a url error trying to get cascadenik to load my .mml file. I'm
running on windows, python 2.5, cascadenik head - so 0.2.0ish, mapnik 0.7.1
C:\mapnikXml>python cascadenik-compile.py my.mml myout.xml
Traceback (most recent call last):
File "cascadenik-compile.py", line 109, in <module>
sys.exit(main(layersfile, **options.__dict__))
File "cascadenik-compile.py", line 30, in main
cascadenik.load_map(mmap, file, **load_kwargs)
File "C:\Python25\Lib\site-packages\cascadenik\__init__.py", line 24, in
load_map
compile(input, target_dir=target_dir,
move_local_files=move_local_files).to_mapnik(map)
File "compile.py", line 1445, in compile
File "compile.py", line 1279, in localize_datasource
File "C:\Python25\lib\urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "C:\Python25\lib\urllib2.py", line 374, in open
response = self._open(req, data)
File "C:\Python25\lib\urllib2.py", line 397, in _open
'unknown_open', req)
File "C:\Python25\lib\urllib2.py", line 353, in _call_chain
result = func(*args)
File "C:\Python25\lib\urllib2.py", line 1134, in unknown_open
raise URLError('unknown url type: %s' % type)
urllib2.URLError: <urlopen error unknown url type: c>
I've copied the cascadenik-compile.py to my mapnik mml/xml directory. I've
also tried calling it while referencing the compile script in the
c:\cascadenik directory, the c:\cascadenik\build\scripts-2.5 directory,
copied my mml file to the c:\cascadenik directory.
I'm pretty much out of ideas and am beginning to think something's been
broken and I may need to fix it. But that's going slowly because I can't
seem to get python to print anything out to the command line. Anyway, any
ideas or questions I might be able to answer to clarify?
Thanks, Jeff
--
View this message in context:
http://old.nabble.com/Cascadenik-setup-issue-tp29880799p29880799.html
Sent from the Mapnik - Users mailing list archive at Nabble.com.
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users