DurgNomis-drol / ha_toyota

Toyota Connected Services integration for Home Assistant.
MIT License
148 stars 32 forks source link

Integration unable to setup after updating to HA version 2024.5.0 #260

Closed sldewit closed 6 months ago

sldewit commented 6 months ago

After updating to Home assistant version 2024.5.0 the integration is unable to setup. See below error messages: image Error Toyota integration.log

FS1961 commented 6 months ago

Roger that, me too. Can't remove or reinstall.

joost11111 commented 6 months ago

Roger that, me too. Can't remove or reinstall.

After the problem with the update to 2024.5.0 I downgraded to the Home Assistant 2024.4.4 but it is still not working?

FS1961 commented 6 months ago

Same. Tried to restore an old backup as well. Can remove it either.

gertlind commented 6 months ago

Same here

darth-aragoth commented 6 months ago

Roger that, me too. Can't remove or reinstall.

After the problem with the update to 2024.5.0 I downgraded to the Home Assistant 2024.4.4 but it is still not working?

You have to downgrade to earlier version, integration stopped working with v2024.4.4.

joost11111 commented 6 months ago

Roger that, me too. Can't remove or reinstall.

After the problem with the update to 2024.5.0 I downgraded to the Home Assistant 2024.4.4 but it is still not working?

You have to downgrade to earlier version, integration stopped working with v2024.4.4.

I am quite sure that is was still working with the the previous v2024.4.4 version? Maybe better wait for a solution?

darth-aragoth commented 6 months ago

I currently use v2024.4.4 and integration is not loading.

Rejestrator: homeassistant.setup
Źródło: setup.py:273
Pierwsze zdarzenie: 03:26:06 (1 zdarzenia)
Ostatnio zalogowany: 03:26:06

Setup failed for custom integration 'toyota': Requirements for toyota not found: ['mytoyota==2.1.1'].
joost11111 commented 6 months ago

I currently use v2024.4.4 and integration is not loading.

Rejestrator: homeassistant.setup
Źródło: setup.py:273
Pierwsze zdarzenie: 03:26:06 (1 zdarzenia)
Ostatnio zalogowany: 03:26:06

Setup failed for custom integration 'toyota': Requirements for toyota not found: ['mytoyota==2.1.1'].

I also downgraded to v2024.4.4 but is not working but it used to work. Did you get it working with an older version?

darth-aragoth commented 6 months ago

I didn't try, I hope it will be fixed soon 🙂

FS1961 commented 6 months ago

I was able to remove the integration. I'll just wait for the fix?

florianfish commented 6 months ago

same problem here too!

williamwwlr commented 6 months ago

Meme soucis ici

zemnet commented 6 months ago

same problem

vermut commented 6 months ago

Fixed in https://github.com/pytries/marisa-trie/pull/101. Should just work.

joost11111 commented 6 months ago

Fixed in pytries/marisa-trie#101. Should just work.

Do I have to install something or wait for a new version of the Toyota package?

vermut commented 6 months ago

Restart Hass, I think that should be enough.

joost11111 commented 6 months ago

Restart Hass, I think that should be enough.

Thanks! It is working again.

darth-aragoth commented 6 months ago

In my case, restart did not help. Tried several times

Rejestrator: homeassistant.util.package
Źródło: util/package.py:123
Pierwsze zdarzenie: 17:07:52 (3 zdarzenia)
Ostatnio zalogowany: 17:08:38

Unable to install package mytoyota==2.1.1: error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [15 lines of output] running bdist_wheel running build running build_clib building 'libmarisa-trie' library creating build creating build/temp.linux-armv7l-cpython-312 creating build/temp.linux-armv7l-cpython-312/marisa-trie creating build/temp.linux-armv7l-cpython-312/marisa-trie/lib creating build/temp.linux-armv7l-cpython-312/marisa-trie/lib/marisa creating build/temp.linux-armv7l-cpython-312/marisa-trie/lib/marisa/grimoire creating build/temp.linux-armv7l-cpython-312/marisa-trie/lib/marisa/grimoire/io creating build/temp.linux-armv7l-cpython-312/marisa-trie/lib/marisa/grimoire/trie creating build/temp.linux-armv7l-cpython-312/marisa-trie/lib/marisa/grimoire/vector gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -Imarisa-trie/lib -Imarisa-trie/include -c marisa-trie/lib/marisa/agent.cc -o build/temp.linux-armv7l-cpython-312/marisa-trie/lib/marisa/agent.o error: command 'gcc' failed: No such file or directory [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for marisa-trie ERROR: Could not build wheels for marisa-trie, which is required to install pyproject.toml-based projects
Rejestrator: homeassistant.setup
Źródło: setup.py:271
Pierwsze zdarzenie: 17:08:38 (1 zdarzenia)
Ostatnio zalogowany: 17:08:38

Setup failed for custom integration 'toyota': Requirements for toyota not found: ['mytoyota==2.1.1'].
vermut commented 6 months ago

It was only solved for aarch64. armv7l was already mentioned but seems like builder is unaware of that arch. And I don't have a device to test. Is it the same as armv7?

https://github.com/pytries/marisa-trie/pull/102

darth-aragoth commented 6 months ago

I don't know, I'm using Raspberry Pi 4, 32-bit OS

FS1961 commented 6 months ago

I can confirm it’s working again. Core 2024.5.1 Supervisor 2024.04.4 Operating System 12.2 Frontend 20240501.0

darth-aragoth commented 6 months ago

After switching to 64bit system it's working again :) Thank you.

amastrogiacomo1968 commented 6 months ago

After switching to 64bit system it's working again :) Thank you.

What is the procedure for switching from the 32-bit version to the 64-bit version? Thank you

williamwwlr commented 6 months ago

C'est OK pour moi aussi

Envoyé à partir de Outlook pour Androidhttps://aka.ms/AAb9ysg


From: amastrogiacomo1968 @.> Sent: Monday, May 6, 2024 10:19:46 PM To: DurgNomis-drol/ha_toyota @.> Cc: waymel william @.>; Comment @.> Subject: Re: [DurgNomis-drol/ha_toyota] Integration unable to setup after updating to HA version 2024.5.0 (Issue #260)

After switching to 64bit system it's working again :) Thank you.

What is the procedure for switching from the 32-bit version to the 64-bit version? Thank you

— Reply to this email directly, view it on GitHubhttps://github.com/DurgNomis-drol/ha_toyota/issues/260#issuecomment-2096835742, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABVQL3QQVFTIG65MXOSSRDLZA7QWFAVCNFSM6AAAAABHDI5YZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWHAZTKNZUGI. You are receiving this because you commented.Message ID: @.***>

darth-aragoth commented 6 months ago

After switching to 64bit system it's working again :) Thank you.

What is the procedure for switching from the 32-bit version to the 64-bit version? Thank you

Create full backup of HA, download backup file to local computer, reinstall HA on microSD card using Raspberry Pi Imager (can be downloaded from https://www.raspberrypi.com/software), after installing restore from backup.

joost11111 commented 6 months ago

Restart Hass, I think that should be enough.

Thanks! It is working again.

I noticed it is not working all the time. Sometimes it is not available. Don't know if this is a bug. At the moment it is not working.

vermut commented 6 months ago

I only fixed installation issues, the marisa-trie bug. Toyota services being unavailable is beyond my control.

sldewit commented 6 months ago

After a reboot of HA it is working again for me. So I will close off this ticket.

simaoguimaraes commented 6 months ago

After uninstalling I'm unable to install Toyota Connected Services in HA. I get the following Error:

Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble