Qarte 4.11.0 crash

Bug #1938087 reported by manu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Qarte
Fix Released
Undecided
Unassigned

Bug Description

Hi/bonjour,

$ qarte
21:45:27: INFO - core Set workspace
21:45:27: INFO - core Load config from: /home/moi/.Qarte/user_config
21:45:27: INFO - core with video player: True
21:45:27: INFO - core Build main window
21:45:27: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20210716/
Traceback (most recent call last):
  File "/usr/bin/qarte", line 117, in <module>
    main = Core(args)
  File "/usr/share/qarte/core.py", line 69, in __init__
    self.artetv.config_parser()
  File "/usr/share/qarte/artetv.py", line 94, in config_parser
    self.parser = Parser(ARTE_TV.replace('fr', self.lang))
  File "/usr/share/qarte/artetv.py", line 1216, in __init__
    raw = self.extract_json(page)
  File "/usr/share/qarte/artetv.py", line 1271, in extract_json
    part = content.split("window.__INITIAL_STATE__ =")[1]
IndexError: list index out of range

$ qarte -v

 Qarte vers: 4.11.0

    Copyright (C) 2011-2020 Vincent Vande Vyvre <email address hidden>
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Revision history for this message
manu (manu.pintor) wrote :

$ qarte -d
22:00:40: INFO - qarte Qarte-4.11.0
22:00:40: INFO - qarte Python 3.8.10 on Linux-5.4.0-80-generic-x86_64-with-glibc2.29
22:00:40: INFO - qarte File system encoding: utf-8
22:00:40: INFO - qarte System encoding: utf-8
22:00:40: INFO - qarte Locale encoding: ('fr_FR', 'UTF-8')
22:00:40: INFO - core Set workspace
22:00:40: INFO - core Load config from: /home/moi/.Qarte/user_config
22:00:40: INFO - core with video player: True
22:00:40: INFO - core Build main window
22:00:41: INFO - artetv Fetch page: https://www.arte.tv/fr/guide/20210716/
Traceback (most recent call last):
  File "/usr/bin/qarte", line 117, in <module>
    main = Core(args)
  File "/usr/share/qarte/core.py", line 69, in __init__
    self.artetv.config_parser()
  File "/usr/share/qarte/artetv.py", line 94, in config_parser
    self.parser = Parser(ARTE_TV.replace('fr', self.lang))
  File "/usr/share/qarte/artetv.py", line 1216, in __init__
    raw = self.extract_json(page)
  File "/usr/share/qarte/artetv.py", line 1271, in extract_json
    part = content.split("window.__INITIAL_STATE__ =")[1]
IndexError: list index out of range

Revision history for this message
DidierG (didierga) wrote :

Same problem using qarte-4.11.0-2.fc34.noarch on Fedora 34.

qarte worked fine two days ago.

Revision history for this message
manu (manu.pintor) wrote :

Pr�cision : 4.11.0-0ubuntu1

Revision history for this message
Orlowski (jc-orlowski-2) wrote :

J'ai constat� le m�me probl�me ce matin en essayant de me connecter.

Merci par avance � Vincent.

Bien cordialement

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

R�solu, merci.

Changed in qarte:
status: New → Fix Released
Revision history for this message
manu (manu.pintor) wrote :

Merci !

Revision history for this message
DidierG (didierga) wrote :

qarte-4.12.0-1.homemade.fc34.noarch works fine.

Thanks for your job !

Revision history for this message
Gil Rochard (gilro) wrote :

Bonjour, Le probl�me est r�solu dans la version qarte-4.12.0-1. Il y juste un d�ficit d'info dans les descriptifs des r�sum�s.
Merci � vous tous et particuli�rement � VinsS !

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.