[Tilecache] Issue with Nim2Img

Ritesh Ambastha ritesh.linux at gmail.com
Wed Nov 16 04:36:56 EST 2011


Can't tell you more without looking at the xml file. Anyways, I guess there
is a problem either with xml or installation part. I have experiences with
TileCache and not with nik2img.


Have you checked the installation?

Test Installation of command-line script:

$ nik2img.py # should be able to tab complete...

$ which nik2img.py # should show install location
$ nik2img.py -h # should display usage

http://code.google.com/p/mapnik-utils/wiki/Nik2Img


On Wed, Nov 16, 2011 at 3:00 PM, Alireza Kashian
<alireza.kashian at gmail.com>wrote:

> Hi.
>
> I have been member of this mailing list for a long time, but I am not sure
> if I can ask questions related to nik2img here as well. I couldn't find its
> own mailing list.
>
> I have installed mapnik 0.7.0 on fresh Debian with all other required
> packages. including python etc..
>
> now I try to make a map using my own stylesheet xml file.
>
> Nik2img throws following errror stops working. Could you please help me to
> find where the problem is...  proj package is installed on Debian and is
> latest version.
>
> ============================================
>
> Traceback (most recent call last):
> File "/usr/bin/nik2img.py", line 5, in <module>
> pkg_resources.run_script('nik2img==0.7.0', 'nik2img.py')
> File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 448, in
> run_scr
> ipt
> self.require(requires)[0].run_script(script_name, ns)
> File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1173, in
> run_sc
> ript
> exec script_code in namespace, namespace
> File "/usr/bin/nik2img.py", line 238, in <module>
>
> File "/usr/bin/nik2img.py", line 228, in main
>
> File "build/bdist.linux-x86_64/egg/mapnik_utils/composer.py", line 263, in
> __i
> nit__
> File "build/bdist.linux-x86_64/egg/mapnik_utils/composer.py", line 69, in
> __in
> it__
> File "build/bdist.linux-x86_64/egg/mapnik_utils/composer.py", line 280, in
> bui
> ld
> File "build/bdist.linux-x86_64/egg/mapnik_utils/composer.py", line 172, in
> bui
> ld
> File "build/bdist.linux-x86_64/egg/mapnik_utils/metaclass_injectors.py",
> line
> 218, in transform
> File "build/bdist.linux-x86_64/egg/mapnik_utils/version_adapter.py", line
> 66,
> in *_getattr_*
> AttributeError: 'module' object has no attribute 'ProjTransform'
>
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/tilecache
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20111116/a95dd241/attachment.html


More information about the Tilecache mailing list