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

AttributeError: 'MetadataConsumer' object has no attribute '_id' #111

Open
mundher opened this issue Feb 3, 2020 · 2 comments
Open

AttributeError: 'MetadataConsumer' object has no attribute '_id' #111

mundher opened this issue Feb 3, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@mundher
Copy link

mundher commented Feb 3, 2020

I got the following error when I tried to run simple_example1.py

2020-02-03 14:31:12,313 - videoflow.core - INFO - Allocated processes for 6 tasks 2020-02-03 14:31:12,313 - videoflow.core - INFO - Started running flow. Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\Inference\Anaconda3\lib\multiprocessing\spawn.py", line 105, in spawn_main exitcode = _main(fd) File "C:\Users\Inference\Anaconda3\lib\multiprocessing\spawn.py", line 115, in _main self = reduction.pickle.load(from_parent) File "C:\Users\Inference\Anaconda3\lib\site-packages\videoflow\core\node.py", line 47, in __hash__ return self._id AttributeError: 'MetadataConsumer' object has no attribute '_id' Traceback (most recent call last): File "<string>", line 1, in <module> Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\Inference\Anaconda3\lib\multiprocessing\spawn.py", line 105, in spawn_main File "C:\Users\Inference\Anaconda3\lib\multiprocessing\spawn.py", line 105, in spawn_main exitcode = _main(fd) File "C:\Users\Inference\Anaconda3\lib\multiprocessing\spawn.py", line 115, in _main exitcode = _main(fd) File "C:\Users\Inference\Anaconda3\lib\multiprocessing\spawn.py", line 115, in _main self = reduction.pickle.load(from_parent) File "C:\Users\Inference\Anaconda3\lib\site-packages\videoflow\core\node.py", line 47, in __hash__ self = reduction.pickle.load(from_parent) return self._id File "C:\Users\Inference\Anaconda3\lib\site-packages\videoflow\core\node.py", line 47, in __hash__ AttributeError: 'MetadataConsumer' object has no attribute '_id' return self._id AttributeError: 'JoinerProcessor' object has no attribute '_id' Traceback (most recent call last): File "<string>", line 1, in <module> Traceback (most recent call last): File "C:\Users\Inference\Anaconda3\lib\multiprocessing\spawn.py", line 105, in spawn_main File "<string>", line 1, in <module> exitcode = _main(fd) File "C:\Users\Inference\Anaconda3\lib\multiprocessing\spawn.py", line 105, in spawn_main File "C:\Users\Inference\Anaconda3\lib\multiprocessing\spawn.py", line 115, in _main exitcode = _main(fd) self = reduction.pickle.load(from_parent) File "C:\Users\Inference\Anaconda3\lib\multiprocessing\spawn.py", line 115, in _main File "C:\Users\Inference\Anaconda3\lib\site-packages\videoflow\core\node.py", line 47, in __hash__ self = reduction.pickle.load(from_parent) return self._id File "C:\Users\Inference\Anaconda3\lib\site-packages\videoflow\core\node.py", line 47, in __hash__ AttributeError: 'CommandlineConsumer' object has no attribute '_id' return self._id AttributeError: 'MetadataConsumer' object has no attribute '_id' 2020-02-03 14:31:24,851 - videoflow.core - INFO - Flow has stopped.

OS: Windows 10
Python: 3.7.4
Videoflow: 0.2.8

@jadielam
Copy link
Collaborator

jadielam commented Feb 3, 2020 via email

@jadielam jadielam added the bug Something isn't working label Feb 3, 2020
@mundher mundher closed this as completed Feb 4, 2020
@mundher mundher reopened this Feb 4, 2020
@kgwebsites
Copy link

This issue happens on my silicon chip mac as well.

I also get the same error for VideofileWriter and BoundingBoxAnnotator :

2023-07-21 12:19:51,656 - videoflow.core - INFO - Started running flow.
Traceback (most recent call last):
File "", line 1, in
File "/opt/homebrew/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/opt/homebrew/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "/opt/homebrew/lib/python3.9/site-packages/videoflow/core/node.py", line 47, in hash
return self._id
AttributeError: 'MetadataConsumer' object has no attribute '_id'
Traceback (most recent call last):
File "", line 1, in
File "/opt/homebrew/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/opt/homebrew/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "/opt/homebrew/lib/python3.9/site-packages/videoflow/core/node.py", line 47, in hash
return self._id
AttributeError: 'MetadataConsumer' object has no attribute '_id'
Traceback (most recent call last):
File "", line 1, in
File "/opt/homebrew/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/opt/homebrew/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "/opt/homebrew/lib/python3.9/site-packages/videoflow/core/node.py", line 47, in hash
return self._id
AttributeError: 'BoundingBoxAnnotator' object has no attribute '_id'
Traceback (most recent call last):
File "", line 1, in
File "/opt/homebrew/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/opt/homebrew/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "/opt/homebrew/lib/python3.9/site-packages/videoflow/core/node.py", line 47, in hash
return self._id
AttributeError: 'MetadataConsumer' object has no attribute '_id'
Traceback (most recent call last):
File "", line 1, in
File "/opt/homebrew/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/opt/homebrew/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "/opt/homebrew/lib/python3.9/site-packages/videoflow/core/node.py", line 47, in hash
return self._id
AttributeError: 'VideofileWriter' object has no attribute '_id'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants