qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.27k stars 3.98k forks source link

RSS feeds do not work with qt6 #16879

Closed txtsd closed 2 years ago

txtsd commented 2 years ago

qBittorrent & operating system versions

qBittorrent: 4.4.2 x64 OS: Arch Linux Qt: 6.2.4 libtorrent-rasterbar: 2.0.5.0 Boost: 1.78.0 OpenSSL: 1.1.1n zlib: 1.2.12

What is the problem?

My RSS feeds keep throwing errors. They worked fine yesterday on the same version.

Steps to reproduce

Additional context

No response

Log(s) & preferences file(s)

4/15/22 9:59 AM - RSS feed at 'https://nyaa.si/?page=rss&q=subsplease+one+piece&c=1_2&f=0' updated. Added 0 new articles.
4/15/22 9:59 AM - Failed to parse RSS feed at 'https://nyaa.si/?page=rss&q=subsplease+one+piece&c=1_2&f=0'. Reason: Premature end of document. (line: 1, column: 0, offset: 0).
4/15/22 9:59 AM - RSS feed at 'https://nyaa.si/?page=rss&q=subsplease+one+piece&c=1_2&f=0' is successfully downloaded. Starting to parse it.

It shows this for every single RSS feed I have enabled.

DonaNobisPacem commented 2 years ago

I also have the exact same issue on my fresh install of Arch Linux on my main PC, though for mine stopped working since yesterday. Oddly enough, my laptop with the same setup (OS and library versions) doesn't have this problem so I've been having a hell of a time trying to figure out what's wrong.

This is what I'm running on my PC :

$ pacman -Q qt6-base libtorrent-rasterbar boost openssl zlib
qt6-base 6.3.0-1
libtorrent-rasterbar 1:2.0.5-1
boost 1.78.0-1
openssl 1.1.1.n-1
zlib 1:1.2.12-1
Chocobo1 commented 2 years ago

Archlinux specific: https://github.com/qbittorrent/qBittorrent/issues/16870#issuecomment-1099853974

txtsd commented 2 years ago

@Chocobo1 I don't have any crashes like that, just these RSS shenanigans.

txtsd commented 2 years ago

Compiled from source and the problem still exists.

RainbowCookie32 commented 2 years ago

I'm also having this issue, but building qBittorrent from source works fine here 🤔

vedxyz commented 2 years ago

Having the same issue on Arch. Building from git source solves the issue for me also. So I'm guessing this'll be fixed once the maintainer rebuilds the package.

Reported: https://bugs.archlinux.org/task/74473

antonio-rojas commented 2 years ago

This is caused by https://code.qt.io/cgit/qt/qtbase.git/commit?id=6f25051536c1636688a0a0939196007aac34676d

Those who claim that a rebuild fixes it are likely compiling it qith Qt 5.

vedxyz commented 2 years ago

This is caused by https://code.qt.io/cgit/qt/qtbase.git/commit?id=6f25051536c1636688a0a0939196007aac34676d

Those who claim that a rebuild fixes it are likely compiling it qith Qt 5.

Indeed:

> ldd ./bin/qbittorrent | grep Qt
        libQt5Svg.so.5 => /usr/lib/libQt5Svg.so.5 (0x00007f61d61bf000)
    libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x00007f61d5b03000)
    libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007f61d549a000)
    libQt5DBus.so.5 => /usr/lib/libQt5DBus.so.5 (0x00007f61d541a000)
    libQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0x00007f61d52a5000)
    libQt5Sql.so.5 => /usr/lib/libQt5Sql.so.5 (0x00007f61d5265000)
    libQt5Xml.so.5 => /usr/lib/libQt5Xml.so.5 (0x00007f61d5222000)
    libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007f61d4d00000)
RainbowCookie32 commented 2 years ago

This is caused by https://code.qt.io/cgit/qt/qtbase.git/commit?id=6f25051536c1636688a0a0939196007aac34676d

Those who claim that a rebuild fixes it are likely compiling it qith Qt 5.

Guilty as charged.

thesnowfury commented 2 years ago

I know its not a solution and maybe an unpopular comment, but for those of us who can't wait I can confirm that Ktorrent with the Syndication plugin is processing RSS just fine.

I'd much rather be using qBittorrent but this will do for now

miicat commented 2 years ago

@thesnowfury You can just build the latest qBittorrent with qt5

maisun commented 2 years ago

Same problem here, shall I rollback to 4.4.1?

13xforever commented 2 years ago

this started to happen after upgrading to 4.4.3 qt6 build on windows (it worked fine with 4.4.2 qt6)

sponix commented 2 years ago

This is still an issue on version 4.4.3 on Arch with the default package build against qt6. I again have rebuilt against qt5 to resolve the issue. The package maintainer seems fine with pushing out the build against qt6 with RSS still broken. So, I would love to see this resolved to enable me to take future updates to qbittorrent without having to rebuild from source each time to get my RSS functioning.

asorel1942 commented 2 years ago

Are there plans to make qBittorrent qt6 compatible in a future update? I am unsure how to rebuild the package using qt5, I've always just let the package manager handle such matters for me. In the meantime how exactly would I go about using qt5 instead of qt6 for the build?

shaneallgeier commented 2 years ago

In the meantime how exactly would I go about using qt5 instead of qt6 for the build?

If you're comfortable with AUR packages, you can install qbittorrent-qt5.

AnthonyBe commented 2 years ago

I notice that all of the above is talking about Linux platform. I just wanted to confirm I'm seeing exact same issue on Windows 10 with 4.4.3.1 x64 Qt6 build (i.e., not OS platform specific)

Same error: Reason: Premature end of document. (line: 1, column: 0, offset: 0)

Everything fine when I reverted to the Qt5 build of 4.4.3.1

txtsd commented 2 years ago

@AnthonyBe Yes, it's a Qt6 bug so it's expected to affect all platforms.

13xforever commented 2 years ago

It would be useful to mention the regression in the change log, as it's one of the core features and people are going in blind (and qt6 build is no longer marked as experimental)

brvphoenix commented 2 years ago

Can someone try #17120?

vedxyz commented 2 years ago

For any Arch users who might be subscribed to this issue:

A patch to fix this problem (#17120) has made its way into the official Arch repo (qbittorrent 4.4.3.1-2). Try updating to see if RSS is fixed.

txtsd commented 2 years ago

For any Arch users who might be subscribed to this issue:

A patch to fix this problem (#17120) has made its way into the official Arch repo (qbittorrent 4.4.3.1-2). Try updating to see if RSS is fixed.

Can confirm the patch works. I'm using the qbittorrent from the official Arch repo now and RSS works as intended.

miicat commented 2 years ago

Can confirm the patch works. I'm using the qbittorrent from the official Arch repo now and RSS works as intended.

qbittorrent-nox-4.4.3.1-2 working for me, too on Arch

escape0707 commented 2 years ago

@jprokos Isn't this thread for Qt6?

escape0707 commented 2 years ago

@jprokos

I've read through the threads again and obviously this issue is fixed and verified. What's about your "build script"? Can you use official OS X build by qbittorrent and reproduce the issue? If you can't, ask your "build script" writer rather than here.

I happened to realize who is Kolcha, a cool guy tho. Shout out to Kolcha for his works on qbt and qbt-we.

escape0707 commented 2 years ago

@jprokos

Contributors closed this issue because this issue is fixed for Qt6 builds. And qbittorrent is moving to Qt6. I do think there is an official Qt6 build for OS X, tho.

Reverting to Qt5 is not an official suggestion. Could you put a link to a repo member's comment that suggested this?

ghost commented 2 years ago

@escape0707 Thanks to you pushing me to look around more I discovered it's not a qBT issue... it's an indexer issue. I am using Jackett and RARBG.

I removed my comments to de-clutter this thread.

Manan2004 commented 1 year ago

Any updates on this? Still does not work on Mac arm version 13.4 Qt: 6.4.3 Libtorrent: 2.0.9.0 Boost: 1.82.0 OpenSSL: 1.1.1u zlib: 1.2.11

glassez commented 1 year ago

Any updates on this? Still does not work on Mac arm version 13.4 Qt: 6.4.3 Libtorrent: 2.0.9.0 Boost: 1.82.0 OpenSSL: 1.1.1u zlib: 1.2.11

You missed to specify the version of qBittorrent itself.

Manan2004 commented 1 year ago

here V4.5.4.10 (64-bit)

And i dont mind using older version if its native arm version

glassez commented 1 year ago

@Manan2004 Would you mind to provide more info about your problem? Log, screenshots etc.?

P.S. V4.5.4.10 doesn't look like original qBittorrent.