download stop after the first download

Bug #1716020 reported by eton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Qarte
Fix Committed
Undecided
VinsS

Bug Description

For instance if I try to download 4 'tu mourras moins bête':
here is the log:
qarte -d
19:01:00: INFO - qarte Qarte-3.10.0
19:01:00: INFO - qarte Python 3.4.3 on Linux-3.16.0-38-generic-x86_64-with-LinuxMint-17.3-rosa
19:01:00: INFO - qarte File system encoding: utf-8
19:01:00: INFO - qarte System encoding: utf-8
19:01:00: INFO - qarte Locale encoding: ('en_US', 'UTF-8')
19:01:00: INFO - core Set workspace
19:01:00: INFO - core Load config from: /home/user/.Qarte/user_config
19:01:00: INFO - core Build main window
19:01:00: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-08-29
19:01:00: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-08-30
19:01:00: INFO - artetv Sorting videos
19:01:00: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-08-31
19:01:00: INFO - artetv Sorting videos
19:01:00: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-09-01
19:01:01: INFO - artetv Sorting videos
19:01:01: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-09-02
19:01:01: INFO - artetv Sorting videos
19:01:01: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-09-03
19:01:01: INFO - artetv Sorting videos
19:01:01: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-09-04
19:01:01: INFO - artetv Sorting videos
19:01:01: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-09-05
19:01:01: INFO - artetv Sorting videos
19:01:01: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-09-06
19:01:02: INFO - artetv Sorting videos
19:01:02: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-09-07
19:01:02: INFO - artetv Sorting videos
19:01:02: INFO - artetv Fetch page: http://www.arte.tv/guide/api/api/pages/fr/web/tv_guide?day=17-09-08
19:01:02: INFO - artetv Sorting videos
19:01:02: INFO - artetv Check thumbnails
19:01:02: INFO - artetv Thumbnails completed
19:01:02: INFO - artetv Found 176 videos in 1.898226261138916 sec.
19:01:02: INFO - artetv Clean thumbnail folder
19:01:03: INFO - arteconcert Get update ...
19:01:04: INFO - arteconcert Concert list updated
19:01:39: INFO - core Call settings dialog box
Traceback (most recent call last):
  File "/usr/share/qarte/gui/mainui.py", line 551, in selection_changed
    self.core.artetv.edit_summary(item[0].item)
  File "/usr/share/qarte/artetv.py", line 414, in edit_summary
    desc = self.get_description(item)
  File "/usr/share/qarte/artetv.py", line 154, in get_description
    item.description = desc.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
19:02:06: INFO - core Choose: Tu mourras moins bête
19:02:07: INFO - core Choose: Tu mourras moins bête
19:02:07: INFO - artetv Get stream URLs for: https://www.arte.tv/fr/videos/055155-001-A/tu-mourras-moins-bete
19:02:07: INFO - artetv Load page: https://api.arte.tv/api/player/v1/config/fr/055155-001-A?platform=ARTEPLUS7&lang=fr_FR&config=arte_tvguide
Traceback (most recent call last):
  File "/usr/share/qarte/gui/mainui.py", line 551, in selection_changed
    self.core.artetv.edit_summary(item[0].item)
  File "/usr/share/qarte/artetv.py", line 414, in edit_summary
    desc = self.get_description(item)
  File "/usr/share/qarte/artetv.py", line 154, in get_description
    item.description = desc.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
19:02:07: INFO - core Choose: Tu mourras moins bête
19:02:07: INFO - core Choose: Tu mourras moins bête
19:02:08: INFO - artetv Get stream URLs for: https://www.arte.tv/fr/videos/067093-002-A/tu-mourras-moins-bete
19:02:08: INFO - artetv Load page: https://api.arte.tv/api/player/v1/config/fr/067093-002-A?platform=ARTEPLUS7&lang=fr_FR&config=arte_tvguide
Traceback (most recent call last):
  File "/usr/share/qarte/gui/mainui.py", line 551, in selection_changed
    self.core.artetv.edit_summary(item[0].item)
  File "/usr/share/qarte/artetv.py", line 414, in edit_summary
    desc = self.get_description(item)
  File "/usr/share/qarte/artetv.py", line 154, in get_description
    item.description = desc.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
19:02:08: INFO - core Choose: Tu mourras moins bête
19:02:08: INFO - core Choose: Tu mourras moins bête
19:02:09: INFO - artetv Get stream URLs for: https://www.arte.tv/fr/videos/067093-021-A/tu-mourras-moins-bete
19:02:09: INFO - artetv Load page: https://api.arte.tv/api/player/v1/config/fr/067093-021-A?platform=ARTEPLUS7&lang=fr_FR&config=arte_tvguide
Traceback (most recent call last):
  File "/usr/share/qarte/gui/mainui.py", line 551, in selection_changed
    self.core.artetv.edit_summary(item[0].item)
  File "/usr/share/qarte/artetv.py", line 414, in edit_summary
    desc = self.get_description(item)
  File "/usr/share/qarte/artetv.py", line 154, in get_description
    item.description = desc.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
19:02:09: INFO - core Choose: Tu mourras moins bête
19:02:09: INFO - core Choose: Tu mourras moins bête
19:02:09: INFO - artetv Get stream URLs for: https://www.arte.tv/fr/videos/067093-001-A/tu-mourras-moins-bete
19:02:09: INFO - artetv Load page: https://api.arte.tv/api/player/v1/config/fr/067093-001-A?platform=ARTEPLUS7&lang=fr_FR&config=arte_tvguide
19:02:16: INFO - artetv Start download Tu mourras moins bête_2017-09-04_18:47:00Z quality: HTTPS_MP4_SQ_1 file size: 70781082
19:02:16: INFO - artetv URL: https://arteptweb-a.akamaihd.net/am/ptweb/067000/067000/067093-001-A_SQ_0_VOF_03230480_MP4-2200_AMM-PTWEB_p52sz32mE.mp4
19:02:23: INFO - artetv File /home/user/Downloads/arte/tv15048901365062602 downloaded
19:02:23: INFO - artetv File renamed: Tu mourras moins bête_2017-09-04_18:47:00Z.mp4
Traceback (most recent call last):
  File "/usr/share/qarte/artetv.py", line 677, in on_downloading_finished
    self.copy_summary(item, self.video_loaded)
  File "/usr/share/qarte/artetv.py", line 750, in copy_summary
    summary = self.get_description(video)
  File "/usr/share/qarte/artetv.py", line 154, in get_description
    item.description = desc.strip()
AttributeError: 'NoneType' object has no attribute 'strip

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

Fixed in revision #189

Thanks

Changed in qarte:
status: New → Fix Committed
assignee: nobody → VinsS (vincent-vandevyvre)
Revision history for this message
eton (nischnein) wrote :

Thank you for your marvelous project !
Quarte is one of my most used application.
best regards,
Eton

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.