Skip to content

Error during torrent loading #15

Description

@osdaeg

Hi! I'm getting the following error while loading torrents, but the torrents are still being added to qBittorrent. I have to run this command 5 times to add the torrents one by one.

kiwix-seeder   --qbt "http://user:pass@192.168.88.100:8081"   --filename "gutenberg_es_*"   --filename "ifixit_es_*"   --filename "wikibooks_es_all_maxi_*"   --filename "wikipedia_es_all_maxi_*"   --filename "wikipedia_es_all_mini_*"   --max-storage 80GB   --keep 4w
2026-06-05 02:15:41,369 INFO | Starting super-seeder with filters:
2026-06-05 02:15:41,370 INFO | Filenames: gutenberg_es_*, ifixit_es_*, wikibooks_es_all_maxi_*, wikipedia_es_all_maxi_*, wikipedia_es_all_mini_*
2026-06-05 02:15:41,370 INFO | Languages: all
2026-06-05 02:15:41,370 INFO | Categories: all
2026-06-05 02:15:41,370 INFO | Flavours: all
2026-06-05 02:15:41,370 INFO | Tags: all
2026-06-05 02:15:41,370 INFO | Authors: all
2026-06-05 02:15:41,370 INFO | Publishers: all
2026-06-05 02:15:41,370 INFO | Size: all
2026-06-05 02:15:41,370 INFO | Checking qBittorrent connection…
2026-06-05 02:15:41,383 INFO | > Connected to qBittorrent v5.2.1 ; fetching data…
2026-06-05 02:15:41,394 INFO | Fetching catalog…
2026-06-05 02:15:45,128 INFO | Catalog contains 3476 ZIMs
2026-06-05 02:15:45,685 INFO | Filters matches 5 ZIMs
2026-06-05 02:15:45,716 INFO | There are 3 torrents in kiwix-seeder
2026-06-05 02:15:45,798 INFO | Checking for existing torrents removal…
2026-06-05 02:15:45,799 INFO | > None
2026-06-05 02:15:45,799 INFO | Reconciling books and torrents (may require btih endpoint requests)
2026-06-05 02:15:45,899 INFO | Checking overall storage needs:
2026-06-05 02:15:45,899 INFO | - Total torrents: 46.89 GiB <= 74.51 GiB (max storage)
2026-06-05 02:15:45,899 INFO | Adding 2 torrents…
2026-06-05 02:15:45,954 ERROR | General failure: Failed to add torrent for https://lbo.download.kiwix.org/zim/wikipedia/wikipedia_es_all_maxi_2026-05.zim.torrent
2026-06-05 02:15:45,955 ERROR | Failed to add torrent for https://lbo.download.kiwix.org/zim/wikipedia/wikipedia_es_all_maxi_2026-05.zim.torrent
Traceback (most recent call last):
 File "/home/daniel/.local/lib/python3.13/site-packages/kiwixseeder/entrypoint.py", line 387, in main
   return runner.run()
          ~~~~~~~~~~^^
 File "/home/daniel/.local/lib/python3.13/site-packages/kiwixseeder/runner.py", line 90, in run
   self.add_books()
   ~~~~~~~~~~~~~~^^
 File "/home/daniel/.local/lib/python3.13/site-packages/kiwixseeder/runner.py", line 218, in add_books
   if self.manager.add(book):
      ~~~~~~~~~~~~~~~~^^^^^^
 File "/home/daniel/.local/lib/python3.13/site-packages/kiwixseeder/qbittorrent.py", line 74, in add
   btih = self.add_url(url=book.torrent_url, btih=book.btih)
 File "/home/daniel/.local/lib/python3.13/site-packages/kiwixseeder/qbittorrent.py", line 94, in add_url
   raise OSError(f"Failed to add torrent for {url}")
OSError: Failed to add torrent for https://lbo.download.kiwix.org/zim/wikipedia/wikipedia_es_all_maxi_2026-05.zim.torrent

In this case, wikipedia_es_all_maxi_2026-05.zim.torrent was indeed added to qBitTorrent.

Debian 13
Qbittorrent 5.2.1

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions