PDA

View Full Version : stream remotely



jcl
25-10-10, 22:55
Hi Guys
can access my box remotely (dyndns)but when I try to open a channel I get this:-

web.Server Traceback (most recent call last): with plenty of stuff after it about attributes

any ideas what this means
Thanks
Regards
jcl

jcl
26-10-10, 08:56
Hi Guys
here's the file that keeps popping up when I try opening a channel in web streaming.

web.Server Traceback (most recent call last):
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'get'

/usr/lib/python2.6/site-packages/twisted/web/server.py, line 150 in process
148 try:
149 resrc = self.site.getResourceFor(self)
150 self.render(resrc)
151 except:
Selfsite twisted.web.server.Site instance @ 0x1a41a80
<twisted.web.server.Site instance at 0x1a41a80>

Localsresrc Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance @ 0x32fc940
<Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance at 0x32fc940>
self twisted.web.server.Request instance @ 0x32c3558
<GET /web/stream.m3u?ref=1%3A0%3A19%3AF0C%3A808%3A2%3A11A000 0%3A0%3A0%3A0%3A HTTP/1.1>

/usr/lib/python2.6/site-packages/twisted/web/server.py, line 157 in render
155 def render(self, resrc):
156 try:
157 body = resrc.render(self)
158 except UnsupportedMethod, e:
Localsresrc Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance @ 0x32fc940
<Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance at 0x32fc940>
self twisted.web.server.Request instance @ 0x32c3558
<GET /web/stream.m3u?ref=1%3A0%3A19%3AF0C%3A808%3A2%3A11A000 0%3A0%3A0%3A0%3A HTTP/1.1>

GlobalsUnsupportedMethod <class 'twisted.web.server.UnsupportedMethod'>

/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/WebChilds/Screenpage.py, line 49 in render
47 # now go and write the Output
48 # request.finish() is called inside webif.py (requestFinish() which is called via renderPage())
49 webif.renderPage(request, path, self.session) # login?
50
Selfsession __main__.Session instance @ 0x1994ad0
<__main__.Session instance at 0x1994ad0>

Localspath '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/web/stream.m3u.xml'
self Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance @ 0x32fc940
<Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance at 0x32fc940>
request twisted.web.server.Request instance @ 0x32c3558
<GET /web/stream.m3u?ref=1%3A0%3A19%3AF0C%3A808%3A2%3A11A000 0%3A0%3A0%3A0%3A HTTP/1.1>

Globalswebif <module 'Plugins.Extensions.WebInterface.webif' from '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.pyo'>

/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.py, line 515 in renderPage
513 parser.setFeature(feature_namespaces, 0)
514 parser.setContentHandler(handler)
515 parser.parse(open(util.sibpath(__file__, path)))
516
Localshandler Plugins.Extensions.WebInterface.webif.webifHandler instance @ 0x32fcb20
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x32fcb20>
parser xml.sax.expatreader.ExpatParser instance @ 0x32fb878
<xml.sax.expatreader.ExpatParser instance at 0x32fb878>
path '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/web/stream.m3u.xml'

Globals__file__ '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.pyo'
util <module 'twisted.python.util' from '/usr/lib/python2.6/site-packages/twisted/python/util.pyo'>
feature_namespaces 'http://xml.org/sax/features/namespaces'

/usr/lib/python2.6/xml/sax/expatreader.py, line 107 in parse
105 self.reset()
106 self._cont_handler.setDocumentLocator(ExpatLocator (self))
107 xmlreader.IncrementalParser.parse(self, source)
108
Self_cont_handler Plugins.Extensions.WebInterface.webif.webifHandler instance @ 0x32fcb20
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x32fcb20>

Localssource xml.sax.xmlreader.InputSource instance @ 0x32fb5f8
<xml.sax.xmlreader.InputSource instance at 0x32fb5f8>
self xml.sax.expatreader.ExpatParser instance @ 0x32fb878
<xml.sax.expatreader.ExpatParser instance at 0x32fb878>

Globalsxmlreader <module 'xml.sax.xmlreader' from '/usr/lib/python2.6/xml/sax/xmlreader.pyo'>
ExpatLocator <class xml.sax.expatreader.ExpatLocator at 0x1407bd0>

/usr/lib/python2.6/xml/sax/xmlreader.py, line 123 in parse
121 buffer = file.read(self._bufsize)
122 while buffer != "":
123 self.feed(buffer)
124 buffer = file.read(self._bufsize)
Self_bufsize 65516

Localsbuffer '<e2:screen name="M3uStreamingWebScreen">#EXTM3U\n#EXTVLCOPT--http-reconnect=true\nhttp://<e2:element source="192.168.x.x." />:04xxx/<e2:element source="ref"><e2:convert type="web:TextToHTML" /></e2:element>\n</e2:screen>\n'
self xml.sax.expatreader.ExpatParser instance @ 0x32fb878
<xml.sax.expatreader.ExpatParser instance at 0x32fb878>
file <open file '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/web/stream.m3u.xml', mode 'r' at 0x330ab60>

/usr/lib/python2.6/xml/sax/expatreader.py, line 207 in feed
205 # document. When feeding chunks, they are not normally final -
206 # except when invoked from close.
207 self._parser.Parse(data, isFinal)
208 except expat.error, e:
Self_parser <pyexpat.xmlparser object at 0x3320e88>

Localsself xml.sax.expatreader.ExpatParser instance @ 0x32fb878
<xml.sax.expatreader.ExpatParser instance at 0x32fb878>
data '<e2:screen name="M3uStreamingWebScreen">#EXTM3U\n#EXTVLCOPT--http-reconnect=true\nhttp://<e2:element source="192.168.x.x." />:04xxx/<e2:element source="ref"><e2:convert type="web:TextToHTML" /></e2:element>\n</e2:screen>\n'
isFinal 0

Globalsexpat <module 'xml.parsers.expat' from '/usr/lib/python2.6/xml/parsers/expat.pyo'>

/usr/lib/python2.6/xml/sax/expatreader.py, line 301 in start_element
299 # event handlers
300 def start_element(self, name, attrs):
301 self._cont_handler.startElement(name, AttributesImpl(attrs))
302
Self_cont_handler Plugins.Extensions.WebInterface.webif.webifHandler instance @ 0x32fcb20
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x32fcb20>

Localsself xml.sax.expatreader.ExpatParser instance @ 0x32fb878
<xml.sax.expatreader.ExpatParser instance at 0x32fb878>
attrs Dictionary instance @ 0x32bf420u'source' u'192.168.x.x.'

name u'e2:element'

GlobalsAttributesImpl <class xml.sax.xmlreader.AttributesImpl at 0x1366030>

/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.py, line 448 in startElement
446 elif self.mode == 1: # expect "<e2:element>"
447 assert name == "e2:element", "found %s instead of e2:element" % name
448 self.start_element(attrs)
449 elif self.mode == 2: # expect "<e2:convert>"
Selfmode 1

Localsself Plugins.Extensions.WebInterface.webif.webifHandler instance @ 0x32fcb20
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x32fcb20>
attrs xml.sax.xmlreader.AttributesImpl instance @ 0x32fb3c8
<xml.sax.xmlreader.AttributesImpl instance at 0x32fb3c8>
name u'e2:element'

/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.py, line 368 in start_element
366 path = path[1:]
367
368 source = scr.get(path[0])
369
Localspath List instance @ 0x32a4350
u''
scr None

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'get'

I assume some thing needs configuring but what!!!!!!!!!!!!!!!!!!!!!!!

Thanks
Regards
jcl

jcl
26-10-10, 19:21
plenty of views but has anybody got any clues

regards jcl

Hi Guys
here's the file that keeps popping up when I try opening a channel in web streaming.

web.Server Traceback (most recent call last):
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'get'

/usr/lib/python2.6/site-packages/twisted/web/server.py, line 150 in process
148 try:
149 resrc = self.site.getResourceFor(self)
150 self.render(resrc)
151 except:
Selfsite twisted.web.server.Site instance @ 0x1a41a80
<twisted.web.server.Site instance at 0x1a41a80>

Localsresrc Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance @ 0x32fc940
<Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance at 0x32fc940>
self twisted.web.server.Request instance @ 0x32c3558
<GET /web/stream.m3u?ref=1%3A0%3A19%3AF0C%3A808%3A2%3A11A000 0%3A0%3A0%3A0%3A HTTP/1.1>

/usr/lib/python2.6/site-packages/twisted/web/server.py, line 157 in render
155 def render(self, resrc):
156 try:
157 body = resrc.render(self)
158 except UnsupportedMethod, e:
Localsresrc Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance @ 0x32fc940
<Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance at 0x32fc940>
self twisted.web.server.Request instance @ 0x32c3558
<GET /web/stream.m3u?ref=1%3A0%3A19%3AF0C%3A808%3A2%3A11A000 0%3A0%3A0%3A0%3A HTTP/1.1>

GlobalsUnsupportedMethod <class 'twisted.web.server.UnsupportedMethod'>

/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/WebChilds/Screenpage.py, line 49 in render
47 # now go and write the Output
48 # request.finish() is called inside webif.py (requestFinish() which is called via renderPage())
49 webif.renderPage(request, path, self.session) # login?
50
Selfsession __main__.Session instance @ 0x1994ad0
<__main__.Session instance at 0x1994ad0>

Localspath '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/web/stream.m3u.xml'
self Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance @ 0x32fc940
<Plugins.Extensions.WebInterface.WebChilds.Screenpa ge.ScreenPage instance at 0x32fc940>
request twisted.web.server.Request instance @ 0x32c3558
<GET /web/stream.m3u?ref=1%3A0%3A19%3AF0C%3A808%3A2%3A11A000 0%3A0%3A0%3A0%3A HTTP/1.1>

Globalswebif <module 'Plugins.Extensions.WebInterface.webif' from '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.pyo'>

/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.py, line 515 in renderPage
513 parser.setFeature(feature_namespaces, 0)
514 parser.setContentHandler(handler)
515 parser.parse(open(util.sibpath(__file__, path)))
516
Localshandler Plugins.Extensions.WebInterface.webif.webifHandler instance @ 0x32fcb20
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x32fcb20>
parser xml.sax.expatreader.ExpatParser instance @ 0x32fb878
<xml.sax.expatreader.ExpatParser instance at 0x32fb878>
path '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/web/stream.m3u.xml'

Globals__file__ '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.pyo'
util <module 'twisted.python.util' from '/usr/lib/python2.6/site-packages/twisted/python/util.pyo'>
feature_namespaces 'http://xml.org/sax/features/namespaces'

/usr/lib/python2.6/xml/sax/expatreader.py, line 107 in parse
105 self.reset()
106 self._cont_handler.setDocumentLocator(ExpatLocator (self))
107 xmlreader.IncrementalParser.parse(self, source)
108
Self_cont_handler Plugins.Extensions.WebInterface.webif.webifHandler instance @ 0x32fcb20
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x32fcb20>

Localssource xml.sax.xmlreader.InputSource instance @ 0x32fb5f8
<xml.sax.xmlreader.InputSource instance at 0x32fb5f8>
self xml.sax.expatreader.ExpatParser instance @ 0x32fb878
<xml.sax.expatreader.ExpatParser instance at 0x32fb878>

Globalsxmlreader <module 'xml.sax.xmlreader' from '/usr/lib/python2.6/xml/sax/xmlreader.pyo'>
ExpatLocator <class xml.sax.expatreader.ExpatLocator at 0x1407bd0>

