You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspecting a Chapter 10 file for just messages of type 0x30 errors out attempting to access a non-existent date_format attribute of the inspect object.
% pdm run c10 inspect path/to/file.c10 -t 0x30
-----------------------------------------------------------------------------------------------
| Channel | Type | Sequence | Size | Time | Valid | Offset |
-----------------------------------------------------------------------------------------------
'Inspect' object has no attribute 'date_format' at 0
'Inspect' object has no attribute 'date_format' at 336
... [snip] ...
I've worked around it by modifying that line to use getattr(..) to access the attribute (but wasn't quite confident if that was the fix or if it should just be initialized in __init__).
Reproduceable with Python 3.9 and 3.10.
The text was updated successfully, but these errors were encountered:
Inspecting a Chapter 10 file for just messages of type 0x30 errors out attempting to access a non-existent
date_format
attribute of the inspect object.Appears to be an issue with the following line:
c10-tools/c10_tools/inspect.py
Line 75 in c49dd02
I've worked around it by modifying that line to use
getattr(..)
to access the attribute (but wasn't quite confident if that was the fix or if it should just be initialized in__init__
).Reproduceable with Python 3.9 and 3.10.
The text was updated successfully, but these errors were encountered: