Skip to content

Directory & Import Errors #8

Open
@P3nguin-M

Description

@P3nguin-M

File "process.py", line 14, in
from security_policy import ASPCodec, AndroidSecurityPolicy
File "/home/kevin/gits/BigMAC/security_policy.py", line 18, in
from android.file_contexts import convert_file_contexts
File "/home/kevin/gits/BigMAC/android/file_contexts.py", line 4, in
from folder import sefcontext_parser as sefparse

** Fix is too modify imported folder name from: sefcontext-parser to sefcontext_parser**

Current problem, haven't found a way to fix but:
Traceback (most recent call last):
File "./process.py", line 14, in
from security_policy import ASPCodec, AndroidSecurityPolicy
File "/home/kevin/gits/BigMAC/security_policy.py", line 18, in
from android.file_contexts import convert_file_contexts
File "/home/kevin/gits/BigMAC/android/file_contexts.py", line 4, in
from stats import *
File "/home/kevin/gits/BigMAC/stats.py", line 14, in
from security_policy import ASPCodec, AndroidSecurityPolicy
ImportError: cannot import name 'ASPCodec'

** Going into terminal in BigMac folder and using python manually importing causes same error. All files have been checked and exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions