{"id":4382,"date":"2021-02-24T09:00:31","date_gmt":"2021-02-24T00:00:31","guid":{"rendered":"https:\/\/www.sambuichi.jp\/?p=4382"},"modified":"2021-02-26T19:43:12","modified_gmt":"2021-02-26T10:43:12","slug":"install-arelle-on-mac","status":"publish","type":"post","link":"https:\/\/www.sambuichi.jp\/?p=4382&lang=en","title":{"rendered":"OIM-CSV with Arelle"},"content":{"rendered":"<p>Views: 108<\/p><p>XBRL GL in CSV file with dimensional taxonomy can be consumed with Arelle and can generate dimensional XBRL GL instance.<\/p>\n<h1>Test on macOS Catalina<\/h1>\n<h2>xBRL-GD<\/h2>\n<table>\n<tbody>\n<tr>\n<td>Taxonomy<\/td>\n<td><a href=\"https:\/\/www.wuwei.space\/xBRL-alpha\/xBRL\/gl\/plt\/case-srcd\/gl-plt-2020-12-31.xsd\">xBRL\/gl\/plt\/case-srcd\/gl-plt-2020-12-31.xsd<\/a><\/td>\n<\/tr>\n<tr>\n<td>Instance<\/td>\n<td><a href=\"https:\/\/www.wuwei.space\/xBRL-alpha\/xBRL-CSV\/whyOrWhyNot-metadata.json\">xBRL-CSV\/whyOrWhyNot-metadata.json<\/a><br \/>\n<a href=\"https:\/\/www.wuwei.space\/xBRL-alpha\/xBRL-CSV\/whyOrWhyNot.csv\">xBRL-CSV\/whyOrWhyNot.csv(1.7KB)<\/a><\/td>\n<\/tr>\n<tr>\n<td>Output xBRL instance<\/td>\n<td><a href=\"https:\/\/www.wuwei.space\/xBRL-alpha\/xBRL-CSV\/whyOrWhyNot.xml\">xBRL-CSV\/whyOrWhyNot.xml(28.6KB)<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Arelle<\/h2>\n<p>Check installation steps on <a href=\"https:\/\/arelle.org\/arelle\/documentation\/running-from-source\/\">https:\/\/arelle.org\/arelle\/documentation\/running-from-source\/<\/a><\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" title=\"Install w\/ pip3\" >(base) Nobu-Mac:Arelle pontsoleil$ python3\r\nPython 3.6.1 (v3.6.1:69c0db5050, Mar 21 2017, 01:21:04) \r\n[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n&gt;&gt;&gt;\r\n(base) Nobu-Mac:Arelle pontsoleil$ pip3 install lxml pg8000 pymysql numpy rdflib isodate regex aniso8601 graphviz holidays openpyxl Pillow pycountry cherrypy cheroot python-dateutil pytz tornado pyparsing matplotlib pyodbc\r\nCollecting lxml\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/19\/2f\/a987692a0b2bfe11db25392c115c94e139efa8d78f1c987d2e51d4d2fa82\/lxml-4.6.2-cp36-cp36m-macosx_10_9_x86_64.whl (4.6MB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 4.6MB 2.6MB\/s \r\nCollecting pg8000\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/ed\/d9\/2a20d2f41d59b7b814f7cb30e8df9bbd288b000ad8a04dbc97d8c92df6df\/pg8000-1.17.0-py3-none-any.whl\r\nCollecting pymysql\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/4f\/52\/a115fe175028b058df353c5a3d5290b71514a83f67078a6482cff24d6137\/PyMySQL-1.0.2-py3-none-any.whl (43kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 51kB 1.5MB\/s \r\nRequirement already satisfied: numpy in \/usr\/local\/lib\/python3.6\/site-packages (1.14.0)\r\nCollecting rdflib\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/d0\/6b\/6454aa1db753c0f8bc265a5bd5c10b5721a4bb24160fb4faf758cf6be8a1\/rdflib-5.0.0-py3-none-any.whl (231kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 235kB 7.6MB\/s \r\nCollecting isodate\r\n  Using cached https:\/\/files.pythonhosted.org\/packages\/9b\/9f\/b36f7774ff5ea8e428fdcfc4bb332c39ee5b9362ddd3d40d9516a55221b2\/isodate-0.6.0-py2.py3-none-any.whl\r\nCollecting regex\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/4e\/9e\/b956e48125b2034705841f2040d07374748bec107c46de07555f6b97774a\/regex-2020.11.13-cp36-cp36m-macosx_10_9_x86_64.whl (284kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 286kB 5.8MB\/s \r\nCollecting aniso8601\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/ae\/16\/db3a1a970e0a7dc89204d07cff6401760380a9ab90a9dc399a8e7df3b430\/aniso8601-9.0.0-py2.py3-none-any.whl (52kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 61kB 1.5MB\/s \r\nCollecting graphviz\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/86\/86\/89ba50ba65928001d3161f23bfa03945ed18ea13a1d1d44a772ff1fa4e7a\/graphviz-0.16-py2.py3-none-any.whl\r\nCollecting holidays\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/2a\/da\/3d54dac11dfb65799448ad1aebabf14f780d40203e5215ebd9517b42cb29\/holidays-0.10.5.2.tar.gz (121kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 122kB 4.1MB\/s \r\nCollecting openpyxl\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/d4\/c5\/1a5f82b3020bfb27f21b302f96c8ae6a34475070015d1b1e0b197a97e2af\/openpyxl-3.0.6-py2.py3-none-any.whl (242kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 245kB 3.2MB\/s \r\nRequirement already satisfied: Pillow in \/Library\/Frameworks\/Python.framework\/Versions\/3.6\/lib\/python3.6\/site-packages (5.0.0)\r\nCollecting pycountry\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/76\/73\/6f1a412f14f68c273feea29a6ea9b9f1e268177d32e0e69ad6790d306312\/pycountry-20.7.3.tar.gz (10.1MB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 10.1MB 801kB\/s \r\nCollecting cherrypy\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/a8\/f9\/e11f893dcabe6bc222a1442bf5e14f0322a2d363c92910ed41947078a35a\/CherryPy-18.6.0-py2.py3-none-any.whl (419kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 419kB 1.9MB\/s \r\nCollecting cheroot\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/46\/95\/86fe6480af78fea7b0e7e1bf02e6acd4cb9e561ea200bd6d6e1398fe5426\/cheroot-8.5.2-py2.py3-none-any.whl (97kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 102kB 2.1MB\/s \r\nRequirement already satisfied: python-dateutil in \/Users\/pontsoleil\/Library\/Python\/3.6\/lib\/python\/site-packages (2.6.1)\r\nRequirement already satisfied: pytz in \/Library\/Frameworks\/Python.framework\/Versions\/3.6\/lib\/python3.6\/site-packages (2017.3)\r\nRequirement already satisfied: tornado in \/Library\/Frameworks\/Python.framework\/Versions\/3.6\/lib\/python3.6\/site-packages (6.0.3)\r\nRequirement already satisfied: pyparsing in \/Library\/Frameworks\/Python.framework\/Versions\/3.6\/lib\/python3.6\/site-packages (2.2.0)\r\nRequirement already satisfied: matplotlib in \/Library\/Frameworks\/Python.framework\/Versions\/3.6\/lib\/python3.6\/site-packages (2.1.2)\r\nCollecting pyodbc\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/4b\/d1\/daa492611cd542646f12614e88a44572c7972f38d1c6d0ce44da38f69e95\/pyodbc-4.0.30-cp36-cp36m-macosx_10_9_x86_64.whl (64kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 71kB 574kB\/s \r\nCollecting scramp==1.2.0 (from pg8000)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/0a\/86\/7ef1b93e8f453f297303e98869451e544588e8d76f2dd73ad17e8dabc5fc\/scramp-1.2.0-py3-none-any.whl\r\nRequirement already satisfied: six in \/Users\/pontsoleil\/Library\/Python\/3.6\/lib\/python\/site-packages (from rdflib) (1.12.0)\r\nCollecting convertdate&gt;=2.3.0 (from holidays)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/33\/d6\/86703e7fd709cd1503c9ac84db816b9017bd2ef0720404f9e71bdaf4b34a\/convertdate-2.3.1-py3-none-any.whl (45kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 51kB 1.3MB\/s \r\nCollecting korean_lunar_calendar (from holidays)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/15\/41\/aa426a4a9141afd8e7f5c8312bb59d5693274f3f7b34e73bdce4ee48b4c1\/korean_lunar_calendar-0.2.1-py3-none-any.whl\r\nCollecting hijri_converter (from holidays)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/3e\/75\/e6da96d4ea768c8e6fa9676cffce80e457b66c3beb5711189959582870d6\/hijri_converter-2.1.1-py3-none-any.whl\r\nCollecting et-xmlfile (from openpyxl)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/22\/28\/a99c42aea746e18382ad9fb36f64c1c1f04216f41797f2f0fa567da11388\/et_xmlfile-1.0.1.tar.gz\r\nCollecting jdcal (from openpyxl)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/f0\/da\/572cbc0bc582390480bbd7c4e93d14dc46079778ed915b505dc494b37c57\/jdcal-1.4.1-py2.py3-none-any.whl\r\nCollecting zc.lockfile (from cherrypy)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/6c\/2a\/268389776288f0f26c7272c70c36c96dcc0bdb88ab6216ea18e19df1fadd\/zc.lockfile-2.0-py2.py3-none-any.whl\r\nCollecting more-itertools (from cherrypy)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/05\/47\/514062a0798c2e9bdfd4514bacf9971fc8961b715f01487e4cfda3cc45a7\/more_itertools-8.7.0-py3-none-any.whl (48kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 51kB 2.6MB\/s \r\nCollecting portend&gt;=2.1.1 (from cherrypy)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/b8\/a1\/fd29409cced540facdd29abb986d988cb1f22c8170d10022ea73af77fa55\/portend-2.7.1-py3-none-any.whl\r\nCollecting jaraco.collections (from cherrypy)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/7c\/38\/2b10ed4e0fbd1e12e98e9acb1e2ab942087ec911cfeaf302c14b39fce4f0\/jaraco.collections-3.2.0-py3-none-any.whl\r\nCollecting jaraco.functools (from cheroot)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/44\/de\/f387dbe1a7738e97220e52934dd95fca9e2e7bc238cacd103de60c01a61f\/jaraco.functools-3.2.1-py3-none-any.whl\r\nRequirement already satisfied: cycler&gt;=0.10 in \/Library\/Frameworks\/Python.framework\/Versions\/3.6\/lib\/python3.6\/site-packages (from matplotlib) (0.10.0)\r\nCollecting pymeeus!=0.3.8,&lt;=1,&gt;=0.3.6 (from convertdate&gt;=2.3.0-&gt;holidays)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/e9\/71\/a459d9fea14e8a0a485f47a606b8cd93f50132852a942fcb3b23f5f4f3d6\/PyMeeus-0.4.1.tar.gz (5.3MB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 5.3MB 1.7MB\/s \r\nRequirement already satisfied: setuptools in \/Users\/pontsoleil\/Library\/Python\/3.6\/lib\/python\/site-packages (from zc.lockfile-&gt;cherrypy) (39.0.1)\r\nCollecting tempora&gt;=1.8 (from portend&gt;=2.1.1-&gt;cherrypy)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/06\/e0\/b2a0c95bebd29c757b332a2a373e8cc0debcaba801ae5dc5b7d03db1979f\/tempora-4.0.1-py3-none-any.whl\r\nCollecting jaraco.text (from jaraco.collections-&gt;cherrypy)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/c1\/74\/2a3c4835c079df16db8a9c50263eebb0125849fee5b16de353a059b7545d\/jaraco.text-3.5.0-py3-none-any.whl\r\nCollecting jaraco.classes (from jaraco.collections-&gt;cherrypy)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/b8\/74\/bee5fc11594974746535117546404678fc7b899476e769c3c55bc0cfaa02\/jaraco.classes-3.2.1-py3-none-any.whl\r\nCollecting importlib-resources; python_version &lt; \"3.7\" (from jaraco.text-&gt;jaraco.collections-&gt;cherrypy)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/82\/70\/7bf5f275a738629a7252c30c8461502d3658a75363db9f4f88ddbeb9eeac\/importlib_resources-5.1.0-py3-none-any.whl\r\nCollecting zipp&gt;=0.4; python_version &lt; \"3.8\" (from importlib-resources; python_version &lt; \"3.7\"-&gt;jaraco.text-&gt;jaraco.collections-&gt;cherrypy)\r\n  Downloading https:\/\/files.pythonhosted.org\/packages\/41\/ad\/6a4f1a124b325618a7fb758b885b68ff7b058eec47d9220a12ab38d90b1f\/zipp-3.4.0-py3-none-any.whl\r\nBuilding wheels for collected packages: holidays, pycountry, et-xmlfile, pymeeus\r\n  Building wheel for holidays (setup.py) ... done\r\n  Stored in directory: \/Users\/pontsoleil\/Library\/Caches\/pip\/wheels\/e7\/62\/d6\/f5bee2a6cc5427fdec38dd2bea41d3703d543ab42f0197e9b1\r\n  Building wheel for pycountry (setup.py) ... done\r\n  Stored in directory: \/Users\/pontsoleil\/Library\/Caches\/pip\/wheels\/33\/4e\/a6\/be297e6b83567e537bed9df4a93f8590ec01c1acfbcd405348\r\n  Building wheel for et-xmlfile (setup.py) ... done\r\n  Stored in directory: \/Users\/pontsoleil\/Library\/Caches\/pip\/wheels\/2a\/77\/35\/0da0965a057698121fc7d8c5a7a9955cdbfb3cc4e2423cad39\r\n  Building wheel for pymeeus (setup.py) ... done\r\n  Stored in directory: \/Users\/pontsoleil\/Library\/Caches\/pip\/wheels\/2b\/d4\/07\/610bd9299d25383b1e86de991b2c43626164a2cbde87e032ca\r\nSuccessfully built holidays pycountry et-xmlfile pymeeus\r\nInstalling collected packages: lxml, scramp, pg8000, pymysql, isodate, rdflib, regex, aniso8601, graphviz, pymeeus, convertdate, korean-lunar-calendar, hijri-converter, holidays, et-xmlfile, jdcal, openpyxl, pycountry, zc.lockfile, more-itertools, jaraco.functools, cheroot, tempora, portend, zipp, importlib-resources, jaraco.text, jaraco.classes, jaraco.collections, cherrypy, pyodbc\r\n\r\nSuccessfully installed aniso8601-9.0.0 cheroot-8.5.2 cherrypy-18.6.0 convertdate-2.3.1 et-xmlfile-1.0.1 graphviz-0.16 hijri-converter-2.1.1 holidays-0.10.5.2 importlib-resources-5.1.0 isodate-0.6.0 jaraco.classes-3.2.1 jaraco.collections-3.2.0 jaraco.functools-3.2.1 jaraco.text-3.5.0 jdcal-1.4.1 korean-lunar-calendar-0.2.1 lxml-4.6.2 more-itertools-8.7.0 openpyxl-3.0.6 pg8000-1.17.0 portend-2.7.1 pycountry-20.7.3 pymeeus-0.4.1 pymysql-1.0.2 pyodbc-4.0.30 rdflib-5.0.0 regex-2020.11.13 scramp-1.2.0 tempora-4.0.1 zc.lockfile-2.0 zipp-3.4.0\r\nWARNING: You are using pip version 19.1.1, however version 21.0.1 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\n(base) Nobu-Mac:Arelle pontsoleil$ \r\n(base) Nobu-Mac:Arelle pontsoleil$ <\/pre>\n<h2>run Arelle<\/h2>\n<p> <span class=\"lang:default decode:true  crayon-inline \" >python3 arelleCmdLine.py &#8211;plugins &#8216;loadFromOIM|saveLoadableOIM&#8217; -f whyOrWhyNot-metadata.json &#8211;saveOIMinstance whyOrWhyNot.xml<\/span><br \/>\n<del datetime=\"2021-02-24T22:56:25+00:00\"><\/p>\n<h3>pdw-mb\/Arelle<\/h3>\n<p>Git clone from <a href=\"https:\/\/github.com\/pdw-mb\/Arelle\">https:\/\/github.com\/pdw-mb\/Arelle<\/a><\/del><\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" title=\"run arelleCmdLine.py\" >(base) Nobu-Mac:Arelle pontsoleil$ python3 arelleCmdLine.py --plugins 'loadFromOIM|saveLoadableOIM' -f whyOrWhyNot-metadata.json --saveOIMinstance whyOrWhyNot.xml\r\n[info] Activation of plug-in Load From OIM successful, version 0.9. - loadFromOIM \r\n[info] Activation of plug-in Save Loadable OIM successful, version 0.9. - saveLoadableOIM \r\n[xbrlce:missingOIMMetadataProperties] Required properties(s) are missing from CSV metadata: @context, http:\/\/xbrl.org\/YYYY\/model#metadata, documentType, taxonomy, prefixes - whyOrWhyNot-metadata.json \r\n<\/pre>\n<p><del datetime=\"2021-02-24T22:56:25+00:00\">Arele complains &#8220;[xbrlce:missingOIMMetadataProperties] Required properties(s) are missing from CSV metadata: @context, http:\/\/xbrl.org\/YYYY\/model#metadata, documentType, taxonomy, prefixes &#8211; whyOrWhyNot-metadata.json&#8221;.<\/del><br \/>\nThis error was caused by wrong Python environment. After removing Anaconda, python3 arelleCmdLine.py produced xBRL instance document.<\/p>\n<h3>Arelle\/Arelle<\/h3>\n<p>Git clone from <a href=\"https:\/\/github.com\/Arelle\/Arelle\">https:\/\/github.com\/ArelleArelle<\/a><\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" title=\"github.com\/Arelle\/Arelle\" >(base) Nobu-Mac:Arelle-master pontsoleil$ python3 arelleCmdLine.py --plugins 'loadFromOIM|saveLoadableOIM' -f whyOrWhyNot-metadata.json --saveOIMinstance whyOrWhyNot.xml\r\n[info] Activation of plug-in Load From OIM successful, version 1.2. - loadFromOIM \r\n[info] Activation of plug-in Save Loadable OIM successful, version 1.2. - saveLoadableOIM \r\n[oimce:unsupportedDocumentType] Unrecognized \/documentInfo\/docType: https:\/\/xbrl.org\/CR\/2021-02-02\/xbrl-csv - whyOrWhyNot-metadata.json \r\n(base) Nobu-Mac:Arelle-master pontsoleil$ <\/pre>\n<p><del datetime=\"2021-02-24T23:15:18+00:00\">Arelle also complains &#8220;Unrecognized \/documentInfo\/docType: https:\/\/xbrl.org\/CR\/2021-02-02\/xbrl-csv &#8211; whyOrWhyNot-metadata.json&#8221;.<br \/>\n<\/del><br \/>\nThis error was caused by wrong Python environment. After removing Anaconda, python3 arelleCmdLine.py produced xBRL instance document.<\/p>\n<h1>Fix python environment<\/h1>\n<h2>Check Python path and Anaconda environments<\/h2>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" >(base) Nobu-Mac:Arelle-master pontsoleil$ which python3\r\n\/Users\/pontsoleil\/anaconda3\/bin\/python3\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ which pip3\r\n\/Library\/Frameworks\/Python.framework\/Versions\/3.6\/bin\/pip3\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ echo $PYTHONPATH\r\n\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ echo $PYTHONHOME\r\n\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ env|grep CONDA\r\nCONDA_SHLVL=1\r\nCONDA_PROMPT_MODIFIER=(base) \r\nCONDA_EXE=\/Users\/pontsoleil\/anaconda3\/bin\/conda\r\n_CE_CONDA=\r\nCONDA_PREFIX=\/Users\/pontsoleil\/anaconda3\r\nCONDA_DEFAULT_ENV=base\r\n\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ cat ~\/.bash_profile\r\nexport PATH=$HOME\/.nodebrew\/current\/bin:$PATH\r\n\r\n# Setting PATH for Python 3.6\r\n# The original version is saved in .bash_profile.pysave\r\nPATH=\"\/Library\/Frameworks\/Python.framework\/Versions\/3.6\/bin:${PATH}\"\r\nexport PATH\r\n\r\n# Setting PATH for Python 3.6 user mode\r\nPATH=\"~\/Library\/Python\/3.6\/bin:${PATH}\"\r\nexport PATH\r\n\r\nexport NVM_DIR=\"\/Users\/pontsoleil\/.nvm\"\r\n[ -s \"$NVM_DIR\/nvm.sh\" ] &amp;&amp; . \"$NVM_DIR\/nvm.sh\"  # This loads nvm\r\n\r\nexport MAGICK_HOME=\"\/usr\/local\/Cellar\/imagemagick\/7.0.7-28\"\r\nexport PATH=\"$MAGICK_HOME\/bin:$PATH\"\r\nexport DYLD_LIBRARY_PATH=\"$MAGICK_HOME\/lib\/\"\r\n\r\nexport PGDATA=\/usr\/local\/var\/postgres\r\n\r\nexport PATH=\"\/usr\/local\/sbin:$PATH\"\r\n# added by Anaconda3 2019.03 installer\r\n# &gt;&gt;&gt; conda init &gt;&gt;&gt;\r\n# !! Contents within this block are managed by 'conda init' !!\r\n__conda_setup=\"$(CONDA_REPORT_ERRORS=false '\/Users\/pontsoleil\/anaconda3\/bin\/conda' shell.bash hook 2&gt; \/dev\/null)\"\r\nif [ $? -eq 0 ]; then\r\n    \\eval \"$__conda_setup\"\r\nelse\r\n    if [ -f \"\/Users\/pontsoleil\/anaconda3\/etc\/profile.d\/conda.sh\" ]; then\r\n        . \"\/Users\/pontsoleil\/anaconda3\/etc\/profile.d\/conda.sh\"\r\n        CONDA_CHANGEPS1=false conda activate base\r\n    else\r\n        \\export PATH=\"\/Users\/pontsoleil\/anaconda3\/bin:$PATH\"\r\n    fi\r\nfi\r\nunset __conda_setup\r\n# &lt;&lt;&lt; conda init &lt;&lt;&lt;\r\nexport BASH_SILENCE_DEPRECATION_WARNING=1\r\n(base) Nobu-Mac:Arelle-master pontsoleil$<\/pre>\n<h2>Remove Anaconda<\/h2>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" >(base) Nobu-Mac:Arelle-master pontsoleil$ conda install anaconda-clean\r\nWARNING: The conda.compat module is deprecated and will be removed in a future release.\r\nCollecting package metadata: done\r\nSolving environment: done\r\n\r\n## Package Plan ##\r\n\r\n  environment location: \/Users\/pontsoleil\/anaconda3\r\n\r\n  added \/ updated specs:\r\n    - anaconda-clean\r\n\r\n\r\nThe following packages will be downloaded:\r\n\r\n    package                    |            build\r\n    ---------------------------|-----------------\r\n    anaconda-clean-1.1.0       |   py37hecd8cb5_1         221 KB\r\n    conda-4.9.2                |   py37hecd8cb5_0         3.1 MB\r\n    conda-package-handling-1.7.2|   py37h22f3db7_0         1.6 MB\r\n    ------------------------------------------------------------\r\n                                           Total:         4.9 MB\r\n\r\nThe following NEW packages will be INSTALLED:\r\n\r\n  anaconda-clean     pkgs\/main\/osx-64::anaconda-clean-1.1.0-py37hecd8cb5_1\r\n  conda-package-han~ pkgs\/main\/osx-64::conda-package-handling-1.7.2-py37h22f3db7_0\r\n\r\nThe following packages will be UPDATED:\r\n\r\n  conda                                       4.6.11-py37_0 --&gt; 4.9.2-py37hecd8cb5_0\r\n\r\n\r\nProceed ([y]\/n)? y\r\n\r\n\r\nDownloading and Extracting Packages\r\nanaconda-clean-1.1.0 | 221 KB    | ##################################### | 100% \r\nconda-package-handli | 1.6 MB    | ##################################### | 100% \r\nconda-4.9.2          | 3.1 MB    | ##################################### | 100% \r\nPreparing transaction: done\r\nVerifying transaction: done\r\nExecuting transaction: done\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ \r\n(base) Nobu-Mac:Arelle-master pontsoleil$ anaconda-clean\r\nDelete .anaconda? (y\/n): y\r\nBackup directory: \/Users\/pontsoleil\/.anaconda_backup\/2021-02-25T073943\r\nDelete .conda? (y\/n): y\r\nDelete .condarc? (y\/n): y\r\nDelete .idlerc? (y\/n): y\r\nDelete .ipython? (y\/n): y\r\nDelete .jupyter? (y\/n): y\r\nDelete .matplotlib? (y\/n): y\r\n(base) Nobu-Mac:Arelle-master pontsoleil$\r\n\r\n\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ rm -fr ~\/.anaconda_backup\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ \r\n(base) Nobu-Mac:Arelle-master pontsoleil$ rm -fr \/anaconda3\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ vi ~\/.bash_profile\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ which python3\r\n\/Users\/pontsoleil\/anaconda3\/bin\/python3\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ rm -fr ~\/anaconda3\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ which python3\r\n\/Library\/Frameworks\/Python.framework\/Versions\/3.6\/bin\/python3\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ which pip3\r\n\/Library\/Frameworks\/Python.framework\/Versions\/3.6\/bin\/pip3\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ echo $PYTHONPATH\r\n\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ echo $PYTHONHOME\r\n\r\n(base) Nobu-Mac:Arelle-master pontsoleil$ \r\n<\/pre>\n<h2>Execute python3 arelleCmdLine.py<\/h2>\n<pre class=\"lang:default decode:true \" title=\"python3 arelleCmdLine.py\" >Last login: Mon Feb 15 14:32:22 on ttys001\r\nNobu-Mac:~ pontsoleil$ cd \/Users\/pontsoleil\/Documents\/GitHub\/Arelle-master\r\n\r\nNobu-Mac:Arelle-master pontsoleil$ python3 arelleCmdLine.py --plugins 'loadFromOIM|saveLoadableOIM' -f whyOrWhyNot-metadata.json --saveOIMinstance whyOrWhyNot.xml\r\n[info] Activation of plug-in Load From OIM successful, version 1.2. - loadFromOIM \r\n[info] Activation of plug-in Save Loadable OIM successful, version 1.2. - saveLoadableOIM \r\n[info:duplicatedSchema] Schema file with same targetNamespace http:\/\/xbrl.org\/2005\/xbrldt loaded from http:\/\/www.xbrl.org\/2005\/xbrldt-2005.xsd and http:\/\/xbrl.org\/2005\/xbrldt-2005.xsd - ..\/xBRL-alpha\/xBRL\/SRCD\/frTaxonomy\/FRTaxonomy.xsd 24\r\n[info] loaded in 1.69 secs at 2021-02-25T07:46:44 - \/Users\/pontsoleil\/Documents\/GitHub\/Arelle-master\/whyOrWhyNot-metadata.json \r\nNobu-Mac:Arelle-master pontsoleil$ \r\nNobu-Mac:Arelle-master pontsoleil$ vi whyOrWhyNot.xml\r\nNobu-Mac:Arelle-master pontsoleil$ \r\n<\/pre>\n<p>Finally, <a href=\"https:\/\/www.wuwei.space\/xBRL-alpha\/xBRL-CSV\/whyOrWhyNot.xml\">xBRL-CSV\/whyOrWhyNot.xml<\/a> was created by Arelle.<br \/>\n<a  href=\"https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/02\/db4fb5e72553fe19d6053059c63fe8fd.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2021-02-25 8.53.49\" data-rl_caption=\"\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2021-02-25 8.53.49\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/02\/db4fb5e72553fe19d6053059c63fe8fd-1024x633.png\" alt=\"\" width=\"1024\" height=\"633\" class=\"alignnone size-large wp-image-4414\" srcset=\"https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/02\/db4fb5e72553fe19d6053059c63fe8fd-1024x633.png 1024w, https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/02\/db4fb5e72553fe19d6053059c63fe8fd-300x185.png 300w, https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/02\/db4fb5e72553fe19d6053059c63fe8fd-768x475.png 768w, https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/02\/db4fb5e72553fe19d6053059c63fe8fd-1536x949.png 1536w, https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/02\/db4fb5e72553fe19d6053059c63fe8fd-2048x1266.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>XBRL GL in CSV file with dimensional taxonomy can be consumed with Arelle and can generate dimensional XBRL GL instance.<\/p>\n","protected":false},"author":2,"featured_media":4413,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/4382"}],"collection":[{"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4382"}],"version-history":[{"count":31,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/4382\/revisions"}],"predecessor-version":[{"id":4384,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/4382\/revisions\/4384"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/media\/4413"}],"wp:attachment":[{"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}