Skip to content
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

py warnings - VOIP #114421

Open
Anto79-ops opened this issue Mar 29, 2024 · 4 comments
Open

py warnings - VOIP #114421

Anto79-ops opened this issue Mar 29, 2024 · 4 comments
Assignees
Milestone

Comments

@Anto79-ops
Copy link

The problem

hello

updating to 2024.4.0b0 and b1 on RPi4-4GB/HAOS/SSD using a Grandstream and recieved these warnings in the log:

Logger: py.warnings
Source: components/voip/__init__.py:10
First occurred: 2:43:36 PM (1 occurrences)
Last logged: 2:43:36 PM

/usr/local/lib/python3.12/site-packages/opuslib/api/decoder.py:73: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="? if result_code.value is not 0:

thanks

What version of Home Assistant Core has the issue?

2024.4.0b1

What was the last working version of Home Assistant Core?

2024.3.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

VOIP

Link to integration documentation on our website

https://www.home-assistant.io/integrations/voip/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @balloob, @synesthesiam, mind taking a look at this issue as it has been labeled with an integration (voip) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of voip can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign voip Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


voip documentation
voip source
(message by IssueLinks)

@frenck frenck added this to the 2024.4.0 milestone Mar 29, 2024
@balloob
Copy link
Member

balloob commented Mar 31, 2024

Issue is upstream on a package not touched for 4 years 😬 https://github.com/orion-labs/opuslib/blob/master/opuslib/api/decoder.py#L73

@bdraco
Copy link
Member

bdraco commented Mar 31, 2024

orion-labs/opuslib#20

@frenck frenck added problem in dependency waiting-for-upstream We're waiting for a change upstream labels Apr 3, 2024
@Robbe-B
Copy link

Robbe-B commented Apr 24, 2024

I'm having the same issue:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants