Bug 34159 - qarte is broken again
Summary: qarte is broken again
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2025-04-02 20:52 CEST by Philippe Flat
Modified: 2025-04-10 02:23 CEST (History)
5 users (show)

See Also:
Source RPM: qarte
CVE:
Status comment:


Attachments
Arte Concerts fail leading to core dump (2.61 KB, text/plain)
2025-04-03 23:54 CEST, Len Lawrence
Details

Description Philippe Flat 2025-04-02 20:52:45 CEST
Description of problem:
arte.tv has changed the url of the video and qarte is unable to retrieve the lists and the videos.

See https://bugs.launchpad.net/qarte/+bug/2102036
The version 5.9.0 solved the issue.

Version-Release number of selected component (if applicable):


How reproducible:
every launch.

Steps to Reproduce:
1.Launch qarte
2.Nothing is displayed in the window of arte.tv
3.In console, it displays a warning HTTP Error 309 for each url.
Comment 1 katnatek 2025-04-03 00:45:38 CEST
I assume this is an issue for cauldron too

Whiteboard: (none) => MGA9TOO
Version: 9 => Cauldron
Source RPM: qarte5.5.0 1.1.mga9 => qarte

katnatek 2025-04-03 01:00:40 CEST

CC: (none) => yvesbrungard
Assignee: bugsquad => j.alberto.vc

Comment 2 katnatek 2025-04-03 01:34:50 CEST
Fixed in cauldron

Version: Cauldron => 9
Whiteboard: MGA9TOO => (none)

Comment 3 katnatek 2025-04-03 01:57:12 CEST
Package:

qarte-5.9.0-1.mga9

SRPM:
qarte-5.9.0-1.mga9

Assignee: j.alberto.vc => qa-bugs

Comment 4 Len Lawrence 2025-04-03 23:48:06 CEST
mga9, x64
$ rpm -q qarte
qarte-5.5.0-1.1.mga9
$ qarte
21:44:39: INFO - artetv Sorting videos
21:44:39: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20250326/
21:44:39: WARNING - artetv urllib error: https://www.arte.tv/fr/guide/20250326/, HTTP Error 309: Unknown
21:44:39: INFO - artetv Sorting videos
21:44:39: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20250327/
21:44:39: WARNING - artetv urllib error: https://www.arte.tv/fr/guide/20250327/, HTTP Error 309: Unknown
21:44:39: INFO - artetv Sorting videos
21:44:39: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20250328/
21:44:39: WARNING - artetv urllib error: https://www.arte.tv/fr/guide/20250328/, HTTP Error 309: Unknown
21:44:39: INFO - artetv Sorting videos
21:44:39: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20250329/
21:44:40: WARNING - artetv urllib error: https://www.arte.tv/fr/guide/20250329/, HTTP Error 309: Unknown
...

The gui is not useful.  Updated the package.
$ rpm -q qarte
qarte-5.9.0-1.mga9
$ qarte
21:54:21: INFO - core Set workspace
21:54:21: INFO - config Load config from: /home/lcl/.Qarte/user_config
21:54:21: INFO - core with video player: True
21:54:21: INFO - core Build main window
21:54:22: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20250325/
21:54:22: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20250326/
[...]
21:54:28: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20250403/
21:54:29: INFO - artetv Check thumbnails
21:55:14: INFO - artetv Thumbnails completed, 220 news items.
21:55:14: INFO - artetv Found 287 videos in 51.94831156730652 sec.
21:55:14: INFO - artetv Get update ...
21:55:14: INFO - artetv arte tv list updated
21:55:14: INFO - artetv Clean thumbnail folder
21:55:14: INFO - arteconcert Get update ...
21:55:15: INFO - arteconcert Concert list updated
21:55:15: INFO - arteconcert show category: Collections

and the arte TV index page shows up with all the latest programmes.
The application detects the fact that I am in the UK and refuses download of "37 secondes".  The summary information is presented OK.
<quote>
 Can't found the list of stream's urls
 Reason: This video is not available, sorry.
 Note: you are located in United Kingdom
</quote>

"Les Etrusques" was allowed.  Set the properties for downloading the video, 1920x1080, English subtitles, replaced spaces in the title with underscores and started it.
~10700 kilobytes / second.  Found a new MKV file in user's home directory.

Les_Étrusques,_une_civilisation_mystérieuse_de_Méditerranée_.mkv
This played well in vlc with subtitles enabled.
Found .Quarte in user's home directory as well.
$ ls .Qarte
concerts_fr.jsn  livePreviews/  plusPreviews/  temp/  user_config

Edited the user_config file to set the download directory to ~/Videos.

Switched to the Concerts side and selected a genre then Handel's "Hallelujah" and tried to play it and hit a problem which may be a new bug.  The TV side seems to be OK now.

Have attached a transcript of the core dump.  Should this be classed as a new bug?

CC: (none) => tarazed25

Comment 5 Len Lawrence 2025-04-03 23:54:24 CEST
Created attachment 14934 [details]
Arte Concerts fail leading to core dump

This could be caused by user procedural ignorance.
More checks are in order.
Comment 6 Len Lawrence 2025-04-04 01:31:27 CEST
In reply to Len Lawrence in comment #4:
Downloaded the data that the application was pointing at when it crashed, json  by the look of it.

{"data":{"id":"075399-044-A_fr","type":"ConfigPlayer","attributes":{"provider":"arte","metadata":{"providerId":"075399-044-A","language":"fr","title":"Georg Friedrich Haendel | \u201eHallelujah\u201c","subtitle":null,"description":"Le Frankfurt Radio Symphony et le ch\u0153ur du Concert d'Astr\u00e9e sous la direction d'Emmanuelle Ha\u00efm interpr\u00e8te \"Hallelujah\" de l'oratorio \"Messiah\" de\u00a0Georg Friedrich Haendel.","images":[{"url":"https:\/\/api-cdn.arte.tv\/img\/v2\/image\/tpVdpnqsWp6z3XnigbdaMo\/940x530","caption":"Le ch\u0153ur du Concert d'Astr\u00e9e et le Frankfurt Radio Symphony"}],"link":{"url":"https:\/\/www.arte.tv\/fr\/videos\/075399-044-A\/georg-friedrich-haendel-hallelujah\/","deeplink":"arte:\/\/program\/075399-044-A","videoOnDemand":null,"replayUrl":null},"config":{"url":"https:\/\/api.arte.tv\/api\/player\/v2\/config\/fr\/075399-044-A","replay":null,"playlist":"https:\/\/api.arte.tv\/api\/player\/v2\/playlist\/fr\/075399-044-A","nextPage":null,"nextEpisode":null,"trailer":null},"duration":{"seconds":377},"durationReplay":null,"episodic":false},"live":false,"chapters":null,"rights":null,"streams":[],"stat":null,"ads":{"smart":null},"restriction":null,"stickers":[{"code":"TRAILER","label":"BANDE-ANNONCE"}],"autoplay":true,"warnings":[],"error":{"code":"ERROR_NO_RIGHTS","title":"Cette vid\u00e9o n'est plus disponible.","message":""}}}}

No idea how to interpret that or how it is used - webserver stuff.  The warning about "this video no longer available" may or may not apply.  In any case we should not expect a crash.  Looks like it is an upstream problem.
Comment 7 PC LX 2025-04-04 12:09:56 CEST
Installed and tested without issues.

Looked at several videos lists, selected and downloaded several random videos. All downloads worked and the videos played correctly.

There was one time where the application aborted. See the following output lines:
"""
11:02:22: INFO - gui.mainui Display 20 items
11:02:28: INFO - artetv Download item page: /fr/videos/RC-024587/chats-et-chiens-comment-ils-ont-conquis-le-monde/
11:02:28: INFO - artetv Load page: https://api.arte.tv/api/player/v2/config/fr/RC-024587
11:02:29: INFO - artetv Choose: Chats et chiens, id: RC-024587
11:02:29: INFO - artetv Load page: https://api.arte.tv/api/player/v2/config/fr/RC-024587
Traceback (most recent call last):
  File "/usr/share/qarte/gui/mainui.py", line 392, in mousePressEvent
    self.core.on_tv_item_selected(item.index)
  File "/usr/share/qarte/core.py", line 169, in on_tv_item_selected
    self.artetv.display_category_content(idx)
  File "/usr/share/qarte/artetv.py", line 724, in display_category_content
    self.display_sub_category(item)
  File "/usr/share/qarte/artetv.py", line 749, in display_sub_category
    number = int(parts2[-1])
ValueError: invalid literal for int() with base 10: 'monde'
Abortado (núcleo despejado)
"""

This update is an improvement from the previous version, that did not work at all, and I could restart after the crash so I'm giving it an OK.



System: Mageia 9, x86_64, Plasma DE, AMD Ryzen 5 5600G with Radeon Graphics using amdgpu driver.



$ uname -a
Linux jupiter 6.6.83-desktop-1.mga9 #1 SMP PREEMPT_DYNAMIC Sun Mar 16 01:09:35 UTC 2025 x86_64 GNU/Linux
$ rpm -q qarte
qarte-5.9.0-1.mga9

CC: (none) => mageia

Comment 8 Len Lawrence 2025-04-04 17:03:12 CEST
So should I also give it an OK because the original issue seems to be fixed and then open a new bug on the later issue?
Len Lawrence 2025-04-04 18:09:56 CEST

Whiteboard: (none) => MGA9-64-OK

Comment 9 Len Lawrence 2025-04-04 18:11:35 CEST
How to remove the attachment?  It is not relevant to the this bug.
katnatek 2025-04-04 18:47:42 CEST

Attachment 14934 is obsolete: 0 => 1

Comment 10 katnatek 2025-04-04 18:48:34 CEST
(In reply to Len Lawrence from comment #9)
> How to remove the attachment?  It is not relevant to the this bug.

Marked as obsolete, I think is all we can do
Comment 11 Len Lawrence 2025-04-04 20:24:31 CEST
Thanks katnatek.
Comment 12 Thomas Andrews 2025-04-05 19:52:58 CEST
Thanks, everyone!   Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

katnatek 2025-04-06 04:59:48 CEST

Keywords: (none) => advisory

Comment 13 Mageia Robot 2025-04-10 02:23:46 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2025-0036.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.