Skip to content

AttributeError: 'Request' object has no attribute 'is_xhr' #19

@matt-bernstein

Description

@matt-bernstein

Got this error while trying to view or edit any image in the browser. The root cause is in flask - see discussion here.

The fix, as described in that thread, is to pin Werkzeug to an older version from before this function was deprecated. Add the following line to requirements.txt before installing:

werkzeug==0.16.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions