Qbittorrent ошибка expected value in bencoded string

Please provide the following information

qBittorrent version and Operating System

qBittorrent 4.1.6.99 (64bit) from repos, Linux Mint 18.3 (Ubuntu 16.04)

If on linux, libtorrent and Qt version

libtorrent 1.1.13, Qt5 5.5.1 and Qt4 4.8.7

What is the problem

After last update when opening .torrent files I get the following message:
Invalid torrent - Failed to load torrent:... Error: expected value (list, dict, int or string) in bencoded string
Magnet links are working fine

What is the expected behavior

It is supposed to add the torrent to the download list

Steps to reproduce

Download a .torrent file and open it with qBittorrent

Extra info(if any)

Similar problem as in here and here


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Please provide the following information

qBittorrent version and Operating System

qBittorrent v4.0.1, Windows 10

If on linux, libtorrent and Qt version

n/a

What is the problem

Upon double clicking a torrent in the RSS feed, I am hit with this error:

Failed to load torrent: C:Users…AppDataLocalTemp.qBittorrentOCQ772
Error: expected value (list, dict, int or string) in bencoded string

What is the expected behavior

The torrent clicked will download

Steps to reproduce

Open RSS, double click any torrent

Extra info(if any)

RSS link: https://animetosho.org/feed/rss2?only_tor=1&q=AnimeRG

Go to linux4noobs

r/linux4noobs

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.




Online

qbittorrent error message: Failed to load the torrent: expected value (list, dict, int or string) in bencoded string

I get this error message when i click download, looked up this error message but do not understand what various forums suggest to fix this… how do i fix this in a simple understandable way?

After quick digging(not much time now to investigate), the last issue is probably an issue shamael fixed and described previously: viewtopic.php?f=7&t=48629

Your first and main issue I’m sorry I don’t know, and is usually reported from users using RSS feeds somehow corrupted or wrong othetwise(e.g no links in feed). On qbittorrent it was reported often through time, and they made some improvements but still reported afterwards often. Puzzling though that sometimes you can fix by recheck/announce and at end of download, so couldn’t really be corrupted feed, even if was/is using RSS. Sorry cannot help, but only had time though for a quick search.

As shamael correctly stated, there are some issues for some, with libtorrent 1.2.4 and for some also on 1.2.5, but you then afterwards posted commands showing using 1.1.11, but could of course help upgrading regardless, but again sorry I don’t know from top of head where/how to get newer libtorrent on ubuntu if wanna try that, sorry, but you can probably Google it, e.g a PPA or otherwise development package as seemingly not in regular repos from your posted commands.

Hopefully others can help you out with this better :) Good luck.

Edit: The official deluge PPA isn’t with newer libtorrent, and there’s a development deluge PPA that’s newer, but still not using newest 1.1.x and 2 months old as newest PPA rebuild, plus shows deluge as having version 2.1.1 for some reason I don’t really get, as 2.1 not even released yet and dev-builds use other naming-scheme e.g latest currently is 2.0.4.dev23. If wanting to try upgrade libtorrent and see if helps your issue, then if not finding a PPA, then atleast I saw ubuntu 19.10 has next-newest 1.1.x so 1.1.13, which maybe you can try(don’t know how such works on ubuntu though), and I think is this, but maybe you need add it into your sources list for apt or something instead of downloading package and install, though there also could be dependency problems afterwards I dunno.

https://packages.ubuntu.com/eoan/libtorrent-rasterbar9 (python3-libtorrent is included in that package, it states when searching for that instead)

Otherwise there’s then:

Lbtorrent ubuntu ppa daily builds of 1.2.x:
https://launchpad.net/~libtorrent.org/+ … /1.2-daily

And of 1.1.x:
https://launchpad.net/~libtorrent.org/+ … -1.1-daily

Please provide the following information

qBittorrent version and Operating System

qBittorrent v4.0.1, Windows 10

If on linux, libtorrent and Qt version

n/a

What is the problem

Upon double clicking a torrent in the RSS feed, I am hit with this error:

Failed to load torrent: C:Users…AppDataLocalTemp.qBittorrentOCQ772
Error: expected value (list, dict, int or string) in bencoded string

What is the expected behavior

The torrent clicked will download

Steps to reproduce

Open RSS, double click any torrent

Extra info(if any)

RSS link: https://animetosho.org/feed/rss2?only_tor=1&q=AnimeRG

All 22 comments

Linux Ubuntu 16.04 LTS
qBittorrent v4.0.1
RSS feed: https://yts.am/rss/0/all/all/0

I have the same problem with YTS.ag RSS feed. It stared a few day ago. If I double click rss feeds from last week its fine but any of the new ones I get «Failed to load the torrent: /tmp/.qBittorrent/p14121.
Error: expected value (list, dict, int or string) in bencoded string»

Fixed in master. Fix will be release with v.4.0.2.

I just installed v.4.0.2 and the problem is still there.
__Failed to load the torrent: /tmp/.qBittorrent/s14765.
Error: expected value (list, dict, int or string) in bencoded string_
I’ll post an update once the RSS updates with new feeds just in case its just an old file handled wrong.

RSS feed: https://yts.am/rss/0/all/all/0

@dstorrez, if you mean the feed above it works properly now (tested one more time just now). Apparently you tried to load torrent from already corrupted article (loaded by previous qBittorrent version).

@glassez You are 100% correct. its working perfectly now. Thank you for the follow up.
I checked today’s feed and everything came through the way it was supposed to.

v.4.0.3 (Windows 10) The problem persists…
screenshot_1

v.4.0.3 (Windows 10) The problem persists…

What is affected feed URL?

I am not very familiar with the term «feed URL». Double click to download torrents in the search results. Problem appears sometimes not always.

What «search results» you’re talking about?
FYI, this issue is about downloading torrents from RSS feeds (assuming someone who use RSS should understand «feed URL» term).

Sorry for my «noobity». I am referring to the search function/tab in qbittorrent. You search for a term. A list of torrents comes up (search results). You double click one to download.

You choose wrong topic for your issue (besides, closed). You should create the new one (unless you find the existing one with the similar problem). Otherwise you risk to remain without a solution to your problem.
What you have describe here is merely the symptoms and not the problem itself. It can be caused by various problems. In your case it could be either a wrong/outdated search plugin, or incorrect return value of search site, or something else… In any case, you should ask the devs familiar with search engine/plugins.

@tkmax83, the same issue as above. Your feed doesn’t contain any torrent links.

@glassez how are you checking that?

@glassez how are you checking that?

Try to load it manually and see its source. qBittorrent expects <link> has torrent link (either magnet or direct link to the torrent file). Your Feed has link to some web page there.

this problem just started today for me… my rss feeds work on my other computer also qbittorrent.

@andnym3, just checked your Feed. Currently it doesn’t provide direct links to torrent files but to some web page that loads torrent using javascript or other tricks. qBittorrent cannot process web pages. It expects torrent files or magnet links only.

@iyagicom
Sorry for the late response… None of your files are torrent files. These are actually HTML files.

Was this page helpful?

0 / 5 — 0 ratings

Please provide the following information

qBittorrent version and Operating System

qBittorrent 4.1.6.99 (64bit) from repos, Linux Mint 18.3 (Ubuntu 16.04)

If on linux, libtorrent and Qt version

libtorrent 1.1.13, Qt5 5.5.1 and Qt4 4.8.7

What is the problem

After last update when opening .torrent files I get the following message:
Invalid torrent - Failed to load torrent:... Error: expected value (list, dict, int or string) in bencoded string
Magnet links are working fine

What is the expected behavior

It is supposed to add the torrent to the download list

Steps to reproduce

Download a .torrent file and open it with qBittorrent

Extra info(if any)

Similar problem as in here and here


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

After quick digging(not much time now to investigate), the last issue is probably an issue shamael fixed and described previously: viewtopic.php?f=7&t=48629

Your first and main issue I’m sorry I don’t know, and is usually reported from users using RSS feeds somehow corrupted or wrong othetwise(e.g no links in feed). On qbittorrent it was reported often through time, and they made some improvements but still reported afterwards often. Puzzling though that sometimes you can fix by recheck/announce and at end of download, so couldn’t really be corrupted feed, even if was/is using RSS. Sorry cannot help, but only had time though for a quick search.

