I loaded home assistant 2 weeks ago mainly to get my insteon devices controllable, other than having to name all the devices it was seamless. i started to play around with a scene and did not get it working, i had to reboot my server and now it will not complete setup, i see errors but need some help figuring out how to fix them. Any on have thoughts on trouble shooting this or should i just start over?
2022-04-29 06:11:23 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
File “C:\Users\Tim\Documents\Automation\HassWP_2022.2.3\python-3.9.10.amd64\lib\site-packages\hass_win_main_.py”, line 86, in
sys.exit(main.main())
File “C:\Users\Tim\Documents\Automation\HassWP_2022.2.3\python-3.9.10.amd64\lib\site-packages\homeassistant_main_.py”, line 191, in main
exit_code = runner.run(runtime_conf)
File “C:\Users\Tim\Documents\Automation\HassWP_2022.2.3\python-3.9.10.amd64\lib\site-packages\homeassistant\runner.py”, line 119, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File “C:\Users\Tim\Documents\Automation\HassWP_2022.2.3\python-3.9.10.amd64\lib\asyncio\base_events.py”, line 642, in run_until_complete
return future.result()
File “C:\Users\Tim\Documents\Automation\HassWP_2022.2.3\python-3.9.10.amd64\lib\site-packages\homeassistant\runner.py”, line 101, in setup_and_run_hass
hass = await bootstrap.async_setup_hass(runtime_config)
File “C:\Users\Tim\Documents\Automation\HassWP_2022.2.3\python-3.9.10.amd64\lib\site-packages\homeassistant\bootstrap.py”, line 131, in async_setup_hass
await async_from_config_dict(config_dict, hass) is not None
File “C:\Users\Tim\Documents\Automation\HassWP_2022.2.3\python-3.9.10.amd64\lib\site-packages\homeassistant\bootstrap.py”, line 244, in async_from_config_dict
_LOGGER.info(“Home Assistant initialized in %.2fs”, stop - start)
File “C:\Users\Tim\Documents\Automation\HassWP_2022.2.3\config\custom_components\start_time\sensor.py”, line 28, in monkey_info
self.internal_update(args[0])
File “C:\Users\Tim\Documents\Automation\HassWP_2022.2.3\config\custom_components\start_time\sensor.py”, line 63, in internal_update
setup_time: dict = self.hass.data.get(‘setup_time’)
AttributeError: ‘NoneType’ object has no attribute ‘data’
Thank you for the advise was hoping i could fix it for now but i think what you are saying, at this point it makes sense to just start over but on a virtual machine.
I agree with @ServiceXp VirtualBox route is much simpler. HA on windows is a real mess.
I addition to what @ServiceXp already said, I also create a restart or shutdown bat, shutting down windows without powering down the vm sometime causes corrupted virtual disk. I just put a shortcut like this to restart windows.
I got the virtual box setup started but get stuck with no IP only a name , i cannot get the webpage using http://homeassistant:8123
I found i was able to reset my local instance for now. but i really want to get the virtual box version working, any help would be appreciated.
I do not get any reference to HA in my router, I keep getting seeing this error when i restart the virtual box. It does not look like an IP gets assigned. If i leave it sit on the screen i get some timeout messages. Any thoughts on what i should check would be appreciated.
61 is the version, read thru several post and do not see what i have set wrong,
i am wondering if symantec firewall is stopping something from working.
and the errors look familiar… it just isn’t stable (on VB 6.1.34, it runs for a couple of mins, sometimes hours, but eventually it would stall…)
So now I’m running on VMWare, but i think i will 6.1.30 someday to see if it more stable )