Jump to content


Photo

Bug latest Images ... GREENSCREEN BONJOUR

greenscreen airplay airplayer bonjour

  • Please log in to reply
13 replies to this topic

#1 rotarum

  • Senior Member
  • 58 posts

0
Neutral

Posted 25 September 2014 - 08:48

Hi,

 

i have tried with my Dreambox and VU+

 

Both with latest OpenPLI installed, but if i start the Bonjour package i get GS always  :( 

 

Bonjour is needed for Airplayer ...

 

Can you reproduce this bug ???



Re: Bug latest Images ... GREENSCREEN BONJOUR #2 rotarum

  • Senior Member
  • 58 posts

0
Neutral

Posted 25 September 2014 - 08:51

I have attached 2 different ipk versions of Openair so you can test ...

Attached Files



Re: Bug latest Images ... GREENSCREEN BONJOUR #3 WanWizard

  • PLi® Core member
  • 70,563 posts

+1,816
Excellent

Posted 25 September 2014 - 15:01

If you have a green screen, you have a crash dump too. Can you post that please, so we can see what the error is?

 

And did you search the forums? There have been quite a few similar reports the last few months regarding Bonjour.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug latest Images ... GREENSCREEN BONJOUR #4 rotarum

  • Senior Member
  • 58 posts

0
Neutral

Posted 25 September 2014 - 15:36

If you have a green screen, you have a crash dump too. Can you post that please, so we can see what the error is?

 

And did you search the forums? There have been quite a few similar reports the last few months regarding Bonjour.

 

Its not about my boxes and installation, its a bug in general with OpenPLI ...

 

 

Can you install the above ipk in latest image ? Or just opkg install bonjour and you will get the GS 100%



Re: Bug latest Images ... GREENSCREEN BONJOUR #5 WanWizard

  • PLi® Core member
  • 70,563 posts

+1,816
Excellent

Posted 25 September 2014 - 18:52

Ah, so it's not an OpenPLi ipk you are installing? In that case go to the plugin maker and complain it crashes.

 

I asked you to post the crash dump, but appearently you don't want to. So I had to install the bonjour package that is in our feeds, and that crashes too:

[OpenWebif] no plugins to load
[OpenWebif] started on 80
[Bonjour.registerService] {'text': 'OpenWebif', 'type': '_http._tcp', 'name': '%h HTTP', 'file': 'http.service', 'port': 80}
[Bonjour.__writeService] Creating service file 'http.service'
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 9, in __call__
  File "/usr/lib/enigma2/python/Components/Console.py", line 56, in finishedCB
  File "/usr/lib/enigma2/python/Components/Network.py", line 131, in routeFinished
  File "/usr/lib/enigma2/python/Components/Network.py", line 226, in loadNetworkConfig
  File "/usr/lib/enigma2/python/Components/Network.py", line 682, in msgPlugins
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/plugin.py", line 153, in IfUpIfDown
    HttpdStart(global_session)
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/httpserver.py", line 139, in HttpdStart
    BJregisterService('http',port)
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/httpserver.py", line 326, in BJregisterService
    bonjour.registerService(service, True)
  File "/usr/lib/enigma2/python/Plugins/Extensions/Bonjour/Bonjour.py", line 110, in registerService
    if not self.__writeService(service):
  File "/usr/lib/enigma2/python/Plugins/Extensions/Bonjour/Bonjour.py", line 44, in __writeService
    file.writelines(self.__createServiceConfig(service))
  File "/usr/lib/enigma2/python/Plugins/Extensions/Bonjour/Bonjour.py", line 29, in __createServiceConfig
    lines.add('\t\t<text-record>%s</text-record>\n' %(service['text']) )
AttributeError: 'list' object has no attribute 'add'
(PyObject_CallObject(<Tools.BoundFunction.boundFunction instance at 0x1ac2e68>,(0,)) failed)
getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addNetwork failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addWlan failed !! (Typo??)
]]>

So it looks like the recent changes in the OpenWebIf have created an incompatibility with the Bonjour plugin...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug latest Images ... GREENSCREEN BONJOUR #6 rotarum

  • Senior Member
  • 58 posts

0
Neutral

Posted 25 September 2014 - 19:44

Ah, so it's not an OpenPLi ipk you are installing? In that case go to the plugin maker and complain it crashes.

 

I asked you to post the crash dump, but appearently you don't want to. So I had to install the bonjour package that is in our feeds, and that crashes too:

[OpenWebif] no plugins to load
[OpenWebif] started on 80
[Bonjour.registerService] {'text': 'OpenWebif', 'type': '_http._tcp', 'name': '%h HTTP', 'file': 'http.service', 'port': 80}
[Bonjour.__writeService] Creating service file 'http.service'
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 9, in __call__
  File "/usr/lib/enigma2/python/Components/Console.py", line 56, in finishedCB
  File "/usr/lib/enigma2/python/Components/Network.py", line 131, in routeFinished
  File "/usr/lib/enigma2/python/Components/Network.py", line 226, in loadNetworkConfig
  File "/usr/lib/enigma2/python/Components/Network.py", line 682, in msgPlugins
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/plugin.py", line 153, in IfUpIfDown
    HttpdStart(global_session)
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/httpserver.py", line 139, in HttpdStart
    BJregisterService('http',port)
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/httpserver.py", line 326, in BJregisterService
    bonjour.registerService(service, True)
  File "/usr/lib/enigma2/python/Plugins/Extensions/Bonjour/Bonjour.py", line 110, in registerService
    if not self.__writeService(service):
  File "/usr/lib/enigma2/python/Plugins/Extensions/Bonjour/Bonjour.py", line 44, in __writeService
    file.writelines(self.__createServiceConfig(service))
  File "/usr/lib/enigma2/python/Plugins/Extensions/Bonjour/Bonjour.py", line 29, in __createServiceConfig
    lines.add('\t\t<text-record>%s</text-record>\n' %(service['text']) )
AttributeError: 'list' object has no attribute 'add'
(PyObject_CallObject(<Tools.BoundFunction.boundFunction instance at 0x1ac2e68>,(0,)) failed)
getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addNetwork failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addWlan failed !! (Typo??)
]]>

So it looks like the recent changes in the OpenWebIf have created an incompatibility with the Bonjour plugin...

Thank you !

 

Hope it will be fixed soon so i can flash the OpenPLI again  :D



Re: Bug latest Images ... GREENSCREEN BONJOUR #7 WanWizard

  • PLi® Core member
  • 70,563 posts

+1,816
Excellent

Posted 25 September 2014 - 20:52

Don't know where the plugin comes from, so who has to fix it. I'm not a developer, so someone else has to pick it up...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug latest Images ... GREENSCREEN BONJOUR #8 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 26 September 2014 - 05:16

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/Extensions/Bonjour/Bonjour.py", line 29, in __createServiceConfig
    lines.add('\t\t<text-record>%s</text-record>\n' %(service['text']) )
AttributeError: 'list' object has no attribute 'add'
(PyObject_CallObject(<Tools.BoundFunction.boundFunction instance at 0x1ac2e68>,(0,)) failed)

Don't know where the plugin comes from, so who has to fix it. I'm not a developer, so someone else has to pick it up...


Bonjour comes from the openpli-git:
http://sourceforge.n...er/tree/bonjour
 

So it looks like the recent changes in the OpenWebIf have created an incompatibility with the Bonjour plugin...

There hasn't been any Bonjour related change in OpenWebif for ages.
Bonjour in OpenPLi has always crashed when it was installed.

The only reason why it doesn't keep crashing for everyone is the fact that Bonjour isn't installed by default.

As you can see on the git, OpenPLi is still using the initial release of Bonjour from 2010, so it's just yet another outdated component of OpenPLi causing this.
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: Bug latest Images ... GREENSCREEN BONJOUR #9 littlesat

  • PLi® Core member
  • 57,224 posts

+701
Excellent

Posted 26 September 2014 - 06:40

Instead of shouting here that we use another outdated components.... I suggest you can post a non outdated solutions here, so it can be fixed! :) :D

 

And indeed for "some" schwerkraft plugins we are "far" behind, but note some of the authers from Schwerkraft do simply not want us to used their creative work in  non-DMM boxes. And were were personally notified by them.

 

This means we cannot simply merge these sources and therefore we somehowe depend on reports from the community to adapt stuff.

 

At least I verified that bonjour is most likely fine to adapt... So please help us to get it adapt...!


Edited by littlesat, 26 September 2014 - 07:05.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Bug latest Images ... GREENSCREEN BONJOUR #10 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 26 September 2014 - 13:31

Why keep in feed plugin from schwerkraft if you can no longer continue to provide them with the latest version, every plugin become obsolete at some stages so it is probably better to remove them from the feed.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Bug latest Images ... GREENSCREEN BONJOUR #11 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 26 September 2014 - 13:57

Because it's better to have an autotimer plugin (for example) that basically works and does what it must do, although it's not the latest version, than having no autotimer at all...


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Bug latest Images ... GREENSCREEN BONJOUR #12 nietgiftig

  • Senior Member
  • 787 posts

+39
Good

Posted 26 September 2014 - 14:17

Because it's better to have an .......  that basically works and does what it must do, although it's not the latest version, than having no ........ at all...

 

Why create  a Pli update for a Pli that basicly works, then update with "as example" one with new drivers.


 Hardware: Master VU Uno 4K SE  1x Mut@nt HD51.4K & 2x ZgemmaH9T
Software : Pli (v7) (7.1rc) 2019 


Re: Bug latest Images ... GREENSCREEN BONJOUR #13 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 26 September 2014 - 14:18

You should first get familiar with the relevant licensing issues regarding schwerkraft plugins, before making such statements.


Edited by Erik Slagter, 26 September 2014 - 14:19.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Bug latest Images ... GREENSCREEN BONJOUR #14 tosbaha

  • Member
  • 6 posts

0
Neutral

Posted 26 September 2014 - 14:34

Been there done that. Here is what is happening and how to fix it. OpenWebif calls current bonjour API with wrong parameters and it crashes. There are two things you can do

1. First comment out bonjour API. Open /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/httpserver.py and go to end of file you will see something like below

# BJ
def BJregisterService(protocol, port):
    try:
        from Plugins.Extensions.Bonjour.Bonjour import bonjour
        service = bonjour.buildService(protocol, port, 'OpenWebif')
        bonjour.registerService(service, True)
        return True

change it like below

# BJ
def BJregisterService(protocol, port):
    try:
        #from Plugins.Extensions.Bonjour.Bonjour import bonjour
        #service = bonjour.buildService(protocol, port, 'OpenWebif')
        #bonjour.registerService(service, True)
        return True

2. Call buildservice with correct parameters to create true bonjour service. Easy way is change

bonjour.buildService(protocol, port, 'OpenWebif')

 

line to

bonjour.buildService(protocol, port)

Or if you really want to see OpenWebif in the description of avahi services use buildServiceFull api. If you want to test those patches make sure you delete http.service from etc/avahi/services





Also tagged with one or more of these keywords: greenscreen, airplay, airplayer, bonjour

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users