On May 5, 2011, at 5:11 AM, M∡rtin Koppenhoefer <[email protected]> wrote:
> Has there gone something wrong if I get this test result after
> building mapnik2 from trunk?
> ======================================================================
> ERROR:
> python_tests.load_map_test.test_good_files('../data/good_maps/osm_nodes_ways.xml',)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.7/nose/case.py", line 186, in runTest
> self.test(*self.arg)
> File "/home/mortn/src/mapnik2/tests/python_tests/load_map_test.py",
> line 19, in assert_loads_successfully
> mapnik2.load_map(m, file, strict)
> RuntimeError: Could not create datasource. No plugin found for type
> 'osm' (searched in: /usr/local/lib/mapnik2/input) (encountered during
> parsing of layer 'red' in map '../data/good_maps/osm_nodes_ways.xml')
>
It just indicates that you have not built the optional osm plugin, and not a
problem.
> ----------------------------------------------------------------------
> Ran 126 tests in 4.846s
>
> FAILED (TODO=6, errors=1)
>
>
> Or is this a known issue?
>
> I also wonder if mapnik2 can be built with libgdal 1.7?
Yes, it should work fine.
> I downgraded
> (ubuntu 11.04) to gdal1.6 because otherwise I would not have had gdal
> support (but maybe I was just too stupid and should have used some
> additional scons parameters?).
Impossible to know unless you tell us the error you hit.
> _______________________________________________
> 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