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

Comments

Projects
None yet
3 participants
@dfernquir

dfernquir commented Oct 10, 2017

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

This comment has been minimized.

Show comment
Hide comment
@saadkadhi

saadkadhi Oct 11, 2017

Contributor

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

Contributor

saadkadhi commented Oct 11, 2017

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