我正在运行一个用于在Arelle中计算xbrl的比率的命令,但是我仍然收到有关sphinx插件的错误,如下所示。而且,我无法生成所需的计算文件。
我正在尝试关注http://arelle.org/2013/03/03/sphinx-2-0-processor-plug-in/。
此外,我的狮身人面像比例规则与https://github.com/Arelle/Arelle/blob/master/arelle/plugin/sphinx/US-GAAP%20Ratios%20Example.xsr
python arelleCmdLine.py -f /pojects/samplecodes/0000320193/2017/10-K/0000320193-17-000070-xbrl.zip --plugin 'sphinx' --generate-sphinx-formula-linkbase ./arelle/plugin/US-GAAP_Ratios_Example.xsr --generated-sphinx-formulas-directory /projects/samplecodes/calculation_sphinx_arelle
Exception raised:Expected "require" (at char 1415), (line:52, col:79)
Exception raised:Expected "rule-base" (at char 1415), (line:52, col:79)
[] [info:compileSphinx] Compiled Sphinx of ['./arelle/plugin/US-GAAP_Ratios_Example.xsr'] has 0 tables in file ./arelle/plugin/US-GAAP_Ratios_Example-formula.xml.