Skip to content

Failed to run examples and tests #70

@ShootingKing-AM

Description

@ShootingKing-AM
SK@SK-Desktop MINGW64 /d/Users/Documents/GitHub/aw-client (master)
$ D:/Users/user/AppData/Local/Programs/Python/Python310/python.exe d:/Users/Documents/GitHub/aw-client/examples/working_hours.py
Querying events...
  Day offset: 4:00:00

500 Server Error: Internal Server Error for url: http://127.0.0.1:5600/api/0/query/
Error message received: {'message': 'ParsingError("(None, \\"expected `Bool`, `Ident`, `LBrace`, `LBracket`, `LParen`, `Number`, or `String`\\")")'}
Traceback (most recent call last):
  File "d:\Users\Documents\GitHub\aw-client\examples\working_hours.py", line 137, in <module>
    query()
  File "d:\Users\Documents\GitHub\aw-client\examples\working_hours.py", line 90, in query
    res = aw.query(query, timeperiods)
  File "D:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\aw_client\client.py", line 339, in query
    response = self._post(endpoint, data, params=params)
  File "D:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\aw_client\client.py", line 55, in g
    raise e
  File "D:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\aw_client\client.py", line 52, in g
    r.raise_for_status()
  File "D:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 960, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://127.0.0.1:5600/api/0/query/
SK@SK-Desktop MINGW64 /d/Users/Documents/GitHub/aw-client (master)
$ make test
python -c "import aw_client"
pytest -s -vv tests/test_requestqueue.py
process_begin: CreateProcess(NULL, pytest -s -vv tests/test_requestqueue.py, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [test] Error 2

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