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

New Update of Pyload disables functionality #141273

Closed
xBlueCellx opened this issue Mar 24, 2025 · 6 comments · Fixed by #141297
Closed

New Update of Pyload disables functionality #141273

xBlueCellx opened this issue Mar 24, 2025 · 6 comments · Fixed by #141297

Comments

@xBlueCellx
Copy link

xBlueCellx commented Mar 24, 2025

The problem

Over the night my watchtower updated the pyLoad container. This update results in following error when trying to run the integration (PyLoadData.init() got an unexpected keyword argument 'proxy').

What version of Home Assistant Core has the issue?

core-2025.3.4

What was the last working version of Home Assistant Core?

core-2025.3.4

What type of installation are you running?

Home Assistant Container

Integration causing the issue

pyLoad

Link to integration documentation on our website

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

Diagnostics information

home-assistant_pyload_2025-03-24T10-56-24.341Z.log

Example YAML snippet

Anything in the logs that might be useful for us?

2025-03-24 10:48:32.868 ERROR (MainThread) [homeassistant.components.pyload.coordinator] Unexpected error fetching pyload data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 380, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/pyload/coordinator.py", line 62, in _async_update_data
    return PyLoadData(
        **await self.pyload.get_status(),
        free_space=await self.pyload.free_space(),
    )
TypeError: PyLoadData.__init__() got an unexpected keyword argument 'proxy'

Additional information

No response

@home-assistant
Copy link

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

Code owner commands

Code owners of pyload 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 pyload 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)


pyload documentation
pyload source
(message by IssueLinks)

@tr4nt0r
Copy link
Contributor

tr4nt0r commented Mar 24, 2025

On what version of pyLoad are you? pyLoad or pyLoad-ng? If you installed it via docker container, could you provide the link to the container you are using so it's easier to reproduce the error for me

@xBlueCellx
Copy link
Author

On what version of pyLoad are you? pyLoad or pyLoad-ng? If you installed it via docker container, could you provide the link to the container you are using so it's easier to reproduce the error for me

Sure, i run it in docker and use pyload-ng.(https://hub.docker.com/r/linuxserver/pyload-ng)

Thanks for the quick reply 😄

@tr4nt0r
Copy link
Contributor

tr4nt0r commented Mar 24, 2025

I can't reproduce it. Could you go to http://localhost:8000/api/statusServer and post the result here?

@xBlueCellx
Copy link
Author

xBlueCellx commented Mar 24, 2025

I can't reproduce it. Could you go to http://localhost:8000/api/statusServer and post the result here?

This is the current output: {"pause": false, "active": 0, "queue": 2, "total": 2, "speed": 0, "download": true, "reconnect": false, "captcha": false, "proxy": false}

I also noticed that im running the tag "develop" as my container, since the ddownload plugin stopped working due to an update on their side and is only fixed in the develop image version of the container.

Going back to the "latest" tag fixes the issue, so it seems they are adding "proxy" to their api?
This is the api-output on "latest": {"pause": false, "active": 0, "queue": 2, "total": 2, "speed": 0, "download": true, "reconnect": false, "captcha": false}

@tr4nt0r
Copy link
Contributor

tr4nt0r commented Mar 24, 2025

Thanks for figuring this out. So this would not be a fix, just adding support for the upcoming/development version. Hopefully I can get it merged before beta is cut ^^

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

Successfully merging a pull request may close this issue.

2 participants