Skip to content

[Bug] IDA 9.1 fail on non-decompilable binary. #450

Description

@0xMirasio

Description

Hi!

On this code on compat.py (from libbs):

@execute_write
def get_decompiler_version() -> typing.Optional[Version]:
    wait_for_idc_initialization()
    try:
        _vers = ida_hexrays.get_hexrays_version()
    except Exception as e:
        _l.critical("Failed to get decompiler version: %s", e)
        return None

    try:
        vers = Version(_vers)
    except TypeError:
        return None

    return vers

return None in IDA 9.1.
Making this error in controllers : CRITICAL | 2025-08-26 17:59:51,526 | binsync.ui.config_dialog | Error connecting to specified repository: '<' not supported between instances of 'NoneType' and 'Version'!

the problem come from : _vers = ida_hexrays.get_hexrays_version() return None in ida 9.1... (yohoo Hexrays API update every 1day)

Steps to reproduce the bug

Run binsync in IDA 9.1+

Environment

binsync 5.7.8 /home/tpo/Bureau/binsync
libbs 2.16.2

Additional context

Do i need to create issue on libbs also?

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