Skip to content

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

Closed

Description

@KumoLiu
[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'

Activity

  1. KumoLiu commented on Jan 16, 2024

    @KumoLiu
    ContributorAuthor

    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

  2. added a commit that references this issue on Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions