:(Hallo Leute,
ich habe ein Problem mit dem Webinterface und der Timerliste. Wenn ich auf "Timer" klicke, kommt das "Loading..." und wird nie fertig. Das ganze ist plötzlich passiert, nach einem Reboot.
Am Gerät direkt funktioniert die Auflistung und Änderung der Timer und diese selbst funktionieren auch (Aufnahmen).
Die timers.xml habe ich schon mal testweise geleert (erst init 5, dann die Datei aufs Minimum reduziert (alle <timer raus), gespeichert und rebootet - kein Erfolg.
Interessant ist vielleicht noch, dass bei direktem Aufruf der URL http://192.168.xxx.xxx/web/timerlist die unten angehängte Fehlerseite erscheint (ein paar lange Strings rausgekürzt).
Ich habe im Einsatz:
Devicename: dm800
Enigma Version: 2010-02-09-master
Image Version: Release 4.7.0 2010-02-09
Webinterface Version: 1.6rc3
Hilfeee!
web.Server Traceback (most recent call last):
<type 'exceptions.ValueError'>: bad marshal data
/usr/lib/python2.5/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 @ 0x2ff010d0
<twisted.web.server.Site instance at 0x2ff010d0>
Localsresrc Plugins.Extensions.WebInterface.WebChilds.Screenpage.ScreenPage instance @ 0x307e3f58
<Plugins.Extensions.WebInterface.WebChilds.Screenpage.ScreenPage instance at 0x307e3f58>
self twisted.web.server.Request instance @ 0x307d9c88
<GET /web/timerlist HTTP/1.1>
/usr/lib/python2.5/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.Screenpage.ScreenPage instance @ 0x307e3f58
<Plugins.Extensions.WebInterface.WebChilds.Screenpage.ScreenPage instance at 0x307e3f58>
self twisted.web.server.Request instance @ 0x307d9c88
<GET /web/timerlist 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 @ 0x2d8a9d50
<__main__.Session instance at 0x2d8a9d50>
Localspath '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/web/timerlist.xml'
self Plugins.Extensions.WebInterface.WebChilds.Screenpage.ScreenPage instance @ 0x307e3f58
<Plugins.Extensions.WebInterface.WebChilds.Screenpage.ScreenPage instance at 0x307e3f58>
request twisted.web.server.Request instance @ 0x307d9c88
<GET /web/timerlist HTTP/1.1>
Globalswebif <module 'Plugins.Extensions.WebInterface.webif' from '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.pyc'>
/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.py, line 512 in renderPage
510 parser.setFeature(feature_namespaces, 0)
511 parser.setContentHandler(handler)
512 parser.parse(open(util.sibpath(__file__, path)))
513
Localshandler Plugins.Extensions.WebInterface.webif.webifHandler instance @ 0x307e3940
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x307e3940>
parser xml.sax.expatreader.ExpatParser instance @ 0x307e3da0
<xml.sax.expatreader.ExpatParser instance at 0x307e3da0>
path '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/web/timerlist.xml'
Globals__file__ '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.pyc'
util <module 'twisted.python.util' from '/usr/lib/python2.5/site-packages/twisted/python/util.pyc'>
feature_namespaces 'http://xml.org/sax/features/namespaces'
/usr/lib/python2.5/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 @ 0x307e3940
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x307e3940>
Localssource xml.sax.xmlreader.InputSource instance @ 0x307e3cb0
<xml.sax.xmlreader.InputSource instance at 0x307e3cb0>
self xml.sax.expatreader.ExpatParser instance @ 0x307e3da0
<xml.sax.expatreader.ExpatParser instance at 0x307e3da0>
GlobalsExpatLocator <class xml.sax.expatreader.ExpatLocator at 0x2f77de70>
xmlreader <module 'xml.sax.xmlreader' from '/usr/lib/python2.5/xml/sax/xmlreader.pyc'>
/usr/lib/python2.5/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
self xml.sax.expatreader.ExpatParser instance @ 0x307e3da0
<xml.sax.expatreader.ExpatParser instance at 0x307e3da0>
file <open file '/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/web/timerlist.xml', mode 'r' at 0x2fe06e30>
/usr/lib/python2.5/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 0x307eb5d0>
Localsself xml.sax.expatreader.ExpatParser instance @ 0x307e3da0
<xml.sax.expatreader.ExpatParser instance at 0x307e3da0>
isFinal 0
Globalsexpat <module 'xml.parsers.expat' from '/usr/lib/python2.5/xml/parsers/expat.pyc'>
/usr/lib/python2.5/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 @ 0x307e3940
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x307e3940>
Localsself xml.sax.expatreader.ExpatParser instance @ 0x307e3da0
<xml.sax.expatreader.ExpatParser instance at 0x307e3da0>
attrs Dictionary instance @ 0x2ff17a50u'name' u'TimerWebScreen'
name u'e2:screen'
GlobalsAttributesImpl <class xml.sax.xmlreader.AttributesImpl at 0x2f5bd1b0>
/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/webif.py, line 431 in startElement
429 def startElement(self, name, attrs):
430 if name == "e2:screen":
431 self.screen = eval(attrs["name"])(self.session, self.request) # fixme
432 self.screens.append(self.screen)
Selfscreen None
request twisted.web.server.Request instance @ 0x307d9c88
<GET /web/timerlist HTTP/1.1>
screens List instance @ 0x307dd8f0
session __main__.Session instance @ 0x2d8a9d50
<__main__.Session instance at 0x2d8a9d50>
Localsself Plugins.Extensions.WebInterface.webif.webifHandler instance @ 0x307e3940
<Plugins.Extensions.WebInterface.webif.webifHandler instance at 0x307e3940>
attrs xml.sax.xmlreader.AttributesImpl instance @ 0x307e38c8
<xml.sax.xmlreader.AttributesImpl instance at 0x307e38c8>
name u'e2:screen'
/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/WebScreens.py, line 203 in __init__
201 def __init__(self, session, request):
202 WebScreen.__init__(self, session, request)
203 from WebComponents.Sources.Timer import Timer
204
Localsself <class 'Plugins.Extensions.WebInterface.WebScreens.TimerWebScreen'>
session __main__.Session instance @ 0x2d8a9d50
<__main__.Session instance at 0x2d8a9d50>
request twisted.web.server.Request instance @ 0x307d9c88
<GET /web/timerlist HTTP/1.1>
GlobalsWebScreen <class 'Plugins.Extensions.WebInterface.WebScreens.WebScreen'>
<type 'exceptions.ValueError'>: bad marshal data
Alles anzeigen