Skip to content
This repository

Tests in demo/test don't work #1460

herm opened this Issue · 4 comments

4 participants

Hermann Kraus Colin Rundel Dane Springmeyer Sandro Santilli
Hermann Kraus

Traceback (most recent call last):
File "", line 47, in <module>
text_symbolizer = TextSymbolizer('NAME', 'DejaVu Sans Book', 10, Color('black'))
Boost.Python.ArgumentError: Python argument types in
TextSymbolizer.__init__(TextSymbolizer, str, str, int, Color)
did not match C++ signature:
__init__(_object*, boost::shared_ptr<boost::variant<mapnik::value_adl_barrier::value, mapnik::attribute, mapnik::geometry_type_attribute, boost::recursive_wrapper<mapnik::unary_node<mapnik::tags::negate> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::plus> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::minus> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::mult> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::div> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::mod> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::less> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::less_equal> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::greater> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::greater_equal> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::equal_to> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::not_equal_to> >, boost::recursive_wrapper<mapnik::unary_node<mapnik::tags::logical_not> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::logical_and> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::logical_or> >, boost::recursive_wrapper<mapnik::regex_match_node>, boost::recursive_wrapper<mapnik::regex_replace_node> > >, std::string, unsigned int, mapnik::color)

The same thing happens for all other tests. They seem to be terribly outdated.

Colin Rundel

I saw similar errors when I was playing with the constness of the contents of expression_ptr and path_expression_ptr (See bd5df80). Comments in #1450 have an example of the error I was seeing when running make test.

Dane Springmeyer

yes, I think they were originally written by a developer who was an earlier contributor, but not longer is around. Was pretty easy to update in 28063e2. I'll leave open until I can convert them into the structure for the main tests.

Sandro Santilli

should this be postponed to 2.2.0 ?

Dane Springmeyer

yep, assigned to 2.2, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.