[Mapnik-users] shapefile-plugin isn't working
Dane Springmeyer
blake at hailmail.net
Wed Dec 30 00:31:27 CET 2009
Tobias,
Could you explain a bit more? By two directories do you mean two 0.7
branch directories in svn? There should only be one that I created
when I branched from trunk a few weeks ago. If you mean two different
local checkouts then why don't you just ditch one and do a fresh
install?
The error you are getting usually results from two different Mapnik
versions being installed, say the apt-get package that uses a version
prefix for the installed plugin directory and a source installed
version. Doing a full scons -c (clean) and reinstall usually fixes the
problem (and of course uninstalling the packaged version) by ensuring
that the python bindings are installed correctly which know the proper
location to register the plugins ( see the __init__. py file and the
'paths.py' file for the paths - determined at install time) that are
used to register the plugins. Long sentence sorry- too much holiday
beer:)
The installed shapefile plugin is a dynamic library called
'shape.input', so if the above discussion does not help resolve your
problem then finding all instances of that file on your system and
sending an email back to the list would be helpful.
Dane
--- \o/ ---
Sent from my phone
On Dec 29, 2009, at 8:06 AM, Tobias Wendorff <tobias.wendorff at uni-dortmund.de
> wrote:
> Hi there
>
> some days ago, there were two 0.7 directories: one worked, one didn't.
>
> Right now, it's impossible to get it working with shapefiles!
> "branches/0.7/plugins/input/shape/" exists, but many of us
> get this error:
>
> Could not create datasource. No plugin found for type 'shape'
> (encountered during parsing of layer 'world').
>
> I used the "other" 0.7 directory and it worked. But this one
> got removed now.
>
> Best regards,
> Tobias
> _______________________________________________
> Mapnik-users mailing list
> Mapnik-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/mapnik-users
More information about the Mapnik-users
mailing list