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

utf-8 decode error due to the presence of __pycache__ folder in the template directory #2

Closed
StephaneCapponi opened this issue Mar 8, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@StephaneCapponi
Copy link
Collaborator

StephaneCapponi commented Mar 8, 2023

What is the issue?
When we install socon from the pip installer, pip create pycache folders in the template directory with different files.
When socon try to create a container for example, it will see these files and will try to render them. This cause a decode error in most of the cases.

Error is the following:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd9 in position 9: invalid continuation byte

@StephaneCapponi StephaneCapponi added the bug Something isn't working label Mar 8, 2023
@StephaneCapponi StephaneCapponi self-assigned this Mar 8, 2023
StephaneCapponi added a commit to StephaneCapponi/socon that referenced this issue Mar 8, 2023
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