xbrlus / ferc-renderer

Apache License 2.0
2 stars 4 forks source link

Arelle FERC Renderer plugin 'render.py' throwing AttributeError: 'ModelDocumentReference' object has no attribute 'referenceType' #3

Closed Nagvanshu closed 3 years ago

Nagvanshu commented 3 years ago

I have tried FERC XBRL HTML rendering using arellecmdline.exe as follows:

_C:\Program Files\Arelle>arellecmdline --plugin FERC/render --ferc-render-render --ferc-render-template-set "E:\ferc-renderer-master\RenderingTemplates\Form_714.zip" -f "E:\xxx-125-2018Q4F714.xbrl" --ferc-render-inline "E:\Test\XBRL_8_739_20210211140935xbrl.html" --ferc-render-debug

I am getting following exception:

Traceback (most recent call last): File "C:\Users\hermf\AppData\Local\Programs\Python\Python39\lib\site-packages\cx_Freeze\initscripts__startup__.py", line 74, in run File "C:\Users\hermf\AppData\Local\Programs\Python\Python39\lib\site-packages\cx_Freeze\initscripts\Console.py", line 36, in run File "arelleCmdLine.py", line 22, in File "Z:\Users\arelle\hfdev\arelle\CntlrCmdLine.py", line 47, in main File "Z:\Users\arelle\hfdev\arelle\CntlrCmdLine.py", line 455, in parseAndRun File "Z:\Users\arelle\hfdev\arelle\CntlrCmdLine.py", line 933, in run File "C:\Program Files\Arelle\plugin\FERC\render.py", line 1974, in cmdLineXbrlLoaded main_html = setup_inline_html(modelXbrl) File "C:\Program Files\Arelle\plugin\FERC\render.py", line 1427, in setup_inline_html if doc_ref.referringModelObject.localName == 'schemaRef' and doc_ref.referenceType == 'href': AttributeError: 'ModelDocumentReference' object has no attribute 'referenceType'

campbellpryde commented 3 years ago

We have identified the issue and are resolving the issue. I will let you know when it is addressed.

Campbell Pryde

President and CEO

XBRL US Inc.

@. @.>*

https://xbrl.us https://xbrl.us

[image: XBRL US]

The non-profit community https://xbrl.us/xusmembers improving U.S. reporting through a free, open standard https://xbrl.us/home/learn/free-open-standards/.

On Wed, Mar 31, 2021 at 7:31 AM Nagvanshu @.***> wrote:

I have tried FERC XBRL HTML rendering using arellecmdline.exe as follows:

C:\Program Files\Arelle>arellecmdline --plugin FERC/render --ferc-render-render --ferc-render-template-set "E:\ferc-renderer-master\RenderingTemplates\Form_714.zip" -f "E:\xxx-125-2018Q4F714.xbrl" --ferc-render-inline "E:\Test\XBRL_8_739_20210211140935_xbrl.html" --ferc-render-debug

I am getting following exception:

Traceback (most recent call last): File "C:\Users\hermf\AppData\Local\Programs\Python\Python39\lib\site-packages\cxFreeze\initscripts startup_.py", line 74, in run File "C:\Users\hermf\AppData\Local\Programs\Python\Python39\lib\site-packages\cx_Freeze\initscripts\Console.py", line 36, in run File "arelleCmdLine.py", line 22, in File "Z:\Users\arelle\hfdev\arelle\CntlrCmdLine.py", line 47, in main File "Z:\Users\arelle\hfdev\arelle\CntlrCmdLine.py", line 455, in parseAndRun File "Z:\Users\arelle\hfdev\arelle\CntlrCmdLine.py", line 933, in run File "C:\Program Files\Arelle\plugin\FERC\render.py", line 1974, in cmdLineXbrlLoaded main_html = setup_inline_html(modelXbrl) File "C:\Program Files\Arelle\plugin\FERC\render.py", line 1427, in setup_inline_html if doc_ref.referringModelObject.localName == 'schemaRef' and doc_ref.referenceType == 'href': AttributeError: 'ModelDocumentReference' object has no attribute 'referenceType'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xbrlus/ferc-renderer/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADC2RF2LUYP22S5B3DTIKITTGMB2LANCNFSM42ENNYWQ .

Nagvanshu commented 3 years ago

We have identified the issue and are resolving the issue. I will let you know when it is addressed. Campbell Pryde President and CEO XBRL US Inc. @. @.> https://xbrl.us https://xbrl.us* + 1 (917) 582-6159 (Mobile) [image: XBRL US] The non-profit community https://xbrl.us/xusmembers improving U.S. reporting through a free, open standard https://xbrl.us/home/learn/free-open-standards/. On Wed, Mar 31, 2021 at 7:31 AM Nagvanshu @.**> wrote: I have tried FERC XBRL HTML rendering using arellecmdline.exe as follows: C:\Program Files\Arelle>arellecmdline --plugin FERC/render --ferc-render-render --ferc-render-template-set "E:\ferc-renderer-master\RenderingTemplates\Form_714.zip" -f "E:\xxx-125-2018Q4F714.xbrl" --ferc-render-inline "E:\Test\XBRL_8_739_20210211140935_xbrl.html" --ferc-render-debug I am getting following exception: Traceback (most recent call last): File "C:\Users\hermf\AppData\Local\Programs\Python\Python39\lib\site-packages\cxFreeze\initscripts startup*_.py", line 74, in run File "C:\Users\hermf\AppData\Local\Programs\Python\Python39\lib\site-packages\cx_Freeze\initscripts\Console.py", line 36, in run File "arelleCmdLine.py", line 22, in File "Z:\Users\arelle\hfdev\arelle\CntlrCmdLine.py", line 47, in main File "Z:\Users\arelle\hfdev\arelle\CntlrCmdLine.py", line 455, in parseAndRun File "Z:\Users\arelle\hfdev\arelle\CntlrCmdLine.py", line 933, in run File "C:\Program Files\Arelle\plugin\FERC\render.py", line 1974, in cmdLineXbrlLoaded main_html = setup_inline_html(modelXbrl) File "C:\Program Files\Arelle\plugin\FERC\render.py", line 1427, in setup_inline_html if doc_ref.referringModelObject.localName == 'schemaRef' and doc_ref.referenceType == 'href': AttributeError: 'ModelDocumentReference' object has no attribute 'referenceType' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#3>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADC2RF2LUYP22S5B3DTIKITTGMB2LANCNFSM42ENNYWQ .

Issue fixed for me. Thank you so much