Empty integrations page

Hello Hass users,

I have ran into a issue i cant fix my integrations page seems to be empty and can’t find a solution
and i do not know where to start all i tried was to stop the duckdns addon but this doesnt resolve my problem.

For the record: Iam not a expert in this kinda work and feel myself more like a copy paste guy :stuck_out_tongue:

Maybe you got some ideas for me to try or ideas to try, everything else is working as it should be.

happy easter day and thanks in advanced.

see the log below:

Log Details (ERROR)

Sun Apr 21 2019 10:01:03 GMT+0200 (Midden-Europese zomertijd)

Got unexpected response: None

Second error : –

Log Details (ERROR)
Sun Apr 21 2019 10:14:43 GMT+0200 (Midden-Europese zomertijd)
Error handling message: Unknown error
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/websocket_api/decorators.py”, line 17, in _handle_async_response
await func(hass, connection, msg)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/frontend/init.py”, line 517, in websocket_get_translations
resources = await async_get_translations(hass, msg[‘language’])
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/translation.py”, line 157, in async_get_translations
resources = await async_get_component_resources(hass, language)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/translation.py”, line 134, in async_get_component_resources
hass, component, language)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/translation.py”, line 48, in component_translation_file
module = get_component(hass, component)
File “/usr/local/lib/python3.7/site-packages/homeassistant/loader.py”, line 148, in get_component
comp = _load_file(hass, comp_or_platform, LOOKUP_PATHS)
File “/usr/local/lib/python3.7/site-packages/homeassistant/loader.py”, line 183, in _load_file
module = importlib.import_module(path)
File “/usr/local/lib/python3.7/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “”, line 724, in exec_module
File “”, line 860, in get_code
File “”, line 791, in source_to_code
File “”, line 219, in _call_with_frames_removed
ValueError: source code string cannot contain null bytes

That does not look like a valid timezone from the page here. There are several for GMT+0200 though.

is this a new install or was it working before and now it’s not?

1 Like

It worked before, atm the frontpage doenst load and a ssh comnand config check gives an error
I give a update if i find the problem

look in the homeassistant.log file in the config directory for errors.

I found the solution a fix I reflashed the SD card with the same hassio version as before and put my last backup back from yesterday where the menu already was broken and now the menu works again :slight_smile:

glad it’s working but i wouldn’t necessarily call it “the solution”. It’s strange that it just suddenly happened and you didn’t do anything else o fix it aside from reflashing your SD card and putting an already “broken” snapshot back on it.

Hopefully it won’t come back. :wink:

1 Like

You are totally right it fixed my problem.

The strange thing is my integration page is empty for at least 4 days and i didn’t tried to fix it till today the last thing i tried was updating my hassio to the latest versions ending up with a totally broken version even ssh didn’t respond only answered with errors i reflashed a different SD card with hassio and installed my backup from yesterday it could be my SD corrupt or damaged

Thx for all the replies

I’m having the same problem. Integration page looks empty.

Traceback (most recent call last):
  File "/usr/src/app/homeassistant/components/websocket_api/decorators.py", line 17, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/src/app/homeassistant/components/frontend/__init__.py", line 517, in websocket_get_translations
    resources = await async_get_translations(hass, msg['language'])
  File "/usr/src/app/homeassistant/helpers/translation.py", line 157, in async_get_translations
    resources = await async_get_component_resources(hass, language)
  File "/usr/src/app/homeassistant/helpers/translation.py", line 141, in async_get_component_resources
    loaded_translations = await load_translations_job
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/helpers/translation.py", line 88, in load_translations_files
    assert isinstance(loaded_json, dict)
AssertionError

You could try like me to reflash another class 10 SD-card like me i must say hassio interface feels much more responsive.

My last sdcard was a Mixza hc1 32gb
I am using now a sandisk class 10 32gb

For the record:
My system is still working properly

Did you try to empty the cache on the browser (ctrl-F5 on chrome)?

Yes. No Effect

@ ikewestbrook, Did you wipe your SD-card already ? just curios about it and what kind of SD-card are you using at this moment ?

I have figured it out. Issue was that i had created a .translation folder inside of a custom component. Removing this folder, solved it for me. Now the integration page works fine again.