Jump to content


Photo

Bug: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc

kodi

  • Please log in to reply
13 replies to this topic

#1 dinth

  • Member
  • 6 posts

0
Neutral

Posted 28 December 2018 - 09:54

Since i updated my sat box to OpenPLi 0.7-rc (build 20181220) few days ago, it's not possible to enable Enigma2 client in Kodi anymore. Whenever i restart Kodi or manually go to addons list and disable/re-enable Enigma2 addon im getting "Add-on couldn't be loaded. An unknown error has occured" error. I filled a bug report on Kodi forums, but the devs out there advised me that this is OpenPLi bug/regression.

Here's the log in Kodi:

20:06:47.836 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - Open - VU+ Addon Configuration options
20:06:47.836 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - Open - Hostname: '192.168.1.175'
20:06:47.836 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - Open - WebPort: '80'
20:06:47.836 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - Open - StreamPort: '8001'
20:06:47.836 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - Open Use HTTPS: 'false'
20:06:47.989 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - LoadDeviceInfo - DeviceInfo
20:06:47.989 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - LoadDeviceInfo - E2EnigmaVersion: 2018-12-19-rc
20:06:47.989 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - LoadDeviceInfo - E2ImageVersion: 7.0-rc
20:06:47.989 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - LoadDeviceInfo - E2DistroVersion: openpli
20:06:47.989 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - LoadDeviceInfo - E2WebIfVersion: OWIF 1.3.5
20:06:47.989 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - LoadDeviceInfo - E2DeviceName: 1
20:06:48.473 T:139678803232512 ERROR: ADDON: Dll Enigma2 Client - Client returned bad status (1) from Create and is not usable
20:06:49.959 T:139678803232512 ERROR: UpdateAddons: Failed to create add-on Enigma2 Client, status = 1

For some reason, OpenPLi 0.7-rc returns "1" as its DeviceName, and apparently this value is not valid. 


Edited by dinth, 28 December 2018 - 09:55.


Re: Bug: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #2 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 28 December 2018 - 10:24


Kodi forums, but the devs out there advised me that this is OpenPLi bug/regression.\

Easy statement... ;) Sounds more like it is caused due to a change in OWIF...


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


Re: Bug: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #3 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 28 December 2018 - 11:36

Hi,

have you enabled password in OWIF? If yes disable it for a test.

 

ciao


Edited by Trial, 28 December 2018 - 11:37.


Re: Bug: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #4 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 28 December 2018 - 17:08

Addons are compiled with kodi, otherwise they do not work.For me this is:
 
17:59:17.162 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: Open - VU+ Addon Configuration options
17:59:17.162 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: Open - Hostname: '127.0.0.1'
17:59:17.162 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: Open - WebPort: '80'
17:59:17.162 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: Open - StreamPort: '8001'
17:59:17.162 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: Open Use HTTPS: 'false'
17:59:17.258 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: GetDeviceInfo - DeviceInfo
17:59:17.262 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: GetDeviceInfo - E2EnigmaVersion: 2018-12-25-develop
17:59:17.262 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: GetDeviceInfo - E2ImageVersion: develop
17:59:17.262 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: GetDeviceInfo - E2WebIfVersion: OWIF 1.3.5
17:59:17.262 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: GetDeviceInfo - E2DeviceName: ET-11000


Re: Bug: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #5 dinth

  • Member
  • 6 posts

0
Neutral

Posted 28 December 2018 - 21:33

Will try to update the build to the latest one today and try again. 



Re: Bug: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #6 dinth

  • Member
  • 6 posts

0
Neutral

Posted 29 December 2018 - 09:57

Hi,

have you enabled password in OWIF? If yes disable it for a test.

 

ciao

No, authentication is disabled.

 

 

 

Addons are compiled with kodi, otherwise they do not work.For me this is:
 
17:59:17.262 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: GetDeviceInfo - E2DeviceName: ET-11000

 

I updated my OpenPLi to 28-12-18 revision and im still getting same problem. I tried changing "Custom device name" in web interface configuration, but apparently it's a different "device name". The problem seems to be with Forumler1 build



Re: Bug: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #7 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 29 December 2018 - 19:19

Try this file.

Attached Files



Re: Bug: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #8 dinth

  • Member
  • 6 posts

0
Neutral

Posted 29 December 2018 - 21:32

Try this file

 

 

Thanks for this, unfortunately i cannot install it - "dependency on xbmc.pvr version 5.2.1 could not be resolved".

Anyhow, i highly doubt if this is a Kodi plugin problem.  

 

Here your OpenPLi box is sending a correct E2DeviceName over OWIF:

 

17:59:17.262 T:3014695984  NOTICE: AddOnLog: VU+ / Enigma2 Client: GetDeviceInfo - E2DeviceName: ET-11000

My Formuler 1 box doesnt send a correct E2DeviceName though:

20:06:47.989 T:139678803232512 NOTICE: AddOnLog: Enigma2 Client: pvr.vuplus - LoadDeviceInfo - E2DeviceName: 1
20:06:48.473 T:139678803232512 ERROR: ADDON: Dll Enigma2 Client - Client returned bad status (1) from Create and is not usable


Re: Bug: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #9 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 29 December 2018 - 21:43

The generic OWIF API hasn't changed in dogs years. Kodi calls http://<ip>/web/deviceinfo.
 
it returns an XML file, which can be parsed only one way, and e2devicename is a value on the XML. It also lists the OWIF version. So what does that URL return when you call it in your browser? 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #10 dinth

  • Member
  • 6 posts

0
Neutral

Posted 29 December 2018 - 23:34

The generic OWIF API hasn't changed in dogs years. Kodi calls http://<ip>/web/deviceinfo.
 
it returns an XML file, which can be parsed only one way, and e2devicename is a value on the XML. It also lists the OWIF version. So what does that URL return when you call it in your browser? 

 

<e2deviceinfo>
<e2oeversion>PLi-OE</e2oeversion>
<e2enigmaversion>2018-12-27-rc</e2enigmaversion>
<e2distroversion>openpli</e2distroversion>
<e2imageversion>7.0-rc</e2imageversion>
<e2driverdate>4.10.6+20170413-r0.0</e2driverdate>
<e2webifversion>OWIF 1.3.5</e2webifversion>
<e2fpversion>None</e2fpversion>
<e2devicename>1</e2devicename>
<e2frontends>
<e2frontend>
<e2name>Tuner A</e2name>
<e2model>BCM7346 (internal) (DVB-S2)</e2model>
</e2frontend>
<e2frontend>
<e2name>Tuner B</e2name>
<e2model>BCM7346 (internal) (DVB-S2)</e2model>
</e2frontend>
<e2frontend>
<e2name>Tuner C</e2name>
<e2model>Si2168 (DVB-T2)</e2model>
</e2frontend>
</e2frontends>
<e2network>
<e2interface>
<e2name>eth0</e2name>
<e2mac>xx:xx:xx:xx:43:ed</e2mac>
<e2dhcp>False</e2dhcp>
<e2ip>192.168.1.175</e2ip>
<e2gateway>192.168.1.1</e2gateway>
<e2netmask>255.255.0.0</e2netmask>
</e2interface>
</e2network>
<e2hdds>
<e2hdd>
<e2model>ATA(G-DRIVE)</e2model>
<e2capacity>5.5 TB</e2capacity>
<e2free>5080.0 GB</e2free>
<e2mount>/media/hdd</e2mount>
</e2hdd>
</e2hdds>
</e2deviceinfo>

Same Kodi plugin used to work perfectly fine with 6.2 before i upgraded my tuner to 7.0-rc



Re: Bug: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #11 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 30 December 2018 - 01:47

The "1" comes from https://github.com/E...randing.py#L237. But that is a cosmetic thing, otherwise this output is fine.

 

7.0 is different from 6.2, that doesn't say anything. Wordperfect worked fine on my 8088 DOS PC. Not so good on later versions.

 

It is up to this Kodi plugin to maintain compatibility, so I suggest you should ask this on a Kodi forum? If you google that error message, you'll find lots of hits. I find this one interesting: https://forum.kodi.t....php?tid=309775, about the lack of maintenance of this plugin. So a year and a half ago there were already questions about its compatibility...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #12 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 30 December 2018 - 01:55

The "1" comes from https://github.com/E...randing.py#L237. But that is a cosmetic thing, otherwise this output is fine.

 

Fixed: https://github.com/E...27d526f854355c5


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #13 dinth

  • Member
  • 6 posts

0
Neutral

Posted 30 December 2018 - 09:30

Thanks for fixing this WanWizard. Will your change be included in OpenPLi nightly automatically or i need to wait for next plugin release to test it? 



Re: Bug: Kodi's Enigma2 client doesnt connect to OpenPLi 0.7-rc #14 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 30 December 2018 - 16:11

It will be in today's rc build.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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.




Also tagged with one or more of these keywords: kodi

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users