Qarte doesn't load json file

Bug #1741054 reported by Felicien
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Qarte
Fix Released
Critical
VinsS

Bug Description

Hi, happy new year!
The main window displays nothing, and `qarte -d` returns
```
14:36:39: INFO - qarte Qarte-3.12.0
14:36:39: INFO - qarte Python 3.6.4 on Linux-4.14.8-gnu-1-x86_64-with-arch
14:36:39: INFO - qarte File system encoding: utf-8
14:36:39: INFO - qarte System encoding: utf-8
14:36:39: INFO - qarte Locale encoding: ('fr_FR', 'UTF-8')

** (python3:8933): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
14:36:39: INFO - core Set workspace
14:36:39: INFO - core Load config from: /home/felline/.Qarte/user_config
14:36:39: INFO - core Build main window
14:36:39: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-12-24
14:36:40: WARNING - artetv Read json error: 'teasers'
14:36:40: WARNING - artetv listing_TV_GUIDE NOT FOUND
14:36:40: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-12-25
14:36:40: WARNING - artetv Read json error: 'teasers'
14:36:40: WARNING - artetv listing_TV_GUIDE NOT FOUND
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/share/qarte/artetv.py", line 103, in run_parser
    vids, idxs = self.parser.get_next_page()
  File "/usr/share/qarte/artetv.py", line 845, in get_next_page
    for item in items:
TypeError: 'bool' object is not iterable
```

Revision history for this message
JMarc D. (shadowcjm35) wrote :
Download full text (3.7 KiB)

Same for me with Python 3.5:

qarte -d
15:12:04: INFO - qarte Qarte-3.12.0
15:12:04: INFO - qarte Python 3.5.2 on Linux-4.10.0-42-generic-x86_64-with-LinuxMint-18.3-sylvia
15:12:04: INFO - qarte File system encoding: utf-8
15:12:04: INFO - qarte System encoding: utf-8
15:12:04: INFO - qarte Locale encoding: ('fr_FR', 'UTF-8')
15:12:05: INFO - core Set workspace
15:12:05: INFO - core Config not found, use default
15:12:05: INFO - core Build main window
15:12:05: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-12-24
15:12:05: WARNING - artetv Read json error: 'teasers'
15:12:05: WARNING - artetv listing_TV_GUIDE NOT FOUND
15:12:05: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-12-25
15:12:06: WARNING - artetv Read json error: 'teasers'
15:12:06: WARNING - artetv listing_TV_GUIDE NOT FOUND
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/share/qarte/artetv.py", line 103, in run_parser
    vids, idxs = self.parser.get_next_page()
  File "/usr/share/qarte/artetv.py", line 845, in get_next_page
    for item in items:
TypeError: 'bool' object is not iterable

15:12:12: INFO - core Call settings dialog box
15:18:02: INFO - core Call About dialog box
15:19:23: INFO - core Reload arte TV Guide
15:19:23: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-12-24
15:19:24: WARNING - artetv Read json error: 'teasers'
15:19:24: WARNING - artetv listing_TV_GUIDE NOT FOUND
15:19:24: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-12-25
15:19:25: WARNING - artetv Read json error: 'teasers'
15:19:25: WARNING - artetv listing_TV_GUIDE NOT FOUND
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/share/qarte/artetv.py", line 103, in run_parser
    vids, idxs = self.parser.get_next_page()
  File "/usr/share/qarte/artetv.py", line 845, in get_next_page
    for item in items:
TypeError: 'bool' object is not iterable

15:19:28: INFO - core Reload arte Live Web
15:19:28: INFO - arteconcert Get update ...
15:19:31: INFO - arteconcert Concert list updated
15:19:34: INFO - core Reload arte Live Web
15:19:34: INFO - arteconcert Get update ...
15:19:36: INFO - arteconcert Concert list updated
15:19:39: INFO - arteconcert Can't load image: http://concert.arte.tv/sites/default/files/atoms/image/opa/074120-002-A_1983520.jpg
15:19:39: INFO - arteconcert Reason: HTTP Error 404: Not Found
15:19:41: INFO - core Call deferred task dialog box: False
no crontab for legolas
15:19:41: INFO - loadingscheduler Show tasks: 0
15:19:48: INFO - core Call settings dialog box
15:19:57: INFO - arteconcert Can't load image: http://concert.arte.tv/sites/default/files/atoms/image/opa/068922-019-A_14744.jpg
15:1...

Read more...

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

Confirmé, arte a modifié la syntaxe de ses pages.

Ce sera fixé demain.

Merci

Changed in qarte:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → VinsS (vincent-vandevyvre)
Revision history for this message
VinsS (vincent-vandevyvre) wrote :

Fixed in version 3.13.0

Changed in qarte:
status: Confirmed → Fix Released
Revision history for this message
Felicien (felic1en) wrote :

Thank you very much, for having fixed this bug so quickly and for developping and maintaining this wonderful software :)

Revision history for this message
Daniele Trento (daniele-trento) wrote :

Hello,
Is the fix only available for ubuntu 16.04 (Xenial Xerus) ?

Thanks for your responsiveness.

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

In fact, it's not yet available for xenial.

I must wait for this build before copy for others Ubuntu releases.

You can see the progress here: https://launchpad.net/~vincent-vandevyvre/+archive/ubuntu/vvv/+build/14216590

I don't know why this take so much time.

You can also install this deb: http://www.oqapy.eu/releases/qarte_3.13.0_all.deb

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

The problem is from Launchpad himself.

See: https://twitter.com/launchpadstatus

So, be patient.

Revision history for this message
Daniele Trento (daniele-trento) wrote :

Thanks for the information. :-)

Revision history for this message
Emm88 (emm88) wrote :

Bonjour,

Bonne année et bonne santé.
Merci poour la mise à jour

Je confirme que http://www.oqapy.eu/releases/qarte_3.13.0_all.deb
fonctionne bien

Encore merci
cordialement

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.