Jump to content


scalpel

Member Since 18 Dec 2011
Offline Last Active 03 Dec 2015 12:00
-----

Topics I've Started

Pli3.0 vu duo openwebif bug?

19 December 2012 - 08:00

In openwebif button "box info" doesn't work, nothing change. But when i try by link http://192.168.1.160/web/deviceinfo

web.Server Traceback (most recent call last):
<type 'exceptions.TypeError'>: object of type 'NoneType' has no len()
/usr/lib/python2.7/site-packages/twisted/web/server.py, line 132 in process
130
131
132
133
/usr/lib/python2.7/site-packages/twisted/web/server.py, line 167 in render
165
166
167
168
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py, line 76 in render
74								plfunc(request)
75
76						data = func(request)
77						if data is None:
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/web.py, line 533 in P_deviceinfo
531
532		def P_deviceinfo(self, request):
533				return getInfo()
534
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/info.py, line 173 in getInfo
171						"ip": formatIp(iNetwork.getAdapterAttribute(iface, "ip")),
172						"mask": formatIp(iNetwork.getAdapterAttribute(iface, "netmask")),
173						"gw": formatIp(iNetwork.getAdapterAttribute(iface, "gateway"))
174				})
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/info.py, line 31 in formatIp
29
30def formatIp(ip):
31		if len(ip) != 4:
32				return None
<type 'exceptions.TypeError'>: object of type 'NoneType' has no len()

It is important for me because i can't get to work xbmc with vu+ client addon.
XBMC log:
19:51:49 T:2905455472   ERROR: Open - failed to open source <http://10.0.0.10:80/web/deviceinfo>
19:51:49 T:2905455472   ERROR: AddOnLog: VU+ / Enigma2 Client: Open It seem's that the webinterface cannot be reached. Make sure that you set the correct configuration options in the addon settings!