Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
maxi1192 opened this issue Nov 4, 2016 · 0 comments
Open

Comments

@maxi1192
Copy link

maxi1192 commented Nov 4, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant