-
Notifications
You must be signed in to change notification settings - Fork 57
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
module 'PIL.Image' has no attribute 'ANTIALIAS' #221
Comments
Same here, HA core 2023.11.1 and ID.4 with 3.2 |
Same here, HA core 2023.11.1 and ID.3 with 3.2 |
Issue has been fixed in weconnect library since July integration needs to use newer version of the library |
I did changes in manifest.json, file in /config/custom_components/volkswagen_we_connect_id/ weconnect==0.58.0 this apparently works! |
You are running "beta" marked 0.1.9? I have 0.1.8 and has weconnect==0.55.1 |
No, I have 0.1.8. |
edit: I updated to 0.1.9 with 0.58.0 and it works OK at my side edit 2: Ok I got it now, in https://github.com/mitch-dc/volkswagen_we_connect_id/releases 0.1.9 is shown as pre-release. |
You are absolutely right! I thought I was looking to the v0.1.8 but its version v0.1.9 (pre-release) |
How could I select the pre-release to be installed via HACS? |
you go into hacs, select "Volkswagen We Connect ID" then click the 3 Buttons in the top right, select "Redownload", then click "show beta versions" and then select 0.1.9 and click download. |
Hi!
Im having problems to connect to WeConnect ID. Looks like weconnect.py is not able to connect due to this error:
File "/usr/local/lib/python3.11/site-packages/weconnect/elements/vehicle.py", line 591, in updateStatusPicture
lightImage = lightImage.resize((64, 64), Image.ANTIALIAS)
^^^^^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
Does anyone had this error?
Thanks in advance
Here the complete log:
Core: 2023.11.0
Supervisor: 2023.10.1
Operating System: 11.1
Frontend: 20231030.1
Logger: homeassistant.config_entries
Source: config_entries.py:402
First occurred: 19:23:19 (2 occurrences)
Last logged: 19:26:34
Error setting up entry Volkswagen We Connect ID for volkswagen_we_connect_id
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/volkswagen_we_connect_id/init.py", line 48, in async_setup_entry
await hass.async_add_executor_job(_we_connect.update)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/weconnect/weconnect.py", line 193, in update
self.updateVehicles(updateCapabilities=updateCapabilities, updatePictures=updatePictures, force=force, selective=selective)
File "/usr/local/lib/python3.11/site-packages/weconnect/weconnect.py", line 213, in updateVehicles
vehicle = Vehicle(weConnect=self, vin=vin, parent=self.__vehicles, fromDict=vehicleDict, fixAPI=self.fixAPI,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/weconnect/elements/vehicle.py", line 126, in init
self.update(fromDict, updateCapabilities=updateCapabilities, updatePictures=updatePictures, selective=selective)
File "/usr/local/lib/python3.11/site-packages/weconnect/elements/vehicle.py", line 227, in update
self.updatePictures()
File "/usr/local/lib/python3.11/site-packages/weconnect/elements/vehicle.py", line 457, in updatePictures
self.updateStatusPicture()
File "/usr/local/lib/python3.11/site-packages/weconnect/elements/vehicle.py", line 591, in updateStatusPicture
lightImage = lightImage.resize((64, 64), Image.ANTIALIAS)
^^^^^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
The text was updated successfully, but these errors were encountered: