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

Bug: attempted relative import with no known parent package #29

Open
1 task done
toteb opened this issue Nov 25, 2022 · 0 comments
Open
1 task done

Bug: attempted relative import with no known parent package #29

toteb opened this issue Nov 25, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@toteb
Copy link

toteb commented Nov 25, 2022

MISP-STIX usage

CLI

Expected behavior

To convert the misp json to stix format

Actual behavior

It does not run at all

Steps to reproduce

Just run the misp_stix_converter.py after installing the tool

Version

Latest from this repo

Python version

3.10

Relevant log output

ImportError                               Traceback (most recent call last)
d:\github\misp-stix\misp_stix_converter\misp_stix_converter.py in line 8
      [6](file:///d%3A/github/misp-stix/misp_stix_converter/misp_stix_converter.py?line=5) import re
      [7](file:///d%3A/github/misp-stix/misp_stix_converter/misp_stix_converter.py?line=6) import sys
----> [8](file:///d%3A/github/misp-stix/misp_stix_converter/misp_stix_converter.py?line=7) from .misp2stix.framing import stix1_attributes_framing, stix1_framing
      [9](file:///d%3A/github/misp-stix/misp_stix_converter/misp_stix_converter.py?line=8) from .misp2stix.misp_to_stix1 import MISPtoSTIX1AttributesParser, MISPtoSTIX1EventsParser
     [10](file:///d%3A/github/misp-stix/misp_stix_converter/misp_stix_converter.py?line=9) from .misp2stix.misp_to_stix20 import MISPtoSTIX20Parser

**ImportError: attempted relative import with no known parent package**

Extra attachments

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@toteb toteb added the bug Something isn't working label Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant