Project

General

Profile

Actions

Bug #7695

closed

Timeline error when searching for all events up to a certain date

Added by Rajmund Hruška almost 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
Development - Core
Target version:
Start date:
11/24/2023
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

Message type: ERROR
Location:     /var/mentat/venv/lib/python3.7/site-packages/hawat/base.py:203
Module:       base
Function:     log_exception
Time:         2023-11-24 11:02:09,835

Message:

Exception on /events/dashboard?dt_from=&dt_to=2023-11-23+15%3A00%3A00&submit=Search [GET]
Traceback (most recent call last):
  File "/var/mentat/venv/lib/python3.7/site-packages/flask/app.py", line 2529, in wsgi_app
    response = self.full_dispatch_request()
  File "/var/mentat/venv/lib/python3.7/site-packages/flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/var/mentat/venv/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
  File "/var/mentat/venv/lib/python3.7/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.7/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.7/site-packages/flask/views.py", line 107, in view
    return current_app.ensure_sync(self.dispatch_request)(**kwargs)
  File "/var/mentat/venv/lib/python3.7/site-packages/hawat/view/__init__.py", line 933, in dispatch_request
    self.do_after_search(items)
  File "/var/mentat/venv/lib/python3.7/site-packages/hawat/blueprints/events/__init__.py", line 353, in do_after_search
    timezone=pytz.timezone(flask.session.get('timezone', 'UTC'))
  File "/var/mentat/venv/lib/python3.7/site-packages/mentat/stats/idea.py", line 643, in aggregate_timeline_groups
    tl_key_idx
ValueError: Statistical record with start time 2014-12-18 11:16:49 does not fit into timeline with start time 2014-12-18 11:10:00 (-1)


Related issues

Related to Mentat - Bug #7697: Event dashboard issuesClosedJakub Maloštik11/29/2023

Actions
Actions #1

Updated by Jakub Maloštik 12 months ago

  • Related to Bug #7697: Event dashboard issues added
Actions #2

Updated by Jakub Maloštik 12 months ago

  • Assignee set to Jakub Maloštik
Actions #3

Updated by Rajmund Hruška 9 months ago

  • Status changed from New to In Review
  • Target version changed from Backlog to 2.12
Actions #4

Updated by Rajmund Hruška 8 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF