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

ImportError: bad magic number #25

Open
VeNoMouS opened this issue Sep 24, 2019 · 1 comment
Open

ImportError: bad magic number #25

VeNoMouS opened this issue Sep 24, 2019 · 1 comment
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@VeNoMouS
Copy link

Hi guys,

A customer is sometimes (rarely) getting the error ImportError: bad magic number , just wondering if anyone else has experienced this... and come up with a solution?

@theonewolf
Copy link
Member

theonewolf commented Sep 25, 2019

@VeNoMouS this is interesting. Is it within your custom / proprietary source code? Or is it from a third-party independent library? The recommendation is not to encrypt third-party, because sometimes they make very odd introspection assumptions (such as reading their files directly). It's possible, but requires careful testing.

What's very odd is that it sounds like this issue is transient. I'd expect it on every execution, although perhaps you have some imports that don't always hit in every exercised path through the code.

@theonewolf theonewolf self-assigned this Sep 25, 2019
@theonewolf theonewolf added bug Something isn't working question Further information is requested labels Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants