Similar problem here, but I'm getting "generate_image_filters" instead
of "parse_image_filters" in the error message:
$ cat test.py
import mapnik
$ python test.py
Traceback (most recent call last):
File "test.py", line 4, in <module>
import mapnik
File "/usr/lib/python2.7/dist-packages/mapnik/__init__.py", line 74, in
<module>
from ._mapnik import *
ImportError: /usr/lib/python2.7/dist-packages/mapnik/_mapnik.i386-linux-gnu.so:
undefined symbol:
_ZN6mapnik6filter22generate_image_filtersERSt20back_insert_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEERKSt6vectorINS_4util7variantIJNS0_4blurENS0_4grayENS0_14agg_stack_blurENS0_6embossENS0_7sharpenENS0_11edge_detectENS0_5sobelENS0_10x_gradientENS0_10y_gradientENS0_6invertENS0_10scale_hslaENS0_14colorize_alphaENS0_14color_to_alphaEEEESaISQ_EE
$ c++filt
_ZN6mapnik6filter22generate_image_filtersERSt20back_insert_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEERKSt6vectorINS_4util7variantIJNS0_4blurENS0_4grayENS0_14agg_stack_blurENS0_6embossENS0_7sharpenENS0_11edge_detectENS0_5sobelENS0_10x_gradientENS0_10y_gradientENS0_6invertENS0_10scale_hslaENS0_14colorize_alphaENS0_14color_to_alphaEEEESaISQ_EE
mapnik::filter::generate_image_filters(std::back_insert_iterator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >&,
std::vector<mapnik::util::variant<mapnik::filter::blur, mapnik::filter::gray,
mapnik::filter::agg_stack_blur, mapnik::filter::emboss,
mapnik::filter::sharpen, mapnik::filter::edge_detect, mapnik::filter::sobel,
mapnik::filter::x_gradient, mapnik::filter::y_gradient, mapnik::filter::invert,
mapnik::filter::scale_hsla, mapnik::filter::colorize_alpha,
mapnik::filter::color_to_alpha>,
std::allocator<mapnik::util::variant<mapnik::filter::blur,
mapnik::filter::gray, mapnik::filter::agg_stack_blur, mapnik::filter::emboss,
mapnik::filter::sharpen, mapnik::filter::edge_detect, mapnik::filter::sobel,
mapnik::filter::x_gradient, mapnik::filter::y_gradient, mapnik::filter::invert,
mapnik::filter::scale_hsla, mapnik::filter::colorize_alpha,
mapnik::filter::color_to_alpha> > > const&)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1510495
Title:
ImportError while doing import mapnik in Python, in Ubuntu 15.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-mapnik/+bug/1510495/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs