OpenPLi-2.1-beta-dm800-20111121 by gjstroom
Thanks gjstroom for your great job :thum:
However there's a problem when I active Enable Http Authentification in OpenWebif. I receive this error message in my browser ... (is it possible to fix this ??)
----------------------------------------------------------------
web.Server Traceback (most recent call last):
<type 'exceptions.ImportError'>: No module named spwd
/usr/lib/python2.6/site-packages/twisted/web/server.py, line 149 in process
147
148
149
150
/usr/lib/python2.6/site-packages/twisted/web/server.py, line 567 in getResourceFor
565
566
567
568
/usr/lib/python2.6/site-packages/twisted/web/resource.py, line 47 in getChildForRequest
45
46
47
48
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/httpserver.py, line 73 in getChildWithDefault
71
72 def getChildWithDefault(self, path, request):
73 if self.login(request.getUser(), request.getPassword()) == False:
74 request.setHeader('WWW-authenticate', 'Basic realm="%s"' % ("OpenWebif"))
Locals
path ''
self
Plugins.Extensions.OpenWebif.httpserver.AuthResource instance @ 0x1d60c38 <Plugins.Extensions.OpenWebif.httpserver.AuthResource instance at 0x1d60c38>
request
twisted.web.server.Request instance @ 0x1d1a3f0 <GET / HTTP/1.1>
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/httpserver.py, line 84 in login
82 from crypt import crypt
83 from pwd import getpwnam
84 from spwd import getspnam
85 cpass = None
Locals
getpwnam <built-in function getpwnam>
crypt <built-in function crypt>
<type 'exceptions.ImportError'>: No module named spwd
----------------------------------------------------------------