[Live-demo] Does your application work on the click2try GISVM?

Dane Springmeyer blake at hailmail.net
Tue Oct 13 14:55:39 PDT 2009


On Oct 13, 2009, at 2:23 PM, Dane Springmeyer wrote:

>
> On Oct 13, 2009, at 1:11 PM, Cameron Shorter wrote:
>
>>>
>>> ----------------------------------------------------------------------
>>> Pending issues:
>>> ----------------------------------------------------------------------
>>>
>>> Issue1:
>>> Launching /usr/bin/mapnik_start_tilelite.sh
>>> [TileLite Debug] --> Using mapfile:
>>> '/usr/local/share/mapnik/demo/population.xml'
>>> Traceback (most recent call last):
>>> File "/usr/local/bin/liteserv.py", line 120, in <module>
>>>   from tilelite import Server
>>> File "/usr/local/lib/python2.6/dist-packages/tilelite.py", line  
>>> 12, in
>>> <module>
>>>   import mapnik
>>> ImportError: No module named mapnik
>
> Sorry I was not aware of this one previously...
>
> Logging into the 'osgeo-gisvm20-25' machine now to take a closer  
> look...
>

The problem is that only  'python-mapnik 0.5.1-3ubuntu2.0' is  
available via apt on the click2try machine.

This is different from the livedemo iso which installs  
'0.5.1-3ubuntu2.1' (which includes python2.6 support and is needed for  
the demos to work)

I tracked this down to the fact that the click2try machine does not  
have this line:

deb <url> jaunty-updates main restricted universe # key here is  
'jaunty-updates'

in '/etc/apt/sources.list'

Can this be added?

Then an apt-get update/upgrade would be needed...

Dane



More information about the Osgeolive mailing list