/usr/lib/python2.6/xml/sax/xmlreader.py, line 123 in parse
121 buffer = file.read(self._bufsize)
122 while buffer != "":
123 self.feed(buffer)
124 buffer = file.read(self._bufsize)
Self_bufsize 65516

Localsbuffer '<e2:screen name="M3uStreamingWebScreen">#EXTM3U\n#EXTVLCOPT--http-reconnect=true\nhttp://<e2:element source="192.168.x.x." />:04xxx/<e2:element source="ref"><e2:convert type="web:TextToHTML" /></e2:element>\n</e2:screen>\n'
self xml.sax.expatreader.ExpatParser instance @ 0x32fb878
<xml.sax.expatreader.ExpatParser instance at 0x32fb878>
file <open file '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/web/stream.m3u.xml', mode 'r' at 0x330ab60>

/usr/lib/python2.6/xml/sax/expatreader.py, line 207 in feed
205 # document. When feeding chunks, they are not normally final -
206 # except when invoked from close.
207 self._parser.Parse(data, isFinal)
208 except expat.error, e:
Self_parser <pyexpat.xmlparser object at 0x3320e88>

Localsself xml.sax.expatreader.ExpatParser instance @ 0x32fb878
<xml.sax.expatreader.ExpatParser instance at 0x32fb878>
data '<e2:screen name="M3uStreamingWebScreen">#EXTM3U\n#EXTVLCOPT--http-reconnect=true\nhttp://<e2:element source="192.168.x.x." />:04xxx/<e2:element source="ref"><e2:convert type="web:TextToHTML" /></e2:element>\n</e2:screen>\n'
isFinal 0

Globalsexpat <module 'xml.parsers.expat' from '/usr/lib/python2.6/xml/parsers/expat.pyo'>

/usr/lib/python2.6/xml/sax/expatreader.py, line 301 in start_element
299 # event handlers
300 def start_element(self, name, attrs):
301 self._cont_handler.startElement(name, AttributesImpl(attrs))
302
Self_cont_handler Plugins.Extensions.WebInterface.webif.webifHandler instance @ 0x32fcb20
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x32fcb20>

Localsself xml.sax.expatreader.ExpatParser instance @ 0x32fb878
<xml.sax.expatreader.ExpatParser instance at 0x32fb878>
attrs Dictionary instance @ 0x32bf420u'source' u'192.168.x.x.'

name u'e2:element'

GlobalsAttributesImpl <class xml.sax.xmlreader.AttributesImpl at 0x1366030>

/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.py, line 448 in startElement
446 elif self.mode == 1: # expect "<e2:element>"
447 assert name == "e2:element", "found %s instead of e2:element" % name
448 self.start_element(attrs)
449 elif self.mode == 2: # expect "<e2:convert>"
Selfmode 1

Localsself Plugins.Extensions.WebInterface.webif.webifHandler instance @ 0x32fcb20
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x32fcb20>
attrs xml.sax.xmlreader.AttributesImpl instance @ 0x32fb3c8
<xml.sax.xmlreader.AttributesImpl instance at 0x32fb3c8>
name u'e2:element'

/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.py, line 368 in start_element
366 path = path[1:]
367
368 source = scr.get(path[0])
369
Localspath List instance @ 0x32a4350
u''
scr None

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'get'

I assume some thing needs configuring but what!!!!!!!!!!!!!!!!!!!!!!!

Thanks
Regards
jcl

jcl
28-10-10, 08:55
Hi Guys
anybody got any answers to this one?
Is it a bug in vlc or a bug in vix image?
thanks
regards
jcl

basilyoung
28-10-10, 09:06
Hi Guys
anybody got any answers to this one?
Is it a bug in vlc or a bug in vix image?
thanks
regards
jcl

I guess not
but have you tried a google??
also there are web sites around, ( cant think of a name, but the site my mate uses ) that deal with streaming software issues

baz

jcl
28-10-10, 19:28
Thanks Baz
been googling for the past four days but no results
I'll keep trying.
regards
jcl