Re: [Freevo-users] webserver tv guide in freevo 1.7.3 does not work

2007-09-03 Thread Jody Gugelhupf
hi there again :)
i got it working TVguide now :) but i was wondering, when i click on a program, 
the little window
opens up and gives me the options to choose what to do and program details etc, 
but this does not
work in internet explorer 7 ? is that true or only not working in my setup with 
ie7? works fine in
firefox though...

cheers
jody


--- Jody Gugelhupf <[EMAIL PROTECTED]> wrote:

> Hi duncan :)
> I have treid what you said but it didn't work, this my current setting:
> 
> TV_CHANNELS = [('25.tvgids.nl', u'MTV', 'MTV'),
>('-', u'TellSell', 'TellSell'),
>('29.tvgids.nl', u'Discovery Channel', 'Discovery Channel'),
>('35.tvgids.nl', u'TMF', 'TMF'),
>('26.tvgids.nl', u'CNN', 'CNN'),
>('17.tvgids.nl', u'TV5', 'TV5'),
>('10.tvgids.nl', u'ZDF', 'ZDF'),
>('91.tvgids.nl', u'Nick Comedy Central', 'The Box'),
>('19.tvgids.nl', u'Eurosport', 'Eurosport'),
>('27.tvgids.nl', u'Rai Uno', 'Rai Uno'),
>('18.tvgids.nl', u'National Geographic', 'National 
> Geographic'),
>('32.tvgids.nl', u'TRTint', 'TRTint'),
>('12.tvgids.nl', u'WDR', 'WDR'),
>('-', u'upcinfo', 'upcinfo'),
>('7.tvgids.nl', u'BBC1', 'BBC1'),
>('8.tvgids.nl', u'BBC2', 'BBC2'),
>('92.tvgids.nl', u'talpa', 'talpa'),
>('9.tvgids.nl', u'ARD', 'ARD'),
>('37.tvgids.nl', u'Net5', 'Net5'),
>('34.tvgids.nl', u'Veronica', 'Veronica'),
>('46.tvgids.nl', u'rtl7', 'rtl7'),
>('36.tvgids.nl', u'sbs6', 'sbs6'),
>('31.tvgids.nl', u'rtl5', 'rtl5'),
>('4.tvgids.nl', u'rtl4', 'rtl4'),
>('1.tvgids.nl', u'NED1', 'NED1'),
>('2.tvgids.nl', u'NED2', 'NED2'),
>('3.tvgids.nl', u'NED3', 'NED3'),
>('5.tvgids.nl', u'een', 'een'),
>('6.tvgids.nl', u'Ketnet/canvas', 'Ketnet/canvas'),
>('112.tvgids.nl', u'TV Gelderland', 'TV Gelderland'),
>('-', u'Euronews international', 'Euronews')]
> 
> and i get this error now:
> web.Server Traceback (most recent call last):
> 
> : 'utf8' codec can't decode bytes in 
> position 21-23:
> invalid
> data
> /usr/lib/python2.5/site-packages/twisted/web/server.py, line 160 in process
> 158try:
> 159  resrc = self.site.getResourceFor(self)
> 160  self.render(resrc)
> 161except:
> Self
> site  
> twisted.web.server.Site instance @ 0x85759cc  instance at 0x85759cc>
> Locals
> resrc 
> __builtin__.GuideResource instance @ 0x8776fec <__builtin__.GuideResource 
> instance at 0x8776fec>
> self  
> twisted.web.server.Request instance @ 0x857514c 
> /usr/lib/python2.5/site-packages/twisted/web/server.py, line 167 in render
> 165  def render(self, resrc):
> 166try:
> 167  body = resrc.render(self)
> 168except UnsupportedMethod, e:
> Locals
> resrc 
> __builtin__.GuideResource instance @ 0x8776fec <__builtin__.GuideResource 
> instance at 0x8776fec>
> self  
> twisted.web.server.Request instance @ 0x857514c 
> Globals
> UnsupportedMethod 
> /usr/lib/python2.5/site-packages/freevo/www/web_types.py, line 100 in render
> 98  # thus we return the self._render methode
> 99  # which hopefully will do something usefull
> 100  return self._render(request)
> 101
> Locals
> self  
> __builtin__.GuideResource instance @ 0x8776fec <__builtin__.GuideResource 
> instance at 0x8776fec>
> request   
> twisted.web.server.Request instance @ 0x857514c 
> /usr/share/freevo/htdocs/guide.rpy, line 247 in _render
> 245
> 246  rowdata.append("")
> 247  fv.res += string.join(rowdata, "\n")
> 248fv.tableClose()
> Locals
> rowdata   
> List instance @ 0x9265bec
> ""
> "E\xe9n"
> u' id="5.tvgids.nl:1188756900"
> colspan="10",
> style="">Fata Morgana'
> u' id="5.tvgids.nl:1188760800"
> colspan="8",
> style="">Witse'
> u' id="5.tvgids.nl:1188763800"
> colspan="8",
> style="">In de gloria'
> u' id="5.tvgids.nl:1188765600"
> colspan="6",
> style="">Het journaal laat'
> u' id="5.tvgids.nl:1188767100"
> colspan="11",
> style="">Studio 1'
> ''
> fv
> www.web_types.HTMLResource instance @ 0x8576d8c  instance at
> 0x8576d8c>
> Globals
> string
> string.py, line 316 in join
> 314
> 315  """
> 316  return sep.join(words)
> 317joinfields = join
> Locals
> words 
> List instance @ 0x9265bec
> ""
> "E\xe9n"
> u' id="5.tvgids.nl:1188756900"
> colspan="10",
> style="">Fata Morgana'
> u' id="5.tvgids.nl:1188760800"
> colspan="8",
> style="">Witse'
> u' id="5.tvgids.nl:1188763800"
> colspan="8",
> style="">In de gloria'
> u' id="5.tvgids.nl:1188765600"
> colspan="6",
> style="">Het journaal laat'
> u' id="5.tvgids.nl:1188767100"
> colspan="11",
> style="">Studio 1'
> ''
> sep   '\n'
> Globals
> joinfields
> function join in file string.py at line 306
> j

Re: [Freevo-users] webserver tv guide in freevo 1.7.3 does not work

2007-09-02 Thread Jody Gugelhupf
Hi duncan :)
I have treid what you said but it didn't work, this my current setting:

TV_CHANNELS = [('25.tvgids.nl', u'MTV', 'MTV'),
   ('-', u'TellSell', 'TellSell'),
   ('29.tvgids.nl', u'Discovery Channel', 'Discovery Channel'),
   ('35.tvgids.nl', u'TMF', 'TMF'),
   ('26.tvgids.nl', u'CNN', 'CNN'),
   ('17.tvgids.nl', u'TV5', 'TV5'),
   ('10.tvgids.nl', u'ZDF', 'ZDF'),
   ('91.tvgids.nl', u'Nick Comedy Central', 'The Box'),
   ('19.tvgids.nl', u'Eurosport', 'Eurosport'),
   ('27.tvgids.nl', u'Rai Uno', 'Rai Uno'),
   ('18.tvgids.nl', u'National Geographic', 'National Geographic'),
   ('32.tvgids.nl', u'TRTint', 'TRTint'),
   ('12.tvgids.nl', u'WDR', 'WDR'),
   ('-', u'upcinfo', 'upcinfo'),
   ('7.tvgids.nl', u'BBC1', 'BBC1'),
   ('8.tvgids.nl', u'BBC2', 'BBC2'),
   ('92.tvgids.nl', u'talpa', 'talpa'),
   ('9.tvgids.nl', u'ARD', 'ARD'),
   ('37.tvgids.nl', u'Net5', 'Net5'),
   ('34.tvgids.nl', u'Veronica', 'Veronica'),
   ('46.tvgids.nl', u'rtl7', 'rtl7'),
   ('36.tvgids.nl', u'sbs6', 'sbs6'),
   ('31.tvgids.nl', u'rtl5', 'rtl5'),
   ('4.tvgids.nl', u'rtl4', 'rtl4'),
   ('1.tvgids.nl', u'NED1', 'NED1'),
   ('2.tvgids.nl', u'NED2', 'NED2'),
   ('3.tvgids.nl', u'NED3', 'NED3'),
   ('5.tvgids.nl', u'een', 'een'),
   ('6.tvgids.nl', u'Ketnet/canvas', 'Ketnet/canvas'),
   ('112.tvgids.nl', u'TV Gelderland', 'TV Gelderland'),
   ('-', u'Euronews international', 'Euronews')]

and i get this error now:
web.Server Traceback (most recent call last):

: 'utf8' codec can't decode bytes in 
position 21-23: invalid
data
/usr/lib/python2.5/site-packages/twisted/web/server.py, line 160 in process
158try:
159  resrc = self.site.getResourceFor(self)
160  self.render(resrc)
161except:
Self
site
twisted.web.server.Site instance @ 0x85759cc 
Locals
resrc   
__builtin__.GuideResource instance @ 0x8776fec <__builtin__.GuideResource 
instance at 0x8776fec>
self
twisted.web.server.Request instance @ 0x857514c 
/usr/lib/python2.5/site-packages/twisted/web/server.py, line 167 in render
165  def render(self, resrc):
166try:
167  body = resrc.render(self)
168except UnsupportedMethod, e:
Locals
resrc   
__builtin__.GuideResource instance @ 0x8776fec <__builtin__.GuideResource 
instance at 0x8776fec>
self
twisted.web.server.Request instance @ 0x857514c 
Globals
UnsupportedMethod   
/usr/lib/python2.5/site-packages/freevo/www/web_types.py, line 100 in render
98  # thus we return the self._render methode
99  # which hopefully will do something usefull
100  return self._render(request)
101
Locals
self
__builtin__.GuideResource instance @ 0x8776fec <__builtin__.GuideResource 
instance at 0x8776fec>
request 
twisted.web.server.Request instance @ 0x857514c 
/usr/share/freevo/htdocs/guide.rpy, line 247 in _render
245
246  rowdata.append("")
247  fv.res += string.join(rowdata, "\n")
248fv.tableClose()
Locals
rowdata 
List instance @ 0x9265bec
""
"E\xe9n"
u'Fata Morgana'
u'Witse'
u'In de gloria'
u'Het journaal laat'
u'Studio 1'
''
fv  
www.web_types.HTMLResource instance @ 0x8576d8c 
Globals
string  
string.py, line 316 in join
314
315  """
316  return sep.join(words)
317joinfields = join
Locals
words   
List instance @ 0x9265bec
""
"E\xe9n"
u'Fata Morgana'
u'Witse'
u'In de gloria'
u'Het journaal laat'
u'Studio 1'
''
sep '\n'
Globals
joinfields  
function join in file string.py at line 306
join
function join in file string.py at line 306

: 'utf8' codec can't decode bytes in 
position 21-23: invalid
data
any more ideas? thx in advance
katie-J







--- Duncan Webb <[EMAIL PROTECTED]> wrote:

> Jody Gugelhupf wrote:
> > hi ppl :)
> > i run ubuntu feisty, there was an updated package of freevo lately, i got 
> > now 1.7.3 everything
> is
> > workign fine, except the tvguide, when i click on it, i get this:
> > 
> > web.Server Traceback (most recent call last):
> > 
> > : 'utf8' codec can't decode bytes in 
> > position 42-44:
> invalid
> > data
> > /usr/lib/python2.5/site-packages/twisted/web/server.py, line 160 in process
> > 158try:
> > 159  resrc = self.site.getResourceFor(self)
> > 160  self.render(resrc)
> > 161except:
> > Self
> > site
> > twisted.web.server.Site instance @ 0x857542c  > instance at 0x857542c>
> > Locals
> > resrc   
> > __builtin__.GuideResource instance @ 0x92c792c <__builtin__.GuideResource 
> > instance at
> 0x92c792c>
> > self
> > twisted.web.server.Request instance @ 0x92ea3ec 
> > /usr/lib/python2.5/site-packages/twisted/web/server.py, line 167 in render
> > 165  def render(self, resrc):
> > 166try:
> > 167  body = resrc.render(sel

Re: [Freevo-users] webserver tv guide in freevo 1.7.3 does not work

2007-09-02 Thread Duncan Webb
Jody Gugelhupf wrote:
> hi ppl :)
> i run ubuntu feisty, there was an updated package of freevo lately, i got now 
> 1.7.3 everything is
> workign fine, except the tvguide, when i click on it, i get this:
> 
> web.Server Traceback (most recent call last):
> 
> : 'utf8' codec can't decode bytes in 
> position 42-44: invalid
> data
> /usr/lib/python2.5/site-packages/twisted/web/server.py, line 160 in process
> 158try:
> 159  resrc = self.site.getResourceFor(self)
> 160  self.render(resrc)
> 161except:
> Self
> site  
> twisted.web.server.Site instance @ 0x857542c  instance at 0x857542c>
> Locals
> resrc 
> __builtin__.GuideResource instance @ 0x92c792c <__builtin__.GuideResource 
> instance at 0x92c792c>
> self  
> twisted.web.server.Request instance @ 0x92ea3ec 
> /usr/lib/python2.5/site-packages/twisted/web/server.py, line 167 in render
> 165  def render(self, resrc):
> 166try:
> 167  body = resrc.render(self)
> 168except UnsupportedMethod, e:
> Locals
> resrc 
> __builtin__.GuideResource instance @ 0x92c792c <__builtin__.GuideResource 
> instance at 0x92c792c>
> self  
> twisted.web.server.Request instance @ 0x92ea3ec 
> Globals
> UnsupportedMethod 
> /usr/lib/python2.5/site-packages/freevo/www/web_types.py, line 100 in render
> 98  # thus we return the self._render methode
> 99  # which hopefully will do something usefull
> 100  return self._render(request)
> 101
> Locals
> self  
> __builtin__.GuideResource instance @ 0x92c792c <__builtin__.GuideResource 
> instance at 0x92c792c>
> request   
> twisted.web.server.Request instance @ 0x92ea3ec 
> /usr/share/freevo/htdocs/guide.rpy, line 247 in _render
> 245
> 246  rowdata.append("")
> 247  fv.res += string.join(rowdata, "\n")
> 248fv.tableClose()
> Locals
> rowdata   
> List instance @ 0x92eaccc
> ""
> "E\xe9n"
> ''
> fv
> www.web_types.HTMLResource instance @ 0x92c702c  instance at 0x92c702c>
> Globals
> string
> 
> : 'utf8' codec can't decode bytes in 
> position 42-44: invalid
> data
> 
> someone has an idea how to fix it? thx in advance :)
> katie-J. :)


