-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Ran into a "Picked an invalid source context".
I've only seen this once thus far. On python 3.12.0
with StackPrinter 0.2.12
.
Stackprinter failed while formatting <FrameInfo xyz.py, line 2249, scope main>:
File "venv312/lib/python3.12/site-packages/stackprinter/frame_formatting.py", line 225, in select_scope
raise Exception("Picked an invalid source context: %s" % info)
Exception: Picked an invalid source context: [2249], [2233], dict_keys([2233, 2234, 2235, 2236, 2237, 2238, 2239])
So here is your original traceback at least:
Traceback (most recent call last):
...
KeyError: 0
Metadata
Metadata
Assignees
Labels
No labels