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

Missing olefile in MsgParser requirements #101

Closed
dfernquir opened this issue Oct 10, 2017 · 1 comment
Closed

Missing olefile in MsgParser requirements #101

dfernquir opened this issue Oct 10, 2017 · 1 comment
Assignees
Labels
category:bug Issue is related to a bug
Milestone

Comments

@dfernquir
Copy link

Request Type

Bug

Work Environment

N/A

Question Answer
OS version (server) Ubuntu
OS version (client) Ubuntu
Cortex Analyzer Name MsgParser
Cortex Analyzer Version 2.0 (Cortex analyzers - 7d4e0a5)
Cortex Version 1.1.4

Description

requirements.txt for MsgParser only contains cortexutils, but it seems that olefile is also needed.
After running pip install for each requirements.txt file, MsgParser complains that module olefile does not exist:

{
  "errorMessage": "Error: Invalid output\nTraceback (most recent call last):\n  File \"./parse.py\", line 7, in <module>\n    from lib.msgParser import Message\n  File \"/opt/cortex/Cortex-Analyzers/analyzers/MsgParser/lib/msgParser.py\", line 28, in <module>\n    import olefile as OleFile\nImportError: No module named olefile\n",
  "input": null,
  "success": false
}

Steps to Reproduce

  1. Install cortex (from .deb file)
  2. Clone analyzers
  3. Run pip install -r requirements for MsgParser analyzer.
  4. Launch an analysis for MsgParser from web.

Possible Solutions

Either manually running pip install olefile or adding olefile to requirements.txt

@saadkadhi saadkadhi added the category:bug Issue is related to a bug label Oct 11, 2017
@saadkadhi
Copy link
Contributor

Thanks @dfernquir. @jeromeleonard can you look at it when time permits? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bug Issue is related to a bug
Projects
None yet
Development

No branches or pull requests

3 participants