Skip to content

fix: [bug description]AttributeError: can't set attributeAttributeError: can't set attribute" in cve-bin-tool/cve_bin_tool/output_engine /console.py #5792

Description

@jni2000

Description

Got "AttributeError: can't set attributeAttributeError: can't set attribute" in cve-bin-tool/cve_bin_tool/output_engine /console.py

def _output_console_nowrap()
......
line 153 if not product_data.product: product_data.product = "Unknown".
......

To reproduce

Expected behaviour:
Actual behaviour:

Version/platform info

Version of CVE-bin-tool( e.g. output of cve-bin-tool --version):
Installed from pypi or github?
Operating system: Linux/Windows (other platforms are unsupported but feel free to report issues anyhow)

  • On Linux (or Windows Subsystem for Linux) you can run uname -a
  • On Windows you can run systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
    Python version (e.g. python3 --version):
    Running in any particular CI environment we should know about? (e.g. Github Actions)

Anything else?

Looks like product_data is not a normal mutable object.

Activity

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