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

No module named 'olefile' #17

Open
pmay opened this issue May 17, 2021 · 2 comments
Open

No module named 'olefile' #17

pmay opened this issue May 17, 2021 · 2 comments

Comments

@pmay
Copy link

pmay commented May 17, 2021

Problem when trying to identify a file using FIDO ('pronom only' action).

Results in following traceback:

Traceback (most recent call last): File "C:\Users<user>\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users<user>\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users<user>\AppData\Local\Programs\OPF Carrus\resources\libs\fido\fido\fido.py", line 31, in from .package import OlePackage, ZipPackage File "C:\Users<user>\AppData\Local\Programs\OPF Carrus\resources\libs\fido\fido\package.py", line 6, in import olefile ModuleNotFoundError: No module named 'olefile'

@bitsgalore
Copy link
Member

Got that as well, see #18

@bdoubrov
Copy link
Collaborator

From the FIDO readme:

FIDO 1.3.4 and later requires the python dependency 'olefile'. This can be installed using pip install olefile, by running python setup.py install, or a pip installation will handle dependencies.

Currently OPF Carrus doesn't run this setup.py at the install time. To be fixed.

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

3 participants