XBRL Package Manager error

25 views
Skip to first unread message

Francisco Lelewell

unread,
Jun 25, 2026, 12:01:20 PM (6 days ago) Jun 25
to Arelle-users
Hello,

I'm trying to load a official package from Banco de Portugal, and it doenst work, returning the following error:
  File "C:\hostedtoolcache\windows\Python\3.14.2\x64\Lib\site-packages\freeze_core\initscripts\__startup__.py", line 137, in run
  File "C:\hostedtoolcache\windows\Python\3.14.2\x64\Lib\site-packages\freeze_core\initscripts\console.py", line 27, in run
  File "arelleCmdLine.py", line 40, in <module>
  File "D:\a\Arelle\Arelle\arelle\CntlrCmdLine.py", line 88, in main
  File "D:\a\Arelle\Arelle\arelle\CntlrCmdLine.py", line 103, in _parseAndRun
  File "D:\a\Arelle\Arelle\arelle\CntlrCmdLine.py", line 695, in _configAndRunCntlr
  File "D:\a\Arelle\Arelle\arelle\CntlrCmdLine.py", line 930, in run
  File "D:\a\Arelle\Arelle\arelle\CntlrCmdLine.py", line 1513, in loadPackages
  File "D:\a\Arelle\Arelle\arelle\CntlrCmdLine.py", line 1463, in loadPackage
  File "D:\a\Arelle\Arelle\arelle\PackageManager.py", line 670, in addPackage
  File "D:\a\Arelle\Arelle\arelle\PackageManager.py", line 572, in packageInfo
KeyError: 'name'

The weird part is, I've tried loading EBA packages, and older BdP packages, and everything works fine. I have compared the packages and found no relevant differences, in my perspective.

Attached is the package I'm trying to load (BdP_XBRL_8.0_Reporting_Frameworks), and respective dictionary.

Any help is greatly apreciated,

Francisco Lelewell 
BdP_XBRL_6.0_Dictionary.zip
BdP_XBRL_8.0_Reporting_Frameworks.zip

Aaron Cameron

unread,
Jun 25, 2026, 3:19:38 PM (5 days ago) Jun 25
to arelle...@googlegroups.com
Hi Francisco,

In the latest version of Arelle, when validating the taxonomy package from the command line:
python arelleCmdLine.py -f "/path/to/BdP_XBRL_8.0_Reporting_Frameworks.zip"
I get:
[tpe:invalidMetaDataFile] Taxonomy package file syntax error Element '{http://xbrl.org/2016/taxonomy-package}publicationDate': '2025-11-17      ' is not a valid value of the atomic type 'xs:date'., line 10 -

Which indicates an issue with the taxonomy package's metadata file.

I'm able to recreate the message you provided when actually trying to "add" the package from the command line:
python arelleCmdLine.py -f "..." --package "+/path/to/BdP_XBRL_8.0_Reporting_Frameworks.zip"
As well as when attempting to add the package via "Manage packages" in the GUI.

So the underlying issue is with the taxonomy package metadata file, but we can and should update Arelle to more gracefully handle this situation rather than showing an exception stack trace.

I've added this GitHub issue to track this bug: https://github.com/Arelle/Arelle/issues/2441

Thanks,

Aaron

--

---
You received this message because you are subscribed to the Google Groups "Arelle-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arelle-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/arelle-users/e3110dae-1a08-42df-9abb-b461e3ead3f6n%40googlegroups.com.

Francisco Lelewell

unread,
Jun 26, 2026, 4:56:32 AM (5 days ago) Jun 26
to Arelle-users
Thank you Aaron!
Reply all
Reply to author
Forward
0 new messages