Project

General

Profile

Actions

Bug #7755

closed

Error when searching in events dashboard

Added by Rajmund Hruška 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Development - Core
Target version:
Start date:
07/01/2024
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

Message type: CRITICAL
Location:     /var/mentat/venv/lib/python3.11/site-packages/hawat/base.py:203
Module:       base
Function:     eh_internal_server_error
Time:         2024-07-01 13:03:27,835

Message:

INTERNAL SERVER ERROR

Request: /events/dashboard?dt_from=2024-03-24+14%3A00%3A00&dt_to=2024-07-01+14%3A00%3A00&submit=Hledat
Traceback:
Traceback (most recent call last):
  File "/var/mentat/venv/lib/python3.11/site-packages/flask/app.py", line 2529, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/mentat/venv/lib/python3.11/site-packages/flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/mentat/venv/lib/python3.11/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/mentat/venv/lib/python3.11/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/mentat/venv/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view
    return current_app.ensure_sync(func)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/mentat/venv/lib/python3.11/site-packages/flask/views.py", line 107, in view
    return current_app.ensure_sync(self.dispatch_request)(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/mentat/venv/lib/python3.11/site-packages/hawat/view/__init__.py", line 959, in dispatch_request
    self.do_after_search(items)
  File "/var/mentat/venv/lib/python3.11/site-packages/hawat/blueprints/events/__init__.py", line 553, in do_after_search
    statistics=mentat.stats.idea.aggregate_timeline_groups(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/mentat/venv/lib/python3.11/site-packages/mentat/stats/idea.py", line 681, in aggregate_timeline_groups
    raise ValueError(
ValueError: Statistical record with start time 2024-03-24 13:00:00 does not fit into timeline with start time 2024-03-24 23:00:00 (-1)

Actions

Also available in: Atom PDF