As shamael correctly stated, there are some issues for some, with libtorrent 1.2.4 and for some also on 1.2.5, but you then afterwards posted commands showing using 1.1.11, but could of course help upgrading regardless, but again sorry I don’t know from top of head where/how to get newer libtorrent on ubuntu if wanna try that, sorry, but you can probably Google it, e.g a PPA or otherwise development package as seemingly not in regular repos from your posted commands.

Hopefully others can help you out with this better :) Good luck.

Edit: The official deluge PPA isn’t with newer libtorrent, and there’s a development deluge PPA that’s newer, but still not using newest 1.1.x and 2 months old as newest PPA rebuild, plus shows deluge as having version 2.1.1 for some reason I don’t really get, as 2.1 not even released yet and dev-builds use other naming-scheme e.g latest currently is 2.0.4.dev23. If wanting to try upgrade libtorrent and see if helps your issue, then if not finding a PPA, then atleast I saw ubuntu 19.10 has next-newest 1.1.x so 1.1.13, which maybe you can try(don’t know how such works on ubuntu though), and I think is this, but maybe you need add it into your sources list for apt or something instead of downloading package and install, though there also could be dependency problems afterwards I dunno.

https://packages.ubuntu.com/eoan/libtorrent-rasterbar9 (python3-libtorrent is included in that package, it states when searching for that instead)

Otherwise there’s then:

Lbtorrent ubuntu ppa daily builds of 1.2.x:
https://launchpad.net/~libtorrent.org/+ … /1.2-daily

And of 1.1.x:
https://launchpad.net/~libtorrent.org/+ … -1.1-daily

After quick digging(not much time now to investigate), the last issue is probably an issue shamael fixed and described previously: viewtopic.php?f=7&t=48629

Your first and main issue I’m sorry I don’t know, and is usually reported from users using RSS feeds somehow corrupted or wrong othetwise(e.g no links in feed). On qbittorrent it was reported often through time, and they made some improvements but still reported afterwards often. Puzzling though that sometimes you can fix by recheck/announce and at end of download, so couldn’t really be corrupted feed, even if was/is using RSS. Sorry cannot help, but only had time though for a quick search.

As shamael correctly stated, there are some issues for some, with libtorrent 1.2.4 and for some also on 1.2.5, but you then afterwards posted commands showing using 1.1.11, but could of course help upgrading regardless, but again sorry I don’t know from top of head where/how to get newer libtorrent on ubuntu if wanna try that, sorry, but you can probably Google it, e.g a PPA or otherwise development package as seemingly not in regular repos from your posted commands.

Hopefully others can help you out with this better :) Good luck.

Edit: The official deluge PPA isn’t with newer libtorrent, and there’s a development deluge PPA that’s newer, but still not using newest 1.1.x and 2 months old as newest PPA rebuild, plus shows deluge as having version 2.1.1 for some reason I don’t really get, as 2.1 not even released yet and dev-builds use other naming-scheme e.g latest currently is 2.0.4.dev23. If wanting to try upgrade libtorrent and see if helps your issue, then if not finding a PPA, then atleast I saw ubuntu 19.10 has next-newest 1.1.x so 1.1.13, which maybe you can try(don’t know how such works on ubuntu though), and I think is this, but maybe you need add it into your sources list for apt or something instead of downloading package and install, though there also could be dependency problems afterwards I dunno.

https://packages.ubuntu.com/eoan/libtorrent-rasterbar9 (python3-libtorrent is included in that package, it states when searching for that instead)

Otherwise there’s then:

Lbtorrent ubuntu ppa daily builds of 1.2.x:
https://launchpad.net/~libtorrent.org/+ … /1.2-daily

And of 1.1.x:
https://launchpad.net/~libtorrent.org/+ … -1.1-daily

Не так давно на хабре была статья о том, как мониторить rss ленту трекера и скачивать интересующие нас закачки. Хотя способ и интересный, но всё можно сделать проще средствами одного из самых популярных торент-клиентов для linux — qbittorrent. К тому же, qbittorrent кроссплатформенный, а значит его можно настроить и на windows.

Если он у вас ещё не установлен, то ищите его в стандартных репозиториях. Например в ubuntu его можно установить командой:

sudo apt-get install qbittorrent

В качестве примера будем рассматривать трекер lostfilm.tv.

Открываем qbittorrent и переходим на вкладку RSS

Нажимаем «Новая подписка» и вводим адрес rss ленты. У лостфильма это http://lostfilm.tv/rssdd.xml.

Жмём правым кликом по добавленной rss ленте и заходим в управление куками.

Что бы узнать информацию о своих куках, то открываем сайт-трекер и заходим под своим ником. Затем кликаем на значок левее адреса сайта и нажимаем подробнее(так дело обстоит в firefox).

Переходим на вкладку защита и жмём кнопку «Просмотреть куки». Нас интересует содержимое ячеек uid и pass.

Содержимое ячеек и вносим в qbittorrent.

Добавлено: Для лостфильма нужно ещё содержимое usess. Посмотреть его можно в своём профиле на сайте.

Остаётся только настроить сам RSS загрузчик.

Создаём новые правила. Указываем какие слова должны содержаться в закачке и каких не должно быть. При желании указываем метку и место где сохранять. Вообщем и так всё видно на скриншоте.

Когда в RSS появится новая запись, которая удовлетворяет условиям правила, то загрузка начнётся автоматически, а rss ленте запись пометится, как прочитанная.

Поделись статьёй с друзьями

Или просто поиграйся с кнопочками

Please provide the following information

qBittorrent version and Operating System

qBittorrent v4.0.1, Windows 10

If on linux, libtorrent and Qt version

n/a

What is the problem

Upon double clicking a torrent in the RSS feed, I am hit with this error:

Failed to load torrent: C:Users…AppDataLocalTemp.qBittorrentOCQ772
Error: expected value (list, dict, int or string) in bencoded string

What is the expected behavior

The torrent clicked will download

Steps to reproduce

Open RSS, double click any torrent

Extra info(if any)

RSS link: https://animetosho.org/feed/rss2?only_tor=1&q=AnimeRG

All 22 comments

Linux Ubuntu 16.04 LTS
qBittorrent v4.0.1
RSS feed: https://yts.am/rss/0/all/all/0

I have the same problem with YTS.ag RSS feed. It stared a few day ago. If I double click rss feeds from last week its fine but any of the new ones I get «Failed to load the torrent: /tmp/.qBittorrent/p14121.
Error: expected value (list, dict, int or string) in bencoded string»

Fixed in master. Fix will be release with v.4.0.2.

I just installed v.4.0.2 and the problem is still there.
__Failed to load the torrent: /tmp/.qBittorrent/s14765.
Error: expected value (list, dict, int or string) in bencoded string_
I’ll post an update once the RSS updates with new feeds just in case its just an old file handled wrong.

RSS feed: https://yts.am/rss/0/all/all/0

@dstorrez, if you mean the feed above it works properly now (tested one more time just now). Apparently you tried to load torrent from already corrupted article (loaded by previous qBittorrent version).

@glassez You are 100% correct. its working perfectly now. Thank you for the follow up.
I checked today’s feed and everything came through the way it was supposed to.

v.4.0.3 (Windows 10) The problem persists…
screenshot_1

v.4.0.3 (Windows 10) The problem persists…

What is affected feed URL?

I am not very familiar with the term «feed URL». Double click to download torrents in the search results. Problem appears sometimes not always.

What «search results» you’re talking about?
FYI, this issue is about downloading torrents from RSS feeds (assuming someone who use RSS should understand «feed URL» term).

Sorry for my «noobity». I am referring to the search function/tab in qbittorrent. You search for a term. A list of torrents comes up (search results). You double click one to download.

You choose wrong topic for your issue (besides, closed). You should create the new one (unless you find the existing one with the similar problem). Otherwise you risk to remain without a solution to your problem.
What you have describe here is merely the symptoms and not the problem itself. It can be caused by various problems. In your case it could be either a wrong/outdated search plugin, or incorrect return value of search site, or something else… In any case, you should ask the devs familiar with search engine/plugins.

@tkmax83, the same issue as above. Your feed doesn’t contain any torrent links.

@glassez how are you checking that?

@glassez how are you checking that?

Try to load it manually and see its source. qBittorrent expects <link> has torrent link (either magnet or direct link to the torrent file). Your Feed has link to some web page there.

this problem just started today for me… my rss feeds work on my other computer also qbittorrent.

@andnym3, just checked your Feed. Currently it doesn’t provide direct links to torrent files but to some web page that loads torrent using javascript or other tricks. qBittorrent cannot process web pages. It expects torrent files or magnet links only.

@iyagicom
Sorry for the late response… None of your files are torrent files. These are actually HTML files.

Was this page helpful?

0 / 5 — 0 ratings

Please provide the following information

qBittorrent version and Operating System

qBittorrent v4.0.1, Windows 10

If on linux, libtorrent and Qt version

n/a

What is the problem

Upon double clicking a torrent in the RSS feed, I am hit with this error:

Failed to load torrent: C:Users…AppDataLocalTemp.qBittorrentOCQ772
Error: expected value (list, dict, int or string) in bencoded string

What is the expected behavior

The torrent clicked will download

Steps to reproduce

Open RSS, double click any torrent

Extra info(if any)

RSS link: https://animetosho.org/feed/rss2?only_tor=1&q=AnimeRG

All 22 comments

Linux Ubuntu 16.04 LTS
qBittorrent v4.0.1
RSS feed: https://yts.am/rss/0/all/all/0

I have the same problem with YTS.ag RSS feed. It stared a few day ago. If I double click rss feeds from last week its fine but any of the new ones I get «Failed to load the torrent: /tmp/.qBittorrent/p14121.
Error: expected value (list, dict, int or string) in bencoded string»

Fixed in master. Fix will be release with v.4.0.2.

I just installed v.4.0.2 and the problem is still there.
__Failed to load the torrent: /tmp/.qBittorrent/s14765.
Error: expected value (list, dict, int or string) in bencoded string_
I’ll post an update once the RSS updates with new feeds just in case its just an old file handled wrong.

RSS feed: https://yts.am/rss/0/all/all/0

@dstorrez, if you mean the feed above it works properly now (tested one more time just now). Apparently you tried to load torrent from already corrupted article (loaded by previous qBittorrent version).

@glassez You are 100% correct. its working perfectly now. Thank you for the follow up.
I checked today’s feed and everything came through the way it was supposed to.

v.4.0.3 (Windows 10) The problem persists…
screenshot_1

v.4.0.3 (Windows 10) The problem persists…

What is affected feed URL?

I am not very familiar with the term «feed URL». Double click to download torrents in the search results. Problem appears sometimes not always.

What «search results» you’re talking about?
FYI, this issue is about downloading torrents from RSS feeds (assuming someone who use RSS should understand «feed URL» term).

Sorry for my «noobity». I am referring to the search function/tab in qbittorrent. You search for a term. A list of torrents comes up (search results). You double click one to download.

You choose wrong topic for your issue (besides, closed). You should create the new one (unless you find the existing one with the similar problem). Otherwise you risk to remain without a solution to your problem.
What you have describe here is merely the symptoms and not the problem itself. It can be caused by various problems. In your case it could be either a wrong/outdated search plugin, or incorrect return value of search site, or something else… In any case, you should ask the devs familiar with search engine/plugins.

@tkmax83, the same issue as above. Your feed doesn’t contain any torrent links.

@glassez how are you checking that?

@glassez how are you checking that?

Try to load it manually and see its source. qBittorrent expects <link> has torrent link (either magnet or direct link to the torrent file). Your Feed has link to some web page there.

this problem just started today for me… my rss feeds work on my other computer also qbittorrent.

@andnym3, just checked your Feed. Currently it doesn’t provide direct links to torrent files but to some web page that loads torrent using javascript or other tricks. qBittorrent cannot process web pages. It expects torrent files or magnet links only.

@iyagicom
Sorry for the late response… None of your files are torrent files. These are actually HTML files.

Was this page helpful?

0 / 5 — 0 ratings

Не так давно на хабре была статья о том, как мониторить rss ленту трекера и скачивать интересующие нас закачки. Хотя способ и интересный, но всё можно сделать проще средствами одного из самых популярных торент-клиентов для linux — qbittorrent. К тому же, qbittorrent кроссплатформенный, а значит его можно настроить и на windows.

Если он у вас ещё не установлен, то ищите его в стандартных репозиториях. Например в ubuntu его можно установить командой:

sudo apt-get install qbittorrent

В качестве примера будем рассматривать трекер lostfilm.tv.

Открываем qbittorrent и переходим на вкладку RSS

Нажимаем «Новая подписка» и вводим адрес rss ленты. У лостфильма это http://lostfilm.tv/rssdd.xml.

Жмём правым кликом по добавленной rss ленте и заходим в управление куками.

Что бы узнать информацию о своих куках, то открываем сайт-трекер и заходим под своим ником. Затем кликаем на значок левее адреса сайта и нажимаем подробнее(так дело обстоит в firefox).

Переходим на вкладку защита и жмём кнопку «Просмотреть куки». Нас интересует содержимое ячеек uid и pass.

Содержимое ячеек и вносим в qbittorrent.

Добавлено: Для лостфильма нужно ещё содержимое usess. Посмотреть его можно в своём профиле на сайте.

Остаётся только настроить сам RSS загрузчик.

Создаём новые правила. Указываем какие слова должны содержаться в закачке и каких не должно быть. При желании указываем метку и место где сохранять. Вообщем и так всё видно на скриншоте.

Когда в RSS появится новая запись, которая удовлетворяет условиям правила, то загрузка начнётся автоматически, а rss ленте запись пометится, как прочитанная.

Поделись статьёй с друзьями

Или просто поиграйся с кнопочками

Please provide the following information

qBittorrent version and Operating System

qBittorrent 4.1.6.99 (64bit) from repos, Linux Mint 18.3 (Ubuntu 16.04)

If on linux, libtorrent and Qt version

libtorrent 1.1.13, Qt5 5.5.1 and Qt4 4.8.7

What is the problem

After last update when opening .torrent files I get the following message:
Invalid torrent - Failed to load torrent:... Error: expected value (list, dict, int or string) in bencoded string
Magnet links are working fine

What is the expected behavior

It is supposed to add the torrent to the download list

Steps to reproduce

Download a .torrent file and open it with qBittorrent

Extra info(if any)

Similar problem as in here and here


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

After quick digging(not much time now to investigate), the last issue is probably an issue shamael fixed and described previously: viewtopic.php?f=7&t=48629

Your first and main issue I’m sorry I don’t know, and is usually reported from users using RSS feeds somehow corrupted or wrong othetwise(e.g no links in feed). On qbittorrent it was reported often through time, and they made some improvements but still reported afterwards often. Puzzling though that sometimes you can fix by recheck/announce and at end of download, so couldn’t really be corrupted feed, even if was/is using RSS. Sorry cannot help, but only had time though for a quick search.

As shamael correctly stated, there are some issues for some, with libtorrent 1.2.4 and for some also on 1.2.5, but you then afterwards posted commands showing using 1.1.11, but could of course help upgrading regardless, but again sorry I don’t know from top of head where/how to get newer libtorrent on ubuntu if wanna try that, sorry, but you can probably Google it, e.g a PPA or otherwise development package as seemingly not in regular repos from your posted commands.

Hopefully others can help you out with this better :) Good luck.

Edit: The official deluge PPA isn’t with newer libtorrent, and there’s a development deluge PPA that’s newer, but still not using newest 1.1.x and 2 months old as newest PPA rebuild, plus shows deluge as having version 2.1.1 for some reason I don’t really get, as 2.1 not even released yet and dev-builds use other naming-scheme e.g latest currently is 2.0.4.dev23. If wanting to try upgrade libtorrent and see if helps your issue, then if not finding a PPA, then atleast I saw ubuntu 19.10 has next-newest 1.1.x so 1.1.13, which maybe you can try(don’t know how such works on ubuntu though), and I think is this, but maybe you need add it into your sources list for apt or something instead of downloading package and install, though there also could be dependency problems afterwards I dunno.

https://packages.ubuntu.com/eoan/libtorrent-rasterbar9 (python3-libtorrent is included in that package, it states when searching for that instead)

Otherwise there’s then:

Lbtorrent ubuntu ppa daily builds of 1.2.x:
https://launchpad.net/~libtorrent.org/+ … /1.2-daily

And of 1.1.x:
https://launchpad.net/~libtorrent.org/+ … -1.1-daily

Please provide the following information

qBittorrent version and Operating System

qBittorrent v4.0.1, Windows 10

If on linux, libtorrent and Qt version

n/a

What is the problem

Upon double clicking a torrent in the RSS feed, I am hit with this error:

Failed to load torrent: C:Users…AppDataLocalTemp.qBittorrentOCQ772
Error: expected value (list, dict, int or string) in bencoded string

What is the expected behavior

The torrent clicked will download

Steps to reproduce

Open RSS, double click any torrent

Extra info(if any)

RSS link: https://animetosho.org/feed/rss2?only_tor=1&q=AnimeRG

All 22 comments

Linux Ubuntu 16.04 LTS
qBittorrent v4.0.1
RSS feed: https://yts.am/rss/0/all/all/0

I have the same problem with YTS.ag RSS feed. It stared a few day ago. If I double click rss feeds from last week its fine but any of the new ones I get «Failed to load the torrent: /tmp/.qBittorrent/p14121.
Error: expected value (list, dict, int or string) in bencoded string»

Fixed in master. Fix will be release with v.4.0.2.

I just installed v.4.0.2 and the problem is still there.
__Failed to load the torrent: /tmp/.qBittorrent/s14765.
Error: expected value (list, dict, int or string) in bencoded string_
I’ll post an update once the RSS updates with new feeds just in case its just an old file handled wrong.

RSS feed: https://yts.am/rss/0/all/all/0

@dstorrez, if you mean the feed above it works properly now (tested one more time just now). Apparently you tried to load torrent from already corrupted article (loaded by previous qBittorrent version).

@glassez You are 100% correct. its working perfectly now. Thank you for the follow up.
I checked today’s feed and everything came through the way it was supposed to.

v.4.0.3 (Windows 10) The problem persists…
screenshot_1

v.4.0.3 (Windows 10) The problem persists…

What is affected feed URL?

I am not very familiar with the term «feed URL». Double click to download torrents in the search results. Problem appears sometimes not always.

What «search results» you’re talking about?
FYI, this issue is about downloading torrents from RSS feeds (assuming someone who use RSS should understand «feed URL» term).

Sorry for my «noobity». I am referring to the search function/tab in qbittorrent. You search for a term. A list of torrents comes up (search results). You double click one to download.

You choose wrong topic for your issue (besides, closed). You should create the new one (unless you find the existing one with the similar problem). Otherwise you risk to remain without a solution to your problem.
What you have describe here is merely the symptoms and not the problem itself. It can be caused by various problems. In your case it could be either a wrong/outdated search plugin, or incorrect return value of search site, or something else… In any case, you should ask the devs familiar with search engine/plugins.

@tkmax83, the same issue as above. Your feed doesn’t contain any torrent links.

@glassez how are you checking that?

@glassez how are you checking that?

Try to load it manually and see its source. qBittorrent expects <link> has torrent link (either magnet or direct link to the torrent file). Your Feed has link to some web page there.

this problem just started today for me… my rss feeds work on my other computer also qbittorrent.

@andnym3, just checked your Feed. Currently it doesn’t provide direct links to torrent files but to some web page that loads torrent using javascript or other tricks. qBittorrent cannot process web pages. It expects torrent files or magnet links only.

@iyagicom
Sorry for the late response… None of your files are torrent files. These are actually HTML files.

Was this page helpful?

0 / 5 — 0 ratings

Понравилась статья? Поделить с друзьями:
  • Python try except как получить текст ошибки
  • Qbittorrent выдает ошибку при скачивании
  • Python try except как вывести текст ошибки
  • Python средняя абсолютная ошибка
  • Python try except как вывести ошибку