Skip to content

QueryParseException when semicolon in expression #145

@ErikBjare

Description

@ErikBjare

Trying to run a query with the following line:

events = categorize(events, [[["AW GitHub"], {"type": "regex", "regex": "github.com/ActivityWatch;AW"}]]);

Gives:

2023-08-10 12:06:24 [WARNING] 400 Client Error: BAD REQUEST for url: http://127.0.0.1:5600/api/0/query/
2023-08-10 12:06:24 [WARNING] Error message received: {'type': 'QueryParseException', 'message': 'Invalid syntax for value to assign'}

This is probably due to the ; in one of the rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions