Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: #5

Closed
gllspeed opened this issue Nov 30, 2021 · 2 comments
Closed

error: #5

gllspeed opened this issue Nov 30, 2021 · 2 comments

Comments

@gllspeed
Copy link

error:

self._PropertyMap__map[k] = v Boost.Python.ArgumentError: Python argument types in EdgePropertyMap<double>.__setitem__(EdgePropertyMap<double>, tuple, numpy.float32) did not match C++ signature: __setitem__(graph_tool::PythonPropertyMap<boost::checked_vector_property_map<double, boost::adj_edge_index_property_map<unsigned long> > > {lvalue}, graph_tool::PythonEdge<boost::filt_graph<boost::undirected_adaptor<boost::adj_list<unsigned long> >, graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned char, boost::adj_edge_index_property_map<unsigned long> > >, graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned char, boost::typed_identity_property_map<unsigned long> > > > const>, double)
During handling of the above exception, another exception occurred:

self._PropertyMap__map[k] = self._PropertyMap__convert(v) Boost.Python.ArgumentError: Python argument types in EdgePropertyMap<double>.__setitem__(EdgePropertyMap<double>, tuple, float) did not match C++ signature: __setitem__(graph_tool::PythonPropertyMap<boost::checked_vector_property_map<double, boost::adj_edge_index_property_map<unsigned long> > > {lvalue}, graph_tool::PythonEdge<boost::filt_graph<boost::undirected_adaptor<boost::adj_list<unsigned long> >, graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned char, boost::adj_edge_index_property_map<unsigned long> > >, graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned char, boost::typed_identity_property_map<unsigned long> > > > const>, double)

@ihollywhy
Could you help me with this? thank you so much!
I'm not so sure if it's a 'version' problem again
but I do believe if I can have some information about the exact packages' version you used would be helpful
Thanks again

Originally posted by @scarletocean in #4 (comment)

@gllspeed
Copy link
Author

hi, scarletocean, Have you solved the problem yet? I have the same problem as you , help me.
my graph_tool version is 2.4.3.

@gllspeed
Copy link
Author

Hi, scarletocean , Could you please tell me the version of your graph tool. thankyou very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant