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: 'Call' object has no attribute 'id' #7390

Closed
KumoLiu opened this issue Jan 16, 2024 · 1 comment
Closed

AttributeError: 'Call' object has no attribute 'id' #7390

KumoLiu opened this issue Jan 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@KumoLiu
Copy link
Contributor

KumoLiu commented Jan 16, 2024

[2024-01-16T07:31:18.131Z] Traceback (most recent call last):
[2024-01-16T07:31:18.131Z]   File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
[2024-01-16T07:31:18.131Z]     return _run_code(code, main_globals, None,
[2024-01-16T07:31:18.131Z]   File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
[2024-01-16T07:31:18.131Z]     exec(code, run_globals)
[2024-01-16T07:31:18.131Z]   File "/usr/local/lib/python3.8/dist-packages/flake8/__main__.py", line 7, in <module>
[2024-01-16T07:31:18.131Z]     raise SystemExit(main())
[2024-01-16T07:31:18.131Z]   File "/usr/local/lib/python3.8/dist-packages/flake8/main/cli.py", line 23, in main
[2024-01-16T07:31:18.131Z]     app.run(argv)
[2024-01-16T07:31:18.131Z]   File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 198, in run
[2024-01-16T07:31:18.131Z]     self._run(argv)
[2024-01-16T07:31:18.131Z]   File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 187, in _run
[2024-01-16T07:31:18.131Z]     self.run_checks()
[2024-01-16T07:31:18.131Z]   File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 103, in run_checks
[2024-01-16T07:31:18.131Z]     self.file_checker_manager.run()
[2024-01-16T07:31:18.131Z]   File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 236, in run
[2024-01-16T07:31:18.131Z]     self.run_parallel()
[2024-01-16T07:31:18.131Z]   File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 205, in run_parallel
[2024-01-16T07:31:18.131Z]     self.results = list(pool.imap_unordered(_mp_run, self.filenames))
[2024-01-16T07:31:18.131Z]   File "/usr/lib/python3.8/multiprocessing/pool.py", line 868, in next
[2024-01-16T07:31:18.131Z]     raise value
[2024-01-16T07:31:18.131Z] AttributeError: 'Call' object has no attribute 'id'
@KumoLiu KumoLiu added the bug Something isn't working label Jan 16, 2024
@KumoLiu
Copy link
Contributor Author

KumoLiu commented Jan 16, 2024

It appears to be a bug introduced by the latest version from flake8-bugbear. Will pin the pin version as a temporary workaround.
PyCQA/flake8-bugbear#449
https://pypi.org/project/flake8-bugbear/16.4.0/#history

KumoLiu added a commit to KumoLiu/MONAI that referenced this issue Jan 16, 2024
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
@KumoLiu KumoLiu closed this as completed Jan 16, 2024
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

1 participant