-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Plex: SyntaxWarning: invalid escape sequence '\.' """ #114471
Comments
Hey there @jjlawren, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) plex documentation |
Also seeing this on beta 3. Also, just as casakampa, I'm not even using Plex.... |
This is harmless, but an issue in an underlying library's docstring. It's fixed in that library's repo but no release has been published yet. I'll take care of that soon. |
Although I'm not sure what is triggering this warning. I can't reproduce in my dev environment. |
I've only seen it happening just at boot |
Still happening on beta 7: /usr/local/lib/python3.12/site-packages/plexapi/base.py:174: SyntaxWarning: invalid escape sequence '\d' """ Load the specified key to find and build all items with the specified tag @joostlek can you reopen this issue? It has not been solved. |
Let me double check if we want to have these issues tracked in core or that we just want people to create this at the library itself. A lot of libraries aren't maintained as well, so then it doesn't make sense for people to keep open an issue in this issue tracker while we can't really solve it. |
There are more, similar issues tagged for the milestone |
I know, but that's why I want to know how we want to handle all these issues in general. I also have some warnings in my own log, so if all those warnings got an issue, it might be overkill, so I am asking some questions how we want to handle these |
I see where the issue is, one invalid escape sequence in the library's docstring remains. We can reopen this one for now. |
Just a small note that I still have the warning on 2024.4.3
|
Warning can also be seen in HA 2024.5.1
|
Also present in HA 2024.5.2. Also i don't have the plex integration active/running AFAIK. So i'm wondering, why i get this warning at all. Shouldn't this be lazy-loaded? |
It likely needs pkkid/python-plexapi#1404 which hasn't been released yet. |
Reported on HA Core 2024.5.3:
|
Unfortunately, the warning appeared again after upgrading to core-2024.5.5 on multiple installations. |
Lol, I was just arriving here to report the same. Error still there on 2025.5.5 Logger: py.warnings /usr/local/lib/python3.12/site-packages/plexapi/base.py:183: SyntaxWarning: invalid escape sequence '\d' """ Load the specified key to find and build all items with the specified tag |
+1. Needs to be reopened |
The problem
After upgrading from 2024.4.b0 to b1, and from b1 to b3 (I skipped b1 > b2), I get this error in my logs:
The strange thing is, I don't use plex in home assistant, nor have I added it in the past.
What version of Home Assistant Core has the issue?
core-2024.4.0b0
What was the last working version of Home Assistant Core?
core-2024.3.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Plex
Link to integration documentation on our website
https://www.home-assistant.io/integrations/plex/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
I only joined the beta channel to update core, supervisor and operating system are stable releases.
The text was updated successfully, but these errors were encountered: