runtime_options = RuntimeOptions(
entrypointFile=file_path, #My xbrl file from NSE Website
validate=False,
logFile='logToBuffer', # Capture logs in memory.
logFormat="[%(messageCode)s] %(message)s",
disablePersistentConfig=True
)
try:
with Session() as session:
session.run(runtime_options)
models = session.get_models()
model_xbrl = models[0] # Get the primary loaded model
Error: Arelle session did not produce a model for /Users/xxxhome/filings/3MINDIA/Integrated Filings/INTEGRATED_FILING_INDAS_1455634_28052025092643_WEB.xml. Check logs for errors.
No data could be parsed from the file. Exiting.