Pas de téléchargement sur MANJARO

Bug #2003318 reported by jicsda2
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Qarte
Confirmed
Undecided
VinsS

Bug Description

Bonjour,
j'ai une erreur si je veux télécharger une vidéo (Planète d'eau du 2023-01-19 14-45).
Je suis sur une MANJARO à jour.

log dans un terminal :

10:18:44: INFO - artetv Download item page: /fr/videos/065302-004-F/planete-d-eau/
10:18:44: INFO - artetv Load page: https://www.arte.tv/fr/videos/065302-004-F/planete-d-eau/
10:18:45: INFO - core Choose: Planète d’eau
10:18:45: INFO - artetv Load page: https://api.arte.tv/api/player/v2/config/fr/065302-004-F
10:18:45: INFO - artetv Get versions available
 url: https://arte-cmafhls.akamaized.net/am/cmaf/065000/065300/065302-004-F/221227055140/065302-004-F_VF_XQ.m3u8
10:18:45: INFO - artetv Get versions available
 url: https://arte-cmafhls.akamaized.net/am/cmaf/065000/065300/065302-004-F/221227055140/065302-004-F_VOA_XQ.m3u8
10:18:45: INFO - downloader Task added: 065302-004-F
10:18:47: INFO - downloader Get m3u8 file:
   https://arte-cmafhls.akamaized.net/am/cmaf/065000/065300/065302-004-F/221227055140/medias/065302-004-F_v720.m3u8
10:18:47: INFO - downloader Error when reading m3u8:
 list indices must be integers or slices, not str
10:18:47: INFO - downloader Get m3u8 file:
   https://arte-cmafhls.akamaized.net/am/cmaf/065000/065300/065302-004-F/221227055140/medias/065302-004-F_aud_VF.m3u8
10:18:47: INFO - downloader Error when reading m3u8:
 list indices must be integers or slices, not str
10:18:47: INFO - downloader Loading error: 'bool' object has no attribute 'timeout'

De plus il est impossible de quitter qarte. La fenêtre "Téléchargement incomplet" s'affiche. Je dois faire un kill du processus.

Bon courage à vous et un grand merci pour cette appli.
JC

jicsda2 (jicsda2)
description: updated
description: updated
Revision history for this message
VinsS (vincent-vandevyvre) wrote :

Pas de problème chez moi avec cette vidéo.

Peut-être un problème ponctuel chez Arte.tv.

Revision history for this message
jicsda2 (jicsda2) wrote :

Je viens de tester et toutes les vidéos ont le même problème. Sûrement un problème chez moi, mais je ne sais pas où commencer! Je pensais à un soucis avec la lib m3u8. Je vais la réinstaller.

Revision history for this message
jicsda2 (jicsda2) wrote :

Ce n'est pas ça. Le problème persiste.

Revision history for this message
jicsda2 (jicsda2) wrote :

Suppression complète de qarte et m3u8. Réinstall et toujours le même soucis. Mais j'ai remarqué que certaines se lance comme "Les Pyrénées secrètes 2023-01-20", mais la vitesse de transfert indique un nombre négatif et je n'ai que ~1mn de vidéo. Sinon sur la majorité c'est le plantage.
Si je peux aider, j'en serais ravis, mais il faut me guider.

Bien cordialement

Revision history for this message
DidierG (didierga) wrote :

J'ai le même problème sur Fedora 37:

19:32:43: INFO - downloader Task added: 107023-010-A
19:32:45: INFO - downloader Get m3u8 file:
   https://arte-cmafhls.akamaized.net/am/cmaf/107000/107000/107023-010-A/230129111056/medias/107023-010-A_v720.m3u8
19:32:45: INFO - downloader Error when reading m3u8:
 list indices must be integers or slices, not str
19:32:45: INFO - downloader Get m3u8 file:
   https://arte-cmafhls.akamaized.net/am/cmaf/107000/107000/107023-010-A/230129111056/medias/107023-010-A_aud_VOF.m3u8
19:32:45: INFO - downloader Error when reading m3u8:
 list indices must be integers or slices, not str
19:32:45: INFO - downloader Loading error: 'bool' object has no attribute 'timeout'

Revision history for this message
genneret (genneret-philippe) wrote :

Idem with Fedora 38

15:25:15: INFO - downloader Task added: 090597-000-A
15:25:15: INFO - downloader Get m3u8 file:
   https://arte-cmafhls.akamaized.net/am/cmaf/090000/090500/090597-000-A/230413073557/medias/090597-000-A_v720.m3u8
15:25:15: INFO - downloader Error when reading m3u8:
        list indices must be integers or slices, not str
15:25:15: INFO - downloader Get m3u8 file:
   https://arte-cmafhls.akamaized.net/am/cmaf/090000/090500/090597-000-A/230413073557/medias/090597-000-A_aud_VOF-FRA_2.m3u8
15:25:16: INFO - downloader Error when reading m3u8:
        list indices must be integers or slices, not str
15:25:16: INFO - downloader Get m3u8 file:
   https://arte-cmafhls.akamaized.net/am/cmaf/090000/090500/090597-000-A/230413073557/medias/090597-000-A_st_VF-FRA.m3u8
15:25:16: INFO - downloader Loading error: 'bool' object has no attribute 'timeout'
15:25:18: INFO - artetv Cancel downloading

Revision history for this message
katnatek (katnatek) wrote :

In mageia also have this issue https://bugs.mageia.org/show_bug.cgi?id=31591#c33
Exist a patch or way to fix this?

Revision history for this message
Rémi Verschelde (rverschelde-b) wrote :

Hi VinsS, the problem comes from the version of the Python m3u8 package.

m3u8 broke compatibility for its API in 2.0.0 in a way which affects qarte: https://github.com/globocom/m3u8/releases/tag/2.0.0

That's why anyone on recent distros which provide m3u8 >= 2.0.0 are no longer able to use qarte, unless they uninstall their distro-provided m3u8 package to install 1.0.0 with pip.

I've confirmed on Mageia 9 that qarte 5.5.0 works fine after uninstall Mageia's python3-m3u8 3.4.0, and install version 1.0.0 with:

pip install m3u8==1.0.0

Would it be possible to solve this compatibility issue in the next release?

Revision history for this message
Rémi Verschelde (rverschelde-b) wrote :

This patch fixes it: https://svnweb.mageia.org/packages/cauldron/qarte/current/SOURCES/qarte-5.5.0-fix-m3u8-2.0.0-support.patch?view=markup&pathrev=2001631

But you might want to make it condition based on the version of m3u8 if you want to keep support for m3u8 < 2.0.0 for older distros, and >= 2.0.0 for newer.

Changed in qarte:
status: New → Confirmed
assignee: nobody → VinsS (vincent-vandevyvre)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.