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

NamespacedType object has no attribute value_type #71

Closed
wants to merge 1 commit into from

Conversation

artivis
Copy link
Contributor

@artivis artivis commented Jul 17, 2019

Edit:
WIP, test failing :s

This PR causes the following test failure,

=================================== FAILURES ===================================
______________________ test_set_nested_namespaced_fields _______________________
test/rosidl_runtime_py/test_set_message.py:104: in test_set_nested_namespaced_fields
    set_message_fields(unbounded_sequence_msg, test_values)
../../../../build/rosidl_runtime_py/rosidl_runtime_py/set_message.py:53: in set_message_fields
    field_elem_type = import_message_from_namespaced_type(rosidl_type)
../../../../build/rosidl_runtime_py/rosidl_runtime_py/import_message.py:23: in import_message_from_namespaced_type
    '.'.join(message_type.namespaces))
E   AttributeError: 'UnboundedSequence' object has no attribute 'namespaces'
===================== 1 failed, 17 passed in 2.16 seconds ======================

See #70 for more developments.

Original:
Fix #70.

Signed-off-by: artivis jeremie.deray@canonical.com

  Fix ros2#70.

Signed-off-by: artivis <jeremie.deray@canonical.com>
@artivis
Copy link
Contributor Author

artivis commented Jul 17, 2019

Closing, see #70 edit.

@artivis artivis closed this Jul 17, 2019
@artivis artivis deleted the fix/70 branch July 17, 2019 18:59
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

Successfully merging this pull request may close these issues.

Erroneous mypy specifications
1 participant