Your message dated Sun, 19 Jul 2015 02:40:20 +0200
with message-id <55aaf1f4.9000...@xs4all.nl>
and subject line Python 2.5 no longer available
has caused the Debian Bug report #653037,
regarding python-mapnik: does not work with Python 2.5
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
653037: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653037
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-mapnik
Version: 0.7.1-3
Severity: normal


The Python 2.5 version of the Python mapnik library does not work at all:

robin@arrow:~$ python2.5 -c 'import mapnik'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.5/mapnik/__init__.py", line 522, in <module>
    register_plugins()
  File "/usr/lib/pymodules/python2.5/mapnik/__init__.py", line 512, in 
register_plugins
    DatasourceCache.instance().register_datasources(path)
Boost.Python.ArgumentError: Python argument types in
    DatasourceCache.register_datasources(str)
did not match C++ signature:
    register_datasources(std::string)


The reason for this appears to be that the Python 2.5 version of the mapnik 
package is
linked against the Python 2.6 version of libboost_python:

robin@arrow:~$ ldd /usr/lib/pyshared/python2.5/mapnik/_mapnik.so
    [...]
    libboost_python-py26.so.1.42.0 => /usr/lib/libboost_python-py26.so.1.42.0 
(0x00007f18dcd3f000)
    [...]


If this is manually overridden using LD_PRELOAD, the mapnik library then works 
with Python 2.5:

robin@arrow:~$ env LD_PRELOAD=/usr/lib/libboost_python-py25.so.1.42.0 python2.5 
-c 'import mapnik'


Robin

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (50, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-mapnik depends on:
ii  libboost-python1.42.0  1.42.0-4          Boost.Python Library
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libgcc1                1:4.4.5-8         GCC support library
ii  libjpeg62              6b1-1             The Independent JPEG Group's JPEG 
ii  libmapnik0.7           0.7.1-3           C++/Python toolkit for developing 
ii  libpng12-0             1.2.44-1+squeeze1 PNG library - runtime
ii  libstdc++6             4.4.5-8           The GNU Standard C++ Library v3
ii  python                 2.6.6-3+squeeze6  interactive high-level object-orie
ii  python-cairo           1.8.8-1+b1        Python bindings for the Cairo vect
ii  python-support         1.0.10            automated rebuilding support for P

python-mapnik recommends no packages.

python-mapnik suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Python 2.5 is no longer available in Debian, the python-mapnik package
is only built for Python 2.7.

--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to