You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running inspect_all throws a pickle error using the latest environment for the GUIDE.
Traceback
Traceback (most recent call last):
File "/Users/garrettflynn/Documents/Github/nwb-guide/pyflask/apis/neuroconv.py", line 211, in post
return inspect_multiple_filesystem_objects(paths)
File "/Users/garrettflynn/Documents/Github/nwb-guide/pyflask/manageNeuroconv/manage_neuroconv.py", line 613, in inspect_multiple_filesystem_objects
result = inspect_nwb_folder({"path": tmp_folder_path})
File "/Users/garrettflynn/Documents/Github/nwb-guide/pyflask/manageNeuroconv/manage_neuroconv.py", line 577, in inspect_nwb_folder
messages = list(
File "/opt/anaconda3/envs/nwb-guide/lib/python3.9/site-packages/nwbinspector/nwbinspector.py", line 445, in inspect_all
for message in future.result():
File "/opt/anaconda3/envs/nwb-guide/lib/python3.9/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/opt/anaconda3/envs/nwb-guide/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
File "/opt/anaconda3/envs/nwb-guide/lib/python3.9/multiprocessing/queues.py", line 244, in _feed
obj = _ForkingPickler.dumps(obj)
File "/opt/anaconda3/envs/nwb-guide/lib/python3.9/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
_pickle.PicklingError: Can't pickle <function auto_parse_some_output at 0x163072af0>: attribute lookup auto_parse_some_output on nwbinspector.register_checks failed
Have you ensured this bug was not already reported?
To the best of your ability, have you ensured this is a bug within the code that checks the NWBFile, rather than a bug in the NWBFile reader (e.g., PyNWB or MatNWB)?
The text was updated successfully, but these errors were encountered:
Can confirm this happens in my app as well, but the same usage via CLI on the same folder does not cause the same issue; will try direct API calls next
@garrettmflynn Does the standalone Inspector page do any of the usual symlink magic under the hood, or is it literally a direct call to the API endpoint with the target folder as the input?
What happened?
Running inspect_all throws a pickle error using the latest environment for the GUIDE.
Traceback
Operating System
macOS
Python Version
3.10
Were you streaming with ROS3?
No
Package Versions
environment_for_issue.txt
Code of Conduct
The text was updated successfully, but these errors were encountered: