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. <div><br></div><div><br></div><div>
Have you checked the installation? </div><div><br></div><div><p style="line-height: 1.25em; max-width: 64em; font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Test Installation of command-line script:</p>
<pre class="prettyprint" style="font-size: 12px; padding-top: 0.5em; padding-right: 0.5em; padding-bottom: 0.5em; padding-left: 0.5em; overflow-x: auto; overflow-y: auto; font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; max-width: 70em; background-color: rgb(255, 255, 255); ">
<span class="pln">$ nik2img</span><span class="pun" style="color: rgb(102, 102, 0); ">.</span><span class="pln">py </span><span class="com" style="color: rgb(136, 0, 0); "># should be able to tab complete...</span><span class="pln"><br>
$ which nik2img</span><span class="pun" style="color: rgb(102, 102, 0); ">.</span><span class="pln">py </span><span class="com" style="color: rgb(136, 0, 0); "># should show install location</span><span class="pln"><br>$ nik2img</span><span class="pun" style="color: rgb(102, 102, 0); ">.</span><span class="pln">py </span><span class="pun" style="color: rgb(102, 102, 0); ">-</span><span class="pln">h </span><span class="com" style="color: rgb(136, 0, 0); "># should display usage</span></pre>
<pre class="prettyprint" style="font-size: 12px; padding-top: 0.5em; padding-right: 0.5em; padding-bottom: 0.5em; padding-left: 0.5em; overflow-x: auto; overflow-y: auto; font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; max-width: 70em; background-color: rgb(255, 255, 255); ">
<a href="http://code.google.com/p/mapnik-utils/wiki/Nik2Img">http://code.google.com/p/mapnik-utils/wiki/Nik2Img</a></pre><br><div class="gmail_quote">On Wed, Nov 16, 2011 at 3:00 PM, Alireza Kashian <span dir="ltr"><<a href="mailto:alireza.kashian@gmail.com">alireza.kashian@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Hi. <br><br>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.<br>
<br>I have installed mapnik 0.7.0 on fresh Debian with all other required packages. including python etc..<br>
<br>now I try to make a map using my own stylesheet xml file.<br><br>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.<br>
<br>============================================<br><br><div>Traceback (most recent call last):<br>File
"/usr/bin/nik2img.py", line 5, in
<module><br>pkg_resources.run_script('nik2img==0.7.0',
'nik2img.py')<br>File "/usr/lib/python2.5/site-packages/pkg_resources.py", line
448, in run_scr<br>ipt<br>self.require(requires)[0].run_script(script_name,
ns)<br>File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1173, in
run_sc<br>ript<br>exec script_code in namespace, namespace<br>File
"/usr/bin/nik2img.py", line 238, in <module><br><br>File
"/usr/bin/nik2img.py", line 228, in main<br><br>File
"build/bdist.linux-x86_64/egg/mapnik_utils/composer.py", line 263, in
__i<br>nit__<br>File "build/bdist.linux-x86_64/egg/mapnik_utils/composer.py",
line 69, in __in<br>it__<br>File
"build/bdist.linux-x86_64/egg/mapnik_utils/composer.py", line 280, in
bui<br>ld<br>File "build/bdist.linux-x86_64/egg/mapnik_utils/composer.py", line
172, in bui<br>ld<br>File
"build/bdist.linux-x86_64/egg/mapnik_utils/metaclass_injectors.py", line<br>218,
in transform<br>File
"build/bdist.linux-x86_64/egg/mapnik_utils/version_adapter.py", line 66,<br>in
<i>_getattr_</i><br>AttributeError: 'module' object has no attribute
'ProjTransform'</div><br></div>
<br>_______________________________________________<br>
Tilecache mailing list<br>
<a href="mailto:Tilecache@lists.osgeo.org">Tilecache@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/tilecache" target="_blank">http://lists.osgeo.org/mailman/listinfo/tilecache</a><br>
<br></blockquote></div><br></div>