Skip to content

faced many erros while extracting #17

Description

@njalan

I am using trino 406 and faced below errors while doing extract and I am using python 3.8.
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 28/28 [00:00<00:00, 11342.53files/s]
[2023-07-08 12:47:15.354243] INFO: analyze: 28 queries loaded
0%| | 0/28 [00:00<?, ?graphs/s][2023-07-08 12:47:15.685055] ERROR: analyze: failed to generate scheduled_by_date
Traceback (most recent call last):
File "./analyze.py", line 1254, in main
item["doc"]["roots"]["references"].sort(key=lambda r: (r["type"], r["id"]))
TypeError: list indices must be integers or slices, not str
4%|████▉ | 1/28 [00:00<00:08, 3.04graphs/s][2023-07-08 12:47:15.791569] ERROR: analyze: failed to generate scheduled_by_hour
Traceback (most recent call last):
File "./analyze.py", line 1254, in main
item["doc"]["roots"]["references"].sort(key=lambda r: (r["type"], r["id"]))
TypeError: list indices must be integers or slices, not str
7%|█████████▊ | 2/28 [00:00<00:05, 5.05graphs/s][2023-07-08 12:47:15.887112] ERROR: analyze: failed to generate input_by_date
Traceback (most recent call last):
File "./analyze.py", line 1254, in main
item["doc"]["roots"]["references"].sort(key=lambda r: (r["type"], r["id"]))
TypeError: list indices must be integers or slices, not str
[2023-07-08 12:47:15.976779] ERROR: analyze: failed to generate input_by_hour
Traceback (most recent call last):
File "./analyze.py", line 1254, in main
item["doc"]["roots"]["references"].sort(key=lambda r: (r["type"], r["id"]))
TypeError: list indices must be integers or slices, not str
14%|███████████████████▋ | 4/28 [00:00<00:03, 7.58graphs/s][2023-07-08 12:47:16.111376] ERROR: analyze: failed to generate queries_by_date
Traceback (most recent call last):
File "./analyze.py", line 1254, in main
item["doc"]["roots"]["references"].sort(key=lambda r: (r["type"], r["id"]))
TypeError: list indices must be integers or slices, not str
18%|████████████████████████▋ | 5/28 [00:00<00:03, 7.53graphs/s][2023-07-08 12:47:16.222095] ERROR: analyze: failed to generate queries_by_hour
Traceback (most recent call last):
File "./analyze.py", line 1254, in main
item["doc"]["roots"]["references"].sort(key=lambda r: (r["type"], r["id"]))
TypeError: list indices must be integers or slices, not str
21%|█████████████████████████████▌ | 6/28 [00:00<00:02, 7.94graphs/s][2023-07-08 12:47:16.341786] ERROR: analyze: failed to generate peak_mem_by_query

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions