-
Notifications
You must be signed in to change notification settings - Fork 653
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
HomeAssistant crash - ValueError: bad marshal data #1415
Comments
Thanks for this information. I had also that issue and fixed it with an |
Hi, I tried your suggestion, but it failed. Here are the logs:
If I try to update homeassistant, then this also fails similarly:
|
I downgraded homeassistant from latest 0.103.5 to 0.103.4 using
Next I redid the repair:
Logs now indicate the repair completed without errors:
But when I start homeassistant, I'm back to where I started with the original error:
|
We have no setup tools inside because the package is installed. If you disable the component they import this module, everthing work? |
homeassistant 0.103.6 is released, I tried updating to that version and now my homeassistant is up and running again! But things are not fully fixed, The "Configurator" add-on no longer works, when checking the log I see the exact same type of error:
My understanding of this error is that there are *.pyc files with a format incompatible with the current _compile_bytecode. Now here it concerns a standard Python module: 'enum'. I don't know the details on the hassio update flow, but on my system there's somehow a mismatch between the provided pyc file format in the docker images and the Python pyc bytecode loading scripts. I triead a |
It could be that your SD card is going defect and if they create the container, varia bytes are corrupt. The best thing on docker, all or no one has an issue, if someone has an issue, there are local issues. |
Home Assistant release with the issue:
Operating environment (HassOS/Generic):
HassOS
Supervisor logs:
HomeAssistant logs:
Description of problem:
Home Assistant crashes upon starting.
Based on the log I suspect this issue to be caused because PEP 552 has been implemented, which adds extra 4 bytes to the .pyc header; but this version of setuptools is not aware of that yet. I think setuptools should be updated to v38.4.1.
See these links for further information on this bug:
The text was updated successfully, but these errors were encountered: