An open-source XBRL processor for business rules, rendering and custom data reporting. See https://xbrl.us/xule for documentation and https://xbrl.us/xule-editor for a VS Code syntax highlighter.
Apache License 2.0
24
stars
10
forks
source link
AttributeError: object has no attribute 'semantic_hash_string' #30
The issue was initially reported in the Arelle users group. The semanticHash plugin attempts to access the undefined semantic_hash_string option, as seen here. It's important to note that getattr(x, y) functions the same as direct attribute access (x.y) and will raise an attribute error if a default value is not provided (getattr(x, y, None)).
<entry code="AttributeError" level="critical">
<message>2024-09-09 12:05:58,823 [AttributeError] [Exception] Failed to complete request:
'RuntimeOptions' object has no attribute 'semantic_hash_string'
[' File "D:\\a\\Arelle\\Arelle\\arelle\\CntlrCmdLine.py", line 1172, in run\n', ' File "C:\\Program Files\\Arelle\\plugin\\semanticHash.py", line 60, in semanticHashRun\n if getattr(options, "semantic_hash", False) or getattr(options, "semantic_hash_string") is not None:\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n'] -
</message>
</entry>
The issue was initially reported in the Arelle users group. The semanticHash plugin attempts to access the undefined
semantic_hash_string
option, as seen here. It's important to note thatgetattr(x, y)
functions the same as direct attribute access (x.y
) and will raise an attribute error if a default value is not provided (getattr(x, y, None)
).