A Unicode translation problem, how have you set up your channels in
local_conf.py?

This works for me:
TV_CHANNELS = [
('CNI04C1', u'SF1',  'K05', '', '0', '777'),
('CNI04C7', u'SFzwei',   'K10', '', '0', '777'),
('CNI04CC', u'SFinfo',   'K35', '', '0', '777'),
('CNI0497', u'3plus','S15', '', '0', '777'),
('CNI0DC1', u'ARD',  'K09', '', '0', '777'),
('CNI0DC2', u'ZDF',  'K11', '', '0', '777'),
('CNI0DC7', u'3sat', 'S10', '', '0', '777'),
('CNI0D85', u'arte', 'K21', '', '0', '777'),
('CNI0DC9', u'KiKa', 'K21', '', '0', '777'),
('CNI0DCB', u'Bayern 3', 'K29', '', '0', '150'),
('CNI0DE0', u'Südwest Fernsehen BW', 'S14', '', '0', '777'),
('CNI1DE6', u'WDR',  'S31', '', '0', '150'),
('CNI0D8D', u'DSF',  'K24', '', '0', '777'),
...
]

The last two columns you won't need. But the important thing is the
unicode 'u' before the name.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] webserver tv guide in freevo 1.7.3 does not work

2007-09-01 Thread Jody Gugelhupf
hi ppl :)
i run ubuntu feisty, there was an updated package of freevo lately, i got now 
1.7.3 everything is
workign fine, except the tvguide, when i click on it, i get this:

web.Server Traceback (most recent call last):

: 'utf8' codec can't decode bytes in 
position 42-44: invalid
data
/usr/lib/python2.5/site-packages/twisted/web/server.py, line 160 in process
158try:
159  resrc = self.site.getResourceFor(self)
160  self.render(resrc)
161except:
Self
site
twisted.web.server.Site instance @ 0x857542c 
Locals
resrc   
__builtin__.GuideResource instance @ 0x92c792c <__builtin__.GuideResource 
instance at 0x92c792c>
self
twisted.web.server.Request instance @ 0x92ea3ec 
/usr/lib/python2.5/site-packages/twisted/web/server.py, line 167 in render
165  def render(self, resrc):
166try:
167  body = resrc.render(self)
168except UnsupportedMethod, e:
Locals
resrc   
__builtin__.GuideResource instance @ 0x92c792c <__builtin__.GuideResource 
instance at 0x92c792c>
self
twisted.web.server.Request instance @ 0x92ea3ec 
Globals
UnsupportedMethod   
/usr/lib/python2.5/site-packages/freevo/www/web_types.py, line 100 in render
98  # thus we return the self._render methode
99  # which hopefully will do something usefull
100  return self._render(request)
101
Locals
self
__builtin__.GuideResource instance @ 0x92c792c <__builtin__.GuideResource 
instance at 0x92c792c>
request 
twisted.web.server.Request instance @ 0x92ea3ec 
/usr/share/freevo/htdocs/guide.rpy, line 247 in _render
245
246  rowdata.append("")
247  fv.res += string.join(rowdata, "\n")
248fv.tableClose()
Locals
rowdata 
List instance @ 0x92eaccc
""
"E\xe9n"
''
fv  
www.web_types.HTMLResource instance @ 0x92c702c 
Globals
string  

: 'utf8' codec can't decode bytes in 
position 42-44: invalid
data

someone has an idea how to fix it? thx in advance :)
katie-J. :)


  Get news delivered with the All new Yahoo! Mail.  Enjoy RSS feeds right 
on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users