Re: [Freevo-users] tvmoviefetch (german clone of xmltv) and TV.xml

2003-09-22 Thread James Oakley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On September 22, 2003 05:47 pm, Mathias wrote:

> i want to use tvmoviefetch to get the tv data for geramany, because
> xmltv doesnt supply them at the moment.
>
> so far so good. data is found and TV.xml is generated. if i shorten
> the xml data to only one station and one day, everything wents fine.
>
> if i use the whole generated output, i get the message on the on
> screen display "preparing the programm guide"  and after a while:
> "tv data is corrupt".
>
> on the console where i started freevo this is displayed:

...snip...

> '_'))(node) AttributeError: _ProgrammeHandler instance has no attribute
> 'color'

tvmoviefetch is generating invalid XMLTV data. It appears that it is 
generating a "color" element, which should be "colour" instead. You should 
report the problem to the authors.

- -- 
James Oakley
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/b2yHKtn0F7+/lLMRAksOAKC/KTgX9cFYACf/RhGTPeVLx21duQCgv3JY
ri1HYAAy1glUK4dVtiJkhI0=
=Q9iF
-END PGP SIGNATURE-



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] tvmoviefetch (german clone of xmltv) and TV.xml

2003-09-22 Thread Mathias
Aloha,

i want to use tvmoviefetch to get the tv data for geramany, because
xmltv doesnt supply them at the moment.

so far so good. data is found and TV.xml is generated. if i shorten
the xml data to only one station and one day, everything wents fine.

if i use the whole generated output, i get the message on the on 
screen display "preparing the programm guide"  and after a while:
"tv data is corrupt". 

on the console where i started freevo this is displayed:

Couldn't load the TV Guide, got an exception!

Traceback (most recent call last):
  File "src/tv/epg_xmltv.py", line 215, in get_guide
cached_guide = load_guide()
  File "src/tv/epg_xmltv.py", line 319, in load_guide
xmltv_programs = xmltv.read_programmes(util.gzopen(config.XMLTV_FILE))
  File "src/tv/xmltv.py", line 332, in read_programmes
programmes.append(_node_to_programme(node))
  File "src/tv/xmltv.py", line 297, in _node_to_programme
programme = _extractNodes(node, handler)
  File "src/tv/xmltv.py", line 261, in _extractNodes
result[child.name.encode(locale)].append(handler._call(child))
  File "src/tv/xmltv.py", line 216, in _call
return getattr(self, string.replace(node.name.encode(), '-', '_'))(node)
  File "src/tv/xmltv.py", line 116, in video
result[child.name.encode(locale)] = self._call(child)
  File "src/tv/xmltv.py", line 216, in _call
return getattr(self, string.replace(node.name.encode(), '-', '_'))(node)
AttributeError: _ProgrammeHandler instance has no attribute 'color'

unfortunately there isnt any hint what in TV.xml doesnt is ok or in which 
line of TV.xml the error occures


i dont want to look all the 164646 lines of TV.xml where a possible 
error could be ;-) 


any ideas or hints?


Best Regards,

Mathias Gloß


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users