Actions
Bug #7694
closedWhen showing timeline based on storage time restriction, only results with this storage time detected within last week are shown.
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.
Updated by Jakub Maloštik 4 months ago
- Status changed from New to In Progress
- Assignee set to Jakub Maloštik
Updated by Rajmund Hruška 3 months ago
- Status changed from In Progress to In Review
- Target version changed from Backlog to 2.13
Updated by Rajmund Hruška 3 months 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
Updated by Rajmund Hruška 3 months 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.
Updated by Rajmund Hruška 3 months ago
- Status changed from Resolved to In Review
Actions