Skip to content

AttributeError: 'tree_sitter.Query' object has no attribute 'captures' #281

@Dayton-IX

Description

@Dayton-IX

I'm getting the error: AttributeError: 'tree_sitter.Query' object has no attribute 'captures' when trying to run posting after a fresh install. Did some searching and is possibly due to the tree-sitter project moving Query.captures to QueryCursor.captures in tree-sitter/py-tree-sitter#333

Possibly just need to bump tree-sitter from 0.24.0 to 0.25.0? I would do this but honestly idk how to with a python project.

Thanks.

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