ID 502080 - VirtualKatana module can throw errors when attempting to run Katana in Batch or Script mode

Follow

Problem summary
Unused PyQt5 QtMultimedia import in VirtualKatana.py can cause errors when running Katana in Batch and Script modes on Linux. Specifically, when PulseAudio libraries are not present on the machine.

Customer reported version
Katana 4.5v1

Customer reported platform
CentOS 7

Steps to reproduce

1) Move libpulse-mainloop-glib.so.0 from /usr/lib64/

2) Run Katana in Batch or Script mode

Expected behaviour
Batch render or Script completes successfully

Actual behaviour
Katana will error:

[ERROR python.root]: An ImportError occurred in "VirtualKatana.py": libpulse-mainloop-glib.so.0: cannot open shared object file: No such file or directory
    Traceback (most recent call last):
      File "python/Main/Main.py", line 527, in <module>
      File "python/Main/Main.py", line 468, in __main
      File "python/Main/Main.py", line 342, in initNoQt
      File "MainCommon.py", line 20, in <module>
      File "__init__.py", line 22, in <module>
      File "Shelves.py", line 25, in <module>
      File "VirtualKatana.py", line 52, in <module>
    ImportError: libpulse-mainloop-glib.so.0: cannot open shared object file: No such file or directory

Workaround
Unknown

Reproduced by support
This bug has been reproduced in:
Katana 4.5v1 - CentOS 7

Earliest version tested
Katana 4.5v1 - This issue doesn't appear in this version and has regressed

    We're sorry to hear that

    Please tell us why