←  [EN] Third-Party Development

Forums

»

missing Python-dev

gufy78's Photo gufy78 18 May 2020

Hi All

 

I used to have UPNP Renderer in my previous image (NEWNIGMA) and it was working fine in my DM8000.
I needed to switch image to OpenPLI as I found it really more reliable for my old dreambox, it is definitely more stable, however I cannot find any renderer in OpenPLI

 

Recently I found this thread for Cocy plugin.

I have the same issue as many other users - when installing the final ipk I got message that python-dev is missing. It is not part of OpenPLI image
 

 

root@dm8000:/var/volatile/tmp# opkg install /tmp/enigma2-plugin-cocy_0.2.1.ipk
Collected errors:
* calculate_dependencies_for: Cannot satisfy the following dependencies for enigma2-plugin-cocy:
* python-dev *
* opkg_solver_install: Cannot install package enigma2-plugin-cocy.

 

 

 

Where can I download the right python-dev for this plugin?

Thanks

Quote

WanWizard's Photo WanWizard 18 May 2020

No idea why it would need python-dev, that contains header files you need if you want to compile using the Python C-API.

 

It doesn't contain any runtime files.

 

From what I can see it's an UPNP server, in which case doesn't the dlnaserver plugin not do what you want?

Quote

gufy78's Photo gufy78 18 May 2020

 

From what I can see it's an UPNP server, in which case doesn't the dlnaserver plugin not do what you want?

 

Hi

 

The UPNP renderer I had in Newnigma2 image was able to render channels within home network. I was able to watch dreambox channels in my bedroom with simple network player.

I hoped to get the same functionality from that.

 

DLNA server, as far as I know, stream media files saved in hdd.

 

Is there other plugin I could stream channels in my home network?

Quote

athoik's Photo athoik 18 May 2020

Where did you get CoCy?

This page seems to have 0.4.1 version:
https://github.com/mnlipp/CoCy4Enigma2

https://github.com/m...-cocy_0.4.1.ipk
Quote

serdeliuk's Photo serdeliuk 19 May 2020

root@dm8000:/var/volatile/tmp# opkg install /tmp/enigma2-plugin-cocy_0.2.1.ipk
Collected errors:
* calculate_dependencies_for: Cannot satisfy the following dependencies for enigma2-plugin-cocy:
* python-dev *
* opkg_solver_install: Cannot install package enigma2-plugin-cocy.

 

.

Where can I download the right python-dev for this plugin?

Thanks

 

 

Hi , this is the content of my python-dev package, but really depend on what python version you have.

Attached Files

Quote

serdeliuk's Photo serdeliuk 19 May 2020

Also you can try to build yourself the python for your machine, the build process will create the python-dev package too.

Quote

gufy78's Photo gufy78 19 May 2020

 

Hi athoik

 

Thanks for links to newer version of CoCy, 0.4.1  The latest I found was 0.2.1

 

I did install this extension and I see it within my Extensions (in remove list)

however I cannot see Cocy within plugins and I don't know how it works.

 

I do not see anything new in my home network, no DM rendering, so it seems the plugin is not working.

 

Could you please help on it?

Perhaps I need to install 0.2.2 version - on github is says it is compatible with OpenPLI 6.2

Quote

WanWizard's Photo WanWizard 19 May 2020

The postinstall of the package is using pip to install additional components, OpenPLi doesn't have pip in the image.

Quote

gufy78's Photo gufy78 19 May 2020

The postinstall of the package is using pip to install additional components, OpenPLi doesn't have pip in the image.

 

Hi

 

On github it says Cocy 0.2.2 is compatible with OpenPLI 6.2

unless I am mistaken by this statement...

 

Do I need to install something else, PIP?

While installation on Cocy 0.4.1  (it does not allow me to downgrade to 0.2.2 now) I got message I shall update pip from 8.1 to current version 20.1 which I did.

Still no joy however.

Quote

WanWizard's Photo WanWizard 19 May 2020

Always an issue with binary packages. It would be easier to have the recipies to build it, so all dependencies are resolved automatically.

Question is who is going to do that?

Quote

serdeliuk's Photo serdeliuk 19 May 2020

 

While installation on Cocy 0.4.1  (it does not allow me to downgrade to 0.2.2 now) I got message I shall update pip from 8.1 to current version 20.1 which I did.

 

You can downgrade if you first remove the previous version with opkg remove 

Quote

gufy78's Photo gufy78 19 May 2020

Hi All

 

 

I found this file in  /etc/cocy/config  so it looks alright.

Also, there is proper log file there  /var/log/cocy.log

...2020-05-19 19:24:11,427 CoCy[renderer] DEBUG: Enigma player started
2020-05-19 19:24:11,620 CoCy[renderer] DEBUG: Updated Info from player
2020-05-19 19:24:11,626 CoCy[renderer] DEBUG: Player playing
2020-05-19 19:24:11,629 CoCy[renderer] DEBUG: Updated Event Info from player
2020-05-19 19:24:11,633 CoCy[renderer] DEBUG: Updated Event Info from player
2020-05-19 19:24:11,638 CoCy[renderer] DEBUG: Updated Event Info from player
2020-05-19 19:24:11,736 CoCy[renderer] DEBUG: Updated Info from player
2020-05-19 19:24:12,937 CoCy[renderer] DEBUG: Updated Event Info from player
2020-05-19 19:24:13,962 CoCy[renderer] DEBUG: Enigma player started
2020-05-19 19:24:14,159 CoCy[renderer] DEBUG: Updated Info from player
2020-05-19 19:24:14,165 CoCy[renderer] DEBUG: Player playing
2020-05-19 19:24:14,168 CoCy[renderer] DEBUG: Updated Event Info from player
2020-05-19 19:24:14,171 CoCy[renderer] DEBUG: Updated Event Info from player
2020-05-19 19:24:14,175 CoCy[renderer] DEBUG: Updated Event Info from player
2020-05-19 19:24:14,225 CoCy[renderer] DEBUG: Updated Info from player
2020-05-19 19:24:14,315 CoCy[renderer] DEBUG: Updated Info from player
2020-05-19 19:24:15,197 CoCy[renderer] DEBUG: Updated Info from player
2020-05-19 19:24:15,801 CoCy[renderer] DEBUG: Updated Event Info from player
2020-05-19 19:24:15,831 CoCy[renderer] DEBUG: Updated Info from player
2020-05-19 19:24:16,034 CoCy[renderer] DEBUG: Updated Info from player
2020-05-19 19:24:16,104 CoCy[renderer] DEBUG: Updated Info from player
2020-05-19 19:24:25,226 CoCy[renderer] DEBUG: Updated Info from player
2020-05-19 19:25:01,511 CoCy[renderer] DEBUG: Updated Event Info from player
2020-05-19 19:35:01,955 CoCy[renderer] DEBUG: Updated Event Info from player 

Why I cannot see anything in my home network...

Quote

gufy78's Photo gufy78 20 May 2020

Hi All

 

I have installed python-dev so I think this thread can be closed.

 

However, the plugin still doesn't work   :(

Quote