Hi Damian,
Looks like windows doesn't have HOME environment variable set. You can set
it yourself in console, something like:
set HOME=C:\Users\

Or just remove it from generate_tiles.py and modify mapfile and tile_dir to
have full paths.

Also, consider subscribing to mapnik-users.

HTH
Artem

Just manually set HOME to whatever

os.environ['HOME']

2008/12/31 Damian Proksch <[email protected]>

> Hello List,
>
> I try under windows to start rendering with mapnik.
> I know nothing about python.
> On my cmd I try to start with:
>
> C:\mapnik-0_5_1>generate_tiles.py
>
> and I get back:
>
> Traceback (most recent call last):
>  File "C:\mapnik-0_5_1\generate_tiles.py", line 108, in <module>
>    HOME = os.environ['HOME']
>  File "C:\Python25\lib\os.py", line 429, in __getitem__
>    return self.data[key.upper()]
> KeyError: 'HOME'
>
> what's going wrong?
>
> For any help thanks a lot.
>
> Damian
>
>
>
> --
> Mit freundlichen Grüßen
> Damian Proksch
> mailto:[email protected]
>
> _______________________________________________
> 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