Arelle / Arelle

Arelle open source XBRL platform
https://arelle.org
Other
63 stars 290 forks source link

Arelle 1.2022.03.22 fails to open any iXBRL Taxonomy Packages #168

Closed sachakaelin closed 2 years ago

sachakaelin commented 2 years ago

Dear all,

The latest version of arelle (2022-03-22) seems to fail opening any iXBRL Taxonomy packages. grafik

I tried with ESEF conformance suite 2021 test G2-1-2 (but to me it seems to affect any package).

Message from Arelle is

[AttributeError] Unrecoverable error: 'list' object has no attribute 'endswith', abc-2019-12-31.xhtml - abc-2019-12-31.xhtml 
Traceback (most recent call last):
  File "Z:\Users\arelle\hfdev\arelle\ModelDocument.py", line 145, in load
  File "C:\Program Files\Arelle\plugin\validate\ESEF\__init__.py", line 106, in modelXbrlBeforeLoading
    if (modelXbrl.fileSource.selection.endswith(".xml") and
AttributeError: 'list' object has no attribute 'endswith'
[ESEF.3.1.3.missingOrInvalidTaxonomyPackage] RTS Annex III Par 3 and ESEF 3.1.3 requires an XBRL Report Package but one could not be loaded. - 
[ESEF.RTS.Art.6.a.noInlineXbrlTags] RTS on ESEF requires inline XBRL, no facts were reported. - 
not successfully loaded in 0.00 secs

Can sombody confirm this issue?

Thanks and best regards, Sacha

derekgengenbacher-wf commented 2 years ago

Hi @sachakaelin. I am reproducing the error as well. We are taking a look.

derekgengenbacher-wf commented 2 years ago

This PR addresses the issue.

derekgengenbacher-wf commented 2 years ago

Once we have this merged we will update the builds.

derekgengenbacher-wf commented 2 years ago

A new build has been released.

derekgengenbacher-wf commented 2 years ago

Thanks for pointing this out @sachakaelin

sachakaelin commented 2 years ago

@derekgengenbacher-wf appreciate your swift response – working as expected.