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