oogl-import / tvdownloader

Automatically exported from code.google.com/p/tvdownloader
1 stars 0 forks source link

Plugin Arte : Arte+7 One Shot Not se bloque lorsqu'on essaye d'avoir la liste des émissions #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

----------------------------------- Français/French
Détails:
V: 0.7.2
M: tvdownloader_0.7.2-0ubuntu1_i386.deb
S: Ubuntu 11.04

Lorsque je sélectionne Arte, puis Arte+7 et enfin le One Shot Not, 
tvdownloader se bloque : Merci de patienter (Patientez pendant l'actualisation 
des informations Arte)
En lançant tvdownloader dans une console on a alors les erreurs python 
suivantes :

Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 842, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 719, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Logged from file APIPrive.py, line 253
Traceback (most recent call last):
  File "/usr/share/tvdownloader/APIPrive.py", line 251, in pluginRafraichir
    self.listePluginActif[nomPlugin].rafraichir()
  File "plugins/W9Replay.py", line 51, in rafraichir
    page = urllib.urlopen( self.urlFichierXML )
  File "/usr/lib/python2.7/urllib.py", line 84, in urlopen
    return opener.open(url)
  File "/usr/lib/python2.7/urllib.py", line 205, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.7/urllib.py", line 342, in open_http
    h.endheaders(data)
  File "/usr/lib/python2.7/httplib.py", line 951, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 811, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 773, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 754, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 553, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -2] Nom ou service inconnu
Exception in thread Thread-93:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/tvdownloader/GUI/MainWindow.py", line 595, in threadListerFichiers
    listeFichiers = self.api.getPluginListeFichiers( nomPlugin, emission )
  File "/usr/share/tvdownloader/APIPrive.py", line 188, in getPluginListeFichiers
    plugin.listerFichiers(emission)
  File "plugins/Arte.py", line 517, in listerFichiers
    self.listerEnregistrements (emission, chaineActuelle)
  File "plugins/Arte.py", line 449, in listerEnregistrements
    videosList = self.chargeListeEnregistrements(emission, chaineActuelle)
  File "plugins/Arte.py", line 367, in chargeListeEnregistrements
    pattern = foundItems[0]
IndexError: list index out of range

Original issue reported on code.google.com by stephane...@gmail.com on 1 Jul 2011 at 6:59

GoogleCodeExporter commented 8 years ago
Le pb semble être qu'il n'y a pas de vidéos actuellement pour l'émission One 
Shot Not sur le site d'Arte : 
- 
http://videos.arte.tv/fr/do_delegate/videos/index-3653666-3188698,view,asList.ht
ml?hash=fr/list/date//1/250/ est vide. 
foundItems[0] n'existe pas ... 
Il faudrait prendre en compte ce cas - pas de programmes d'une émission 
donnée (période de non diffusion). 

Original comment by stephane...@gmail.com on 1 Jul 2011 at 8:18