Skip to content

TypeError: '<' not supported between instances of 'int' and 'bytes' #10

@psimatis

Description

@psimatis

Hello

I get the following error trying to insert to the B+Tree:
TypeError: '<' not supported between instances of 'int' and 'bytes'

The command is the following:
tree.insert(bytes(enVal, encoding='utf8'), bytes(val,encoding='utf8'))

enVal and val are strings.

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions