Project

General

Profile

Actions

Bug #7694

closed

When showing timeline based on storage time restriction, only results with this storage time detected within last week are shown.

Added by Jakub Maloštik 8 months ago. Updated about 1 month ago.

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

0%

Estimated time:
To be discussed:
No

Description

When detect time is not present, its values for the timeline view default to showing last week. This might mean that no results are found even though there are some events shown in the event view.

Actions #1

Updated by Jakub Maloštik 2 months ago

  • Status changed from New to In Progress
  • Assignee set to Jakub Maloštik
Actions #2

Updated by Rajmund Hruška about 1 month ago

  • Status changed from In Progress to In Review
  • Target version changed from Backlog to 2.13
Actions #3

Updated by Rajmund Hruška about 1 month ago

  • Status changed from In Review to Feedback

Jakub Maloštik, now we get this error when running mentat-statistician.py --regular:

Traceback (most recent call last):
  File "/var/mentat/venv/bin/mentat-statistician.py", line 44, in <module>
    from mentat.module.statistician import MentatStatisticianScript
  File "/var/mentat/venv/lib/python3.7/site-packages/mentat/module/statistician.py", line 57, in <module>
    import mentat.script.fetcher
  File "/var/mentat/venv/lib/python3.7/site-packages/mentat/script/fetcher.py", line 30, in <module>
    import mentat.plugin.app.eventstorage
  File "/var/mentat/venv/lib/python3.7/site-packages/mentat/plugin/app/eventstorage.py", line 47, in <module>
    import mentat.services.eventstorage
  File "/var/mentat/venv/lib/python3.7/site-packages/mentat/services/eventstorage.py", line 53, in <module>
    from mentat.stats.idea import KEY_UNKNOWN, ST_SKEY_REST, ST_SKEY_TLCFG, TimeBoundType
  File "/var/mentat/venv/lib/python3.7/site-packages/mentat/stats/idea.py", line 1020, in <module>
    class TimelineCFG:
  File "/var/mentat/venv/lib/python3.7/site-packages/mentat/stats/idea.py", line 1058, in TimelineCFG
    def to_dict(self) -> dict[str, Union[datetime.datetime, datetime.timedelta, int]]:
TypeError: 'type' object is not subscriptable
Actions #4

Updated by Rajmund Hruška about 1 month ago

Well, it's actually a problem for a lot of modules: reporter, watchdog and even web are not working because of the same error. It seems it's a problem of python 3.7, as I don't see this problem in Vagrant, where python 3.11 is used.

Actions #5

Updated by Jakub Maloštik about 1 month ago

  • Status changed from Feedback to Resolved
Actions #6

Updated by Rajmund Hruška about 1 month ago

  • Status changed from Resolved to In Review
Actions #7

Updated by Rajmund Hruška about 1 month ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF