Parser problem reproducing some chanels

Bug #491066 reported by sismox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tivion
Fix Released
High
Angel Guzman Maeso

Bug Description

When trying to reproduce some channels this error is produced:

Tivion 0.0.2
*** DEPURACIÓN ***
Puedes ver registros adicionales de Mplayer en /tmp/tivion-out-1259703542
Nota: el archivo de registro es eliminado cuando el programa es cerrado.
GTK: 2.18.3
PyGTK: 2.16.0
ID: 1 España La 1 - TVE FILMON23
Parsing FILMON url: 23
XMLDATA:

Traceback (most recent call last):
  File "tivion.py", line 662, in selectChannel
    url = self.parseFilmon(url[6:8])
  File "tivion.py", line 808, in parseFilmon
    (url, title) = self.__parseXML(xmldata)
  File "tivion.py", line 768, in __parseXML
    doc = xml.dom.minidom.parseString(xmldata)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 1928, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 940, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0

Revision history for this message
sismox (sismox) wrote :

The problem is for those channels (from /usr/share/tivion/channels.py) with the information in the following format:
['1', es, 'La 1 - TVE', 'FILMON23'],^M
 # http://79.125.47.119/rtve?auth=b814ab9dfca5a83ef9187a1aed60ba4d^M

Those with only one line works correctly:
['3', es, '24 horas', 'http://195.10.10.103:80/rtve/24h.flv'],^M

Changed in tivion:
assignee: nobody → Angel Guzman Maeso (shakaran)
status: New → Confirmed
Changed in tivion:
importance: Undecided → High
milestone: none → tivion-0.0.3
Changed in tivion:
status: Confirmed → Fix Committed
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Drop support for Filmon channels. We lost 26 channels for now, because Filmon closes his url. I dont know how to recover his channels. I fix the url for the channel broken 24 horas and Canal Sur too. If somebody found a way to reproduce again the Filmon.com channels that reopen this bug.

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Changed in tivion:
status: Fix Committed → Fix Released
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.