Jump to content


Photo

Pli3.0 vu duo openwebif bug?


  • Please log in to reply
3 replies to this topic

#1 scalpel

  • Member
  • 4 posts

0
Neutral

Posted 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!


Re: Pli3.0 vu duo openwebif bug? #2 razorback

  • Senior Member
  • 65 posts

0
Neutral

Posted 20 December 2012 - 07:05

well, in your first line, you link to 192.168.1.160 which works apparently

but in your xbmc log you try to open 10.0.0.10 which does not.

what do you learn by this ?

R
ET-9100, VU+Duo, T90 28,2E-23,5E-19,2E-16,0E-13,0E-9,0E-4,8E-0,8W Quad, 4xDiseqC EMP P168W.V2

Re: Pli3.0 vu duo openwebif bug? #3 scalpel

  • Member
  • 4 posts

0
Neutral

Posted 20 December 2012 - 08:00

I have double network configuration. Wired and wireless. Both ip works. Yesterday tried fresh install pli image. Nothing changed. It looks like some python libs problem.

Re: Pli3.0 vu duo openwebif bug? #4 scalpel

  • Member
  • 4 posts

0
Neutral

Posted 30 December 2012 - 20:11

Ok i figured what happened. There is a problem, that when you have double connections configured like me, you can't specify two gateways by gui. That makes problem that openwebif can't read second gateway and shows errors. I tested openwebif and old webinterface and same problems. Could devs make something to repair this? As i remember it works some long time ago on older pli builds.


2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users