Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Thrift fix: eta data#3674

Open
snilt wants to merge 1 commit into
pyload:stablepyload/pyload:stablefrom
snilt:pr_stable3snilt/pyload:pr_stable3Copy head branch name to clipboard
Open

Thrift fix: eta data#3674
snilt wants to merge 1 commit into
pyload:stablepyload/pyload:stablefrom
snilt:pr_stable3snilt/pyload:pr_stable3Copy head branch name to clipboard

Conversation

@snilt

@snilt snilt commented Jun 23, 2020

Copy link
Copy Markdown

To reproduce the issue:

  1. Start a server with an empty queue
  2. From the webinterface:
    Pause the server
    Disable download speed limit
    Add some valid package to download (preferably some large file, couple of gigabytes)
  3. Start the CLI and unpause the server

Traceback (most recent call last):
...
...
File "/home/snilt/pyload/module/lib/thrift/protocol/TBinaryProtocol.py", line 110, in writeI32
buff = pack("!i", i32)
error: 'i' format requires -2147483648 <= number <= 2147483647

It seems that the server sends some bad eta value at the very beginning of a new download.
The PR just changes the data format to integer 64-bit.
(Works fine for me since years)

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@vuolter

vuolter commented Aug 19, 2020

Copy link
Copy Markdown
Contributor

This PR is for pyLoad Stable, but I have to inform you that thrift is no longer supported in pyLoad Next.

@GammaC0de

Copy link
Copy Markdown
Member

but I have to inform you that thrift is no longer supported in pyLoad Next.

@vuolter Thrift is also used by the Android app...

@vuolter

vuolter commented Aug 19, 2020

Copy link
Copy Markdown
Contributor

I think we can add it as a separate package, even I actually don't like it so much to be honest.

@vuolter vuolter added the enhancement New feature or bugfix label Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or bugfix

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.