sortie violente de Qarte

Bug #2129714 reported by zarakoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Qarte
Fix Released
Undecided
VinsS

Bug Description

Bonsoir,
Lors du lancement de Qarte, dès qu'on sélectionne une vignette pour voir le descriptif (ou télécharger), Qarte sort directement.
Os : Debian 13
Log :
➜ qarte
21:54:04: INFO - core Set workspace
21:54:04: INFO - config Load config from: /home/toto/.Qarte/user_config
21:54:04: INFO - core with video player: True
21:54:04: INFO - core Build main window
21:54:04: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251014/
21:54:05: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251015/
21:54:05: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251016/
21:54:06: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251017/
21:54:06: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251018/
21:54:06: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251019/
21:54:06: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251020/
21:54:06: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251021/
21:54:06: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251022/
21:54:07: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251023/
21:54:07: INFO - artetv Check thumbnails
21:54:07: INFO - artetv Thumbnails completed, 0 news items.
21:54:07: INFO - artetv Found 294 videos in 2.467050313949585 sec.
21:54:07: INFO - artetv Get update ...
21:54:12: INFO - artetv arte tv list updated
21:54:12: INFO - artetv Clean thumbnail folder
21:54:12: INFO - arteconcert Get update ...
21:54:13: INFO - arteconcert Concert list updated
21:54:13: INFO - arteconcert show category: Métal
21:55:58: INFO - artetv Download item page: /fr/videos/109380-000-A/kenya-gardiennes-des-elephants/
21:55:58: INFO - artetv Load page: https://www.arte.tv/fr/videos/109380-000-A/kenya-gardiennes-des-elephants/
Traceback (most recent call last):
  File "/usr/share/qarte/gui/mainui.py", line 427, in selection_changed
    self.core.artetv.edit_summary(item[0].item)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/share/qarte/artetv.py", line 214, in edit_summary
    self.get_item_data(item)
    ~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/share/qarte/artetv.py", line 292, in get_item_data
    credits = meta["credits"]
              ~~~~^^^^^^^^^^^
KeyError: 'credits'
Abandon

Dispo pour faire des tests
Bonne soirée

Revision history for this message
zarakoff (zarakoff) wrote :

En complément du message précédent, j'ai refait un test (que je n'avais pas réussi à reproduire hier).
Même opération, même résultat mais message différent :
❯ qarte
08:34:38: INFO - core Set workspace
08:34:38: INFO - config Load config from: /home/jonckheere/.Qarte/user_config
08:34:38: INFO - core with video player: False
08:34:38: INFO - core Build main window
08:34:38: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251015/
08:34:38: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251016/
08:34:38: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251017/
08:34:38: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251018/
08:34:39: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251019/
08:34:39: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251020/
08:34:39: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251021/
08:34:40: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251022/
08:34:40: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251023/
08:34:40: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20251024/
08:34:40: INFO - artetv Check thumbnails
08:34:40: INFO - artetv Thumbnails completed, 0 news items.
08:34:40: INFO - artetv Found 294 videos in 2.6844100952148438 sec.
08:34:40: INFO - artetv Get update ...
08:34:41: INFO - artetv arte tv list updated
08:34:41: INFO - artetv Clean thumbnail folder
08:34:41: INFO - arteconcert Get update ...
08:34:41: INFO - arteconcert Concert list updated
08:34:41: INFO - arteconcert show category: Métal
08:34:43: INFO - artetv Download item page: /fr/videos/118611-002-A/le-massif-central/
08:34:43: INFO - artetv Load page: https://www.arte.tv/fr/videos/118611-002-A/le-massif-central/
08:34:44: INFO - artetv Read error: Extra data: line 1 column 4695 (char 4694)
Traceback (most recent call last):
  File "/usr/share/qarte/artetv.py", line 277, in get_item_data
    data = json.loads(donn)
  File "/usr/lib/python3.13/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^
  File "/usr/lib/python3.13/json/decoder.py", line 348, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 4695 (char 4694)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/qarte/gui/mainui.py", line 427, in selection_changed
    self.core.artetv.edit_summary(item[0].item)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/share/qarte/artetv.py", line 214, in edit_summary
    self.get_item_data(item)
    ~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/share/qarte/artetv.py", line 282, in get_item_data
    with open("item.jsn", "w") as outf:
         ~~~~^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission non accordée: 'item.jsn'
Abandon

Si je fais un sudo qarte à partir d'un terminal, ça marche, mais le synopsis est vide (hormis le titre).
test fait sur d'anciens reportage.
Cordialement
Zarakoff

Revision history for this message
Hervé CROISET (hcros2000) wrote :

Bonsoir,
Peut-être en relation avec le bug cité, j'ajoute une trace d'un comportement qui me semble complémentaire.

9:16:43: INFO - artetv get_item_data Page /fr/videos/115571-153-A/invitation-au-voyage/
09:16:43: INFO - artetv Load page: https://www.arte.tv/fr/videos/115571-153-A/invitation-au-voyage/
09:16:44: INFO - artetv Read error: Extra data: line 1 column 15274 (char 15273)
 arteTV->edit_summary desc
 arteTV->edit_summary Résumé Invitation au voyage None

 Core->on_tv_item_selected
09:16:44: INFO - core Choose: Invitation au voyage
 MainUi->closeEvent
09:16:57: INFO - core close_application : Prepare to exit

Cordialement
H. C.

Changed in qarte:
status: New → In Progress
assignee: nobody → VinsS (vincent-vandevyvre)
Revision history for this message
VinsS (vincent-vandevyvre) wrote :

Ce bug est fixé dans la version 5.14.0

Changed in qarte:
status: In Progress → Fix Released
Revision history for this message
katnatek (katnatek) wrote :

I can't download the updated sources, exist a change in the tarball format?

downloading from https://oqapy.eu/releases/qarte-5.14.0.tar.gz
--2025-10-31 11:10:54-- https://oqapy.eu/releases/qarte-5.14.0.tar.gz
Resolving oqapy.eu (oqapy.eu)... 212.85.158.4, 2a02:2178:1000:201::4
Connecting to oqapy.eu (oqapy.eu)|212.85.158.4|:443... connected.
HTTP request sent, awaiting response... 404 NOT FOUND
2025-10-31 11:10:59 ERROR 404: NOT FOUND.

error: Could not download file https://oqapy.eu/releases/qarte-5.14.0.tar.gz

Revision history for this message
katnatek (katnatek) wrote :

And here https://oqapy.eu/download?lang=en still just have 5.13 version

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

Sorry, fixed.
Thanks

Revision history for this message
katnatek (katnatek) wrote :

Updating mageia's package, thank you

Revision history for this message
katnatek (katnatek) wrote :
Download full text (3.2 KiB)

A mageia's user report (https://bugs.mageia.org/show_bug.cgi?id=34703#c4) a fail with the 5.14.0 version

No more crash but downloads fail when merging either
in Arte TV:

"0:17:00: INFO - core Choose: L'appât
10:17:01: INFO - core Choose: L'appât
10:17:02: INFO - artetv Load page: https://api.arte.tv/api/player/v2/config/fr/124743-000-A
10:17:02: INFO - artetv Get versions available
        url: https://manifest-arte.akamaized.net/api/manifest/v1/Generate/a9f52c2a-dce7-4e11-be2b-e35829496d0c/fr/XQ+KS+CHEV1/124743-000-A.m3u8
10:17:02: INFO - downloader Task added: 124743-000-A, tot: 1
10:17:03: INFO - downloader Get m3u8 file 0:
   https://arte-cmafhls.akamaized.net/am/cmaf-extrait/124000/124700/124743-000-A_VF-STF/20250928218B4331954304AA83F8BE16AF450D0156/medias/124743-000-A_v720.m3u8
10:17:03: INFO - downloader Get m3u8 file 0:
   https://arte-cmafhls.akamaized.net/am/cmaf-extrait/124000/124700/124743-000-A_VF-STF/20250928218B4331954304AA83F8BE16AF450D0156/medias/124743-000-A_aud_VF-FRA_3.m3u8
10:17:03: INFO - downloader initiate loader: https://arte-cmafhls.akamaized.net/am/cmaf-extrait/124000/124700/124743-000-A_VF-STF/20250928218B4331954304AA83F8BE16AF450D0156/medias/124743-000-A_v720.mp4
        /home/phil/.Qarte/temp/124743-000-Avideo.mp4
10:17:03: INFO - downloader Start download L'appât file size: 27143534
10:17:03: INFO - downloader URL: https://arte-cmafhls.akamaized.net/am/cmaf-extrait/124000/124700/124743-000-A_VF-STF/20250928218B4331954304AA83F8BE16AF450D0156/medias/124743-000-A_v720.mp4
10:17:03: INFO - downloader initiate loader: https://arte-cmafhls.akamaized.net/am/cmaf-extrait/124000/124700/124743-000-A_VF-STF/20250928218B4331954304AA83F8BE16AF450D0156/medias/124743-000-A_aud_VF-FRA_3.mp4
        /home/phil/.Qarte/temp/124743-000-Aaudio.mp4
10:17:03: INFO - downloader Start download audio file size: 1976048
10:17:04: INFO - artetv File /home/phil/.Qarte/temp/124743-000-Avideo.mp4 downloaded
10:17:04: INFO - downloader Merge 2 files
10:17:04: INFO - downloader Merging finished, file: /home/phil/.Qarte/temp/124743-000-Afinal.mp4
10:17:04: WARNING - downloader Merging failed ! file not present"

Or in Arte Concert:

"10:21:40: INFO - arteconcert Display info of Slowdive
10:21:42: INFO - arteconcert Append item 116751-000-A to download basket
10:21:43: INFO - arteconcert read: https://arte-cmafhls.akamaized.net/am/cmaf-concert/116000/116700/116751-000-A/2025051705FF5B557DB628E393BCC703A2777B6E2D/medias/116751-000-A_v720.m3u8
10:21:44: INFO - arteconcert read: https://arte-cmafhls.akamaized.net/am/cmaf-concert/116000/116700/116751-000-A/2025051705FF5B557DB628E393BCC703A2777B6E2D/medias/116751-000-A_aud_VO-ANG_1.m3u8
10:21:44: INFO - arteconcert Start download Slowdive file size: 967015564
10:21:44: INFO - arteconcert URL: https://arte-cmafhls.akamaized.net/am/cmaf-concert/116000/116700/116751-000-A/2025051705FF5B557DB628E393BCC703A2777B6E2D/medias/116751-000-A_v720.mp4
10:21:44: INFO - arteconcert Start download audio file size: 57954788
10:21:44: INFO - arteconcert Summary saved: /home/phil/Vidéos/Arte/index
10:22:22: INFO - arteconcert File /home/phil/.Qarte/temp/116751-000-Avideo.mp4 downloaded
10:22:22: INFO - arteconcer...

Read more...

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.