rampageX / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit
811 stars 179 forks source link

AttributeError: 'module' object has no attribute 'MAGIC_NO_CHECK_TEXT' #147

Open maxi1192 opened 7 years ago

maxi1192 commented 7 years ago

when I run extract-firmware.sh I get the error message

File "./src/binwalk-1.0/src/bin/binwalk-script", line 5, in import binwalk File "/home/maxi1192/Schreibtisch/Firmware/firmware-mod-kit/src/binwalk-1.0/src/bin/binwalk/init.py", line 12, in class Binwalk: File "/home/maxi1192/Schreibtisch/Firmware/firmware-mod-kit/src/binwalk-1.0/src/bin/binwalk/init.py", line 28, in Binwalk DEFAULT_FLAGS = magic.MAGIC_NO_CHECK_TEXT | magic.MAGIC_NO_CHECK_ENCODING | magic.MAGIC_NO_CHECK_APPTYPE | magic.MAGIC_NO_CHECK_TOKENS AttributeError: 'module' object has no attribute 'MAGIC_NO_CHECK_TEXT' sort: Lesen unmöglich: /home/maxi1192/Schreibtisch/Firmware/firmware-mod-kit/fmk/logs/binwalk.log: Datei oder Verzeichnis nicht gefunden Extracting 0 bytes of header image at offset 0 ERROR: No supported file system found! Aborting...

seems to be a python-magic version issue, but my python-magic is up-to-date gathered via apt-get install.