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

[Bug]: python 3.11 ros3 gallery tests failing #1764

Closed
3 tasks done
rly opened this issue Aug 19, 2023 · 1 comment
Closed
3 tasks done

[Bug]: python 3.11 ros3 gallery tests failing #1764

rly opened this issue Aug 19, 2023 · 1 comment

Comments

@rly
Copy link
Contributor

rly commented Aug 19, 2023

What happened?

See https://github.com/NeurodataWithoutBorders/pynwb/actions/runs/5907604795/job/16025806623

2023-08-18 22:28:10,019 - INFO - Executing /home/runner/work/pynwb/pynwb/docs/gallery/advanced_io/streaming.py
======================================================================
2023-08-18 22:28:11,095 - WARNING - A newer version (0.56.0) of dandi/dandi-cli is available. You are using 0.55.1
[1. 1. 1. ... 1. 1. 1.]
Traceback (most recent call last):
  File "/usr/share/miniconda/envs/ros3/lib/python3.11/site-packages/hdmf/build/objectmapper.py", line 1256, in construct
    obj = self.__new_container__(cls, builder.source, parent, builder.attributes.get(self.__spec.id_key()),
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/miniconda/envs/ros3/lib/python3.11/site-packages/hdmf/build/objectmapper.py", line 1269, in __new_container__
    obj.__init__(**kwargs)
  File "/usr/share/miniconda/envs/ros3/lib/python3.11/site-packages/hdmf/utils.py", line 644, in func_call
    return func(args[0], **pargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/pynwb/pynwb/src/pynwb/misc.py", line 174, in __init__
    super().__init__(**kwargs)
  File "/usr/share/miniconda/envs/ros3/lib/python3.11/site-packages/hdmf/utils.py", line [64](https://github.com/NeurodataWithoutBorders/pynwb/actions/runs/5907604795/job/16025806623#step:7:65)4, in func_call
    return func(args[0], **pargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/miniconda/envs/ros3/lib/python3.11/site-packages/hdmf/common/table.py", line 429, in __init__
    tmp.extend(indices[name])
               ~~~~~~~^^^^^^
KeyError: 'quality'

Steps to Reproduce

See tests

Traceback

No response

Operating System

Linux

Python Executable

Python

Python Version

3.11

Package Versions

No response

Code of Conduct

@rly
Copy link
Contributor Author

rly commented Aug 19, 2023

I re-ran the test and it passed. Might have been a weird streaming fluke.

@rly rly closed this as completed Aug 19, 2023
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