Skip to content

Import error when turning on multithreading #294

Description

@jonathan-lord-compsci

When I leave out the --xule-multi option, the DQC runs without error. However, when I provide the --xule-multi option, the DQC fails with the following output:

Rule Set Loaded 0:00:00.174394
Traceback (most recent call last):
  File "/tmp/Arelle/arelleCmdLine.py", line 17, in <module>
    CntlrCmdLine.main()
  File "/tmp/Arelle/arelle/CntlrCmdLine.py", line 47, in main
    parseAndRun(args)
  File "/tmp/Arelle/arelle/CntlrCmdLine.py", line 428, in parseAndRun
    cntlr.run(options)
  File "/tmp/Arelle/arelle/CntlrCmdLine.py", line 870, in run
    pluginXbrlMethod(self, options, modelXbrl, _entrypoint)
  File "/tmp/Arelle/arelle/plugin/xule/__init__.py", line 398, in xuleCmdXbrlLoaded
    runXule(cntlr, options, modelXbrl)
  File "/tmp/Arelle/arelle/plugin/xule/__init__.py", line 421, in runXule
    from .XuleMultiProcessing import start_process
ImportError: No module named 'xule.XuleMultiProcessing'

I cannot find any definition for this module within the DQC codebase.

Without multithreaded support, my tests indicate that version 5 of the DQC is significantly slower than previous versions of the DQC on multiprocessor machines.

I am running Arelle and DQC from source (master as of 2018-01-30) on CentOS 6. Please let me know if you require any additional information.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions