Jump to content


Photo

OpenWebif - Trying to manually install it

E2OpenPlugins

  • Please log in to reply
7 replies to this topic

#1 attaros

  • Senior Member
  • 52 posts

0
Neutral

Posted 13 November 2011 - 00:06

Hi,

I know this plugin is not yet finished but i wanted to install it to see how it looks.


I installed it in '/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/' but when i restart enigma2 i get a green screen with this text:

...........
...........

Traceback (most recent call last):
File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 9, in __call__
return self.fnc(*self.args + args, **newkwargs)
File "/usr/lib/enigma2/python/Components/Console.py", line 56, in finishedCB
self.callbacks[name](data,retval,extra_args)
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkSetup/earlyplugin.py", line 138, in routeFinished
self.loadNetworkConfig(iface,callback)
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkSetup/earlyplugin.py", line 233, in loadNetworkConfig
self.msgPlugins()
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkSetup/earlyplugin.py", line 690, in msgPlugins
p(reason=self.config_ready)
File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/plugin.py", line 86, in IfUpIfDown
HttpdStart(global_session)
File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/httpserver.py", line 44, in HttpdStart
http_running = reactor.listenTCP(port, site)
File "/usr/lib/python2.6/site-packages/twisted/internet/posixbase.py", line 356, in listenTCP
p.startListening()
File "/usr/lib/python2.6/site-packages/twisted/internet/tcp.py", line 858, in startListening
raise CannotListenError, (self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on any:8088: [Errno 125] Address already in use.
(PyObject_CallObject(<Tools.BoundFunction.boundFunction instance at 0x14f25a8>,(0,)) failed)
getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! (Typo??)
resolve: resolve ${sysconfdir}/enigma2/settings
resolve: -> /etc/enigma2/settings
getResolvedKey config.plugins.crashlogautosubmit.addNetwork failed !! (Typo??)
resolve: resolve ${sysconfdir}/enigma2/settings
resolve: -> /etc/enigma2/settings
getResolvedKey config.plugins.crashlogautosubmit.addWlan failed !! (Typo??)
resolve: resolve ${sysconfdir}/enigma2/settings
resolve: -> /etc/enigma2/settings
]]>
...........



I tried also to change the port on which it listens from 8088 to 7777 but i get the same green screen with same error message.
Any clue ? Newbie here....

Thanks
attaros

Re: OpenWebif - Trying to manually install it #2 joseb

  • Senior Member
  • 139 posts

+3
Neutral

Posted 13 November 2011 - 20:59

I think a change has been made to avoid crashes for listening on aport that is already in use.
So use the newest version.

Maybe you didn't stop/kill/delete an old version of the OpenWebif? In that case I would just reboot the box.

I installed it today on a box it wasn't installed before with no problem doing this:
- opkg install python-cheetah
- copy everything in the plugin subdirectory of the openWebif zifile from
https://github.com/E.../zipball/master
to /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif
- restart enigma

Hope this helps.
ET9000 ET5000 - 3 quad LNB 19,23,28 E - Viseosat

Re: OpenWebif - Trying to manually install it #3 attaros

  • Senior Member
  • 52 posts

0
Neutral

Posted 14 November 2011 - 17:37

Hi,

I was already doing what you wrote and putting the new version gives me an excpection linked to Address already in use.

(Traceback (most recent call last):
File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 9, in __call__
return self.fnc(*self.args + args, **newkwargs)
File "/usr/lib/enigma2/python/Components/Console.py", line 56, in finishedCB
self.callbacks[name](data,retval,extra_args)
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkSetup/earlyplugin.py", line 138, in routeFinished
self.loadNetworkConfig(iface,callback)
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkSetup/earlyplugin.py", line 233, in loadNetworkConfig
self.msgPlugins()
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkSetup/earlyplugin.py", line 690, in msgPlugins
p(reason=self.config_ready)
File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/plugin.py", line 86, in IfUpIfDown
HttpdStart(global_session)
File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/httpserver.py", line 38, in HttpdStart
except CannotListenError:
NameError: global name 'CannotListenError' is not defined
(PyObject_CallObject(<Tools.BoundFunction.boundFunction instance at 0x15035d0>,(0,)) failed)
getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! (Typo??)

By the way , i have an original DM800 and using Nemesis 2.4 svn99r1 with Dumbo0.25p.

Thanks
attaros

Re: OpenWebif - Trying to manually install it #4 joseb

  • Senior Member
  • 139 posts

+3
Neutral

Posted 14 November 2011 - 22:51

So there is still something listening on port 8088. Maybe you have another plugin installed?

If you delete the OpenWebif directory,
rm -rf /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/*
reboot you satellite receiver, and browse to http://<yourbox>:8088/
do you see anything?

If you get a connection error, reinstall the OpenWebif stuff, reboot and try again.

If you do see something,can you tell what is using this port by what you see?
what do you see when you do

netstat -tlpn
 
 

on your box?
ET9000 ET5000 - 3 quad LNB 19,23,28 E - Viseosat

Re: OpenWebif - Trying to manually install it #5 attaros

  • Senior Member
  • 52 posts

0
Neutral

Posted 14 November 2011 - 23:06

Hi,

- removed the plugin and tried h t t p : //ip_address:8088 no response (so port not used).

- removed also existing webinterface to free also port 80.

- executed: netstat -tln (p does not exits on my Linux dm800 2.6.18-7.4)

Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:8001 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:1194 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:1899 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN

- tried also ports 7777, 80.....no success. Green screen looping.

I have no idea of what is the probem !!! I do not have multiboot otherwise i would have tried with another image !!!!

Thanks anyway
attaros

Edited by attaros, 14 November 2011 - 23:08.


Re: OpenWebif - Trying to manually install it #6 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 15 November 2011 - 10:14

Hi attaros thannks for your report. There was a bug in server starting i think i have fixed it now.
Please download the latest version and try to install and change port.
I suggest to disable the standard webinterface (Start Web Interface: no) and to try to set the port 80 for openwebif.

Re: OpenWebif - Trying to manually install it #7 bogyman

  • Senior Member
  • 80 posts

0
Neutral

Posted 15 November 2011 - 12:38

very useful but osd screnshot not working

Re: OpenWebif - Trying to manually install it #8 attaros

  • Senior Member
  • 52 posts

0
Neutral

Posted 15 November 2011 - 16:46

:) Finally it works. (I removed the old web interface and changed the port to 80, as i was using it just to change channel....when battling for the remote).

Great look and feel, fast response. It is very promising indeed and will be a better replacement of the existing interface.

Thanks for the support

Edited by attaros, 15 November 2011 - 16:47.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users