/tmp/Dahua-Firmware-Mod-Kit# ./extract.py DH_IPC-HX5X3X-Rhea_Internal_PN_Stream3_V2.640.0000002.0.R.180523.bin
/tmp/Dahua-Firmware-Mod-Kit/./extract.py:6: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
import distutils.spawn
/tmp/Dahua-Firmware-Mod-Kit/./extract.py:210: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
Logger.warn("Autodetected config: %s", Config)
WARNING Autodetected config: HX5X3X-Rhea
INFO Extracting 13 files to: 'DH_IPC-HX5X3X-Rhea_Internal_PN_Stream3_V2.640.0000002.0.R.180523.bin.extracted'
INFO Processing 'Install'.
INFO Processing 'check.img'.
INFO Processing 'dhboot-min.bin.img'.
INFO Processing 'dhboot.bin.img'.
INFO Processing 'kernel.img'.
INFO Processing 'romfs-x.squashfs.img'.
CRITICAL Missing dependency: 'unsquashfs'
ERROR 'SquashFS' handler returned non-zero return value for file: 'romfs-x.squashfs.img.raw'
Traceback (most recent call last):
File "/tmp/Dahua-Firmware-Mod-Kit/./extract.py", line 238, in <module>
extractor.Extract(args.source)
File "/tmp/Dahua-Firmware-Mod-Kit/./extract.py", line 108, in Extract
raise Exception("Handler returned non-zero return value!")
Exception: Handler returned non-zero return value!