PDA

View Full Version : uPnP media renderer



Trial
02-07-13, 07:21
Hi,
i want to present an uPnP media renderer for Enigma2. Up to now only a dreambox with OE2 had one and now almost all E2 boxes. The renderer was written by Michael N. Lipp and called CoCy and adapted by me. What is a media renderer? Something similar to Airplay but based on uPnP. What can it do. You can install BubbleUPnP on your android (IOS???) device and the select the E2 box as the output device. When you chose a video or music file in BubbleUPnP and play it it will be actually played on your STB. So it is an easy way to get music and videos from you cell phone on to the TV screen or to your AVR.

At the moment installation is still quite complicated but you only have to do it once. So in case something fails please make an image backup before you start!

Extract the attached file on you PC and copy the directories CoCy-master, circuits-2.1.0 and circuits-bricks to /etc on you box. Telnet to you box and then
cd /tmp
opkg install libgdbm4
opkg install python-distutils
opkg install python-db
opkg install python-gdbm
opkg install python-xmlrpc
opkg install python-compile
opkg install python-multiprocessing
opkg install python-subprocess
python ez_setup.py
cd circuits-2.1.0
python setup.py install
cd ../circuits-bricks-0.3
python setup.py install
cd ../CoCy-master
python setup.py install

Now copy the directory CoCy to you box into /usr/lib/enigma2/python/Plugins/SytemPlugins

After a restart you should see an Enigma2 Media Renderer in BubbleUPnP as output device. To be able to play videos from your portable device you must disable Mime Type Checking in BubbleUPnP.

When your image is not ViX then the opkg install part will probably fail because the libraries are not on the feed in this case download the python libs and install them.

I installed it on my Solo2 with OpenViX 3.0.685 and VTi 5.1.

ciao

Maga77
06-09-13, 21:46
Ciao,
Il plugin č proprio quello che sto cercando!
Io perņ posseggo un decoder UNIBOX VENTON HD1 con immagine Egami (OE).
Sai dirmi se posso provare a installarlo anche io alla stessa maniera? Non vorrei incasinare il decoder..
Oppure sai se c'č un altro plugin simile?
Grazie


Inviato dal mio Galaxy Nexus con Tapatalk 2

Trial
06-09-13, 23:05
hi,
I only understand german and english.

sorry

Gesendet von meinem GT-P1000 mit Tapatalk 4

Rob van der Does
07-09-13, 05:08
Basta fare un backup e si puņ provare liberamente tutto.

Maga77
07-09-13, 08:53
Hello ,
The plugin is just what I'm looking for!
But I own a decoder UNIBOX Venton HD1 with Egami image (OE) .
Can you tell me if I can try to install it the same way too ? I would not mess up the decoder ..
Or do you know if there is another similar plugin ?
thanks

Inviato dal mio Galaxy Nexus con Tapatalk 2

Trial
07-09-13, 18:18
Hi,
as Rob said make a full image backup so you can restore your current state easily.

Installation should be possible on all boxes with Enigma2 and Python 2.7.

There is still a problem with the renderer concerning the file /var/lib/cocy/upnp_uuids. When you make a complete restart of your box you must delete this file and restart enigma2 to get it running again. An alternative would be AirPlay for which at least two plugins exists.

ciao

Trial
13-10-13, 18:22
Hi,
here is a version which installed nicely on my DUO2 and it survives reboots.

ciao

Toasty84
27-12-13, 14:55
Hi,

Sorry to resurrect this thread. I was just wondering if anyone has COCY working on the newest VIX image?
I tried to install this last night on my Solo2 but run into problems.
I'd love to be able to get this running, it's the only thing missing from my current configuration.

I did test out the BH image when I first got my Solo2. Although I liked their implementation of the Coherence Upnp renderer, I just didn't like the image as much as VIX.


Thanks!

Trial
27-12-13, 19:25
Hi,
Michael, the author of cocy, had done quite some work and the attached version should install without problems. At least on my Duo2 with ViX it was no problem.

ciao

Toasty84
27-12-13, 20:47
Thanks for the reply Trial.

I'll give your attached version a try this evening if I get a bit of time.

Thanks again!

Toasty84
28-12-13, 12:27
Hi,

I gave it a try, but I'm still having problems.
During installation I get a lot of unsatisfied recommendation's (mainly python-dev & a few ncurses-dev).


The installation output ends with...


Traceback (most recent call last):
File "ez_setup.py", line 21, in <module>
import optparse
ImportError: No module named optparse
//var/lib/opkg/info/enigma2-plugin-cocy.postinst: line 12: easy_install: command not found


After a reboot I get the following message when entering the plugins menu...


Some plugins are not available:
SystemPlugins/CoCy/ (No module named circuits_bricks.app)


Any ideas? I'll keep trying, maybe I will stumble across a solution.
If I get it working I will post the solution here in case anyone else with a Solo 2 running vix is interested in setting this up.


Thanks!

Trial
28-12-13, 19:42
Hi,
I had it running on ViX 3.??? for about half a year. Is your box connected to the internet and is it working? Perhaps you need to change DNS to 8.8.8.8 because of some funny ISP.

A working inet connection is mandatory for this installation.

ciao

Toasty84
02-01-14, 10:40
Hi Trial,

The box always has a network connection and access to the internet. I tried changing the DNS to see if it would make any difference but the end result was exactly the same as my previous post.

I haven't had a lot of time to spend getting this working due to Christmas/New Year commitments. I will hopefully have a bit time to test things out this weekend.

As always thanks for the help and suggestions.

Thanks!

Trial
02-01-14, 14:52
Hi,
have you tried 0.12a or 0.14? Have you tried on ViX? Which version of ViX?

Attached version 0.2 of CoCy where Michel made quite some changes. Try this one.

ciao

barolos
09-01-14, 13:23
Hi,
i'm tryng cocy on vusolo2 with vti 6.0.5.
After installation of the last version of cocy, i can't get the renderer on bubblesupnp.
thi is the cocy.log

2014-01-09 13:13:02,539 CoCy[application] INFO: Application CoCy started
2014-01-09 13:13:04,644 CoCy[providers] DEBUG: <Enigma2Player/media_player 1735:Application (queued=0) [S]> changed: {'volume': 1}

thanks

Trial
09-01-14, 20:06
Hi,
attached you find the latest versions. To be sure it works first expand cocy 0.1.10 and copy the cocy directory to /tmp on your box. With telnet go into this directory with cd /tmp/cocy-0.1.10 and enter the command python setup.py install. After that install the enigma2 plugin. After a restart you should have the new renderer up and running. As a bonus als pictures are now working:-)

ciao

barolos
11-01-14, 11:41
thanks for replay,
i tried but nothing change, I have same log, cocy look to be strated but bubbleupnp render is empty.
I tried to install on a clean vti 6.0.5, but is been necessary to install ez_setup.py for setutool and the ptyhon library.
Same situation,
2014-01-09 13:13:02,539 CoCy[application] INFO: Application CoCy started
2014-01-09 13:13:04,644 CoCy[providers] DEBUG: <Enigma2Player/media_player 1735:Application (queued=0) [S]> changed: {'volume': 1}
thanks

papa2
11-01-14, 12:18
I expanded the cocy-0.1.10.tar.gz but when I try to install it , it says No module named setuptools

Trial
11-01-14, 14:44
Hi,
install python-dev and python-difflib and try again.

ciao

papa2
11-01-14, 15:59
Are the steps in first post still needed ? or do I just install the files from post #16

Trial
12-01-14, 10:25
Hi,

Are the steps in first post still needed ? or do I just install the files from post #16
no. Andy (Mr. Vix) and Michael did change a lot since I started installing CoCy and now only 1-2 steps are necessary. Sometimes installing only the plugin works but sometimes manual installation of CoCy is needed to.

ciao

barolos
14-01-14, 19:56
I didn't solve yet,
here the log (init 4 with putty)

CoCy] reason = 0
[CoCy] session = <__main__.Session instance at 0x286c058>
[CoCy] Added missing attribute oldRef to ServiceEventTracker
EXCEPTION IN PYTHON STARTUP CODE:
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/enigma2/python/mytest.py", line 607, in <module>
runScreenTest()
File "/usr/lib/enigma2/python/mytest.py", line 465, in runScreenTest
session = Session(desktop = getDesktop(0), summary_desktop = getDesktop(1), navigation = nav)
File "/usr/lib/enigma2/python/mytest.py", line 185, in __init__
p(reason=0, session=self)
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/CoCy/plugin.py", line 35, in plugin_start
start(session)
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/CoCy/server.py", line 51, in start
UPnPDeviceServer(application.app_dir).register(app lication)
File "/usr/lib/python2.7/site-packages/cocy-0.1.10-py2.7.egg/cocy/upnp/device_server.py", line 105, in register
SSDPTranceiver().register(self.parent)
File "/usr/lib/python2.7/site-packages/cocy-0.1.10-py2.7.egg/cocy/upnp/ssdp.py", line 60, in __init__
SSDPSender().register(self)
File "/usr/lib/python2.7/site-packages/cocy-0.1.10-py2.7.egg/cocy/upnp/ssdp.py", line 99, in __init__
% (type(e), str(e)), "logger"))
TypeError: __init__() takes exactly 3 arguments (4 given)
------------------------------------------------------------
(exit code 5)

thanks

papa2
14-01-14, 21:01
Hi,
install python-dev and python-difflib and try again.

ciao

Where do I get these files , tried just installing the ipk but doesnt install correctly

Just did an opkg install of both files and the ones I have installed are up to date but still
complains about setup tools,
I'm using the latest vix image

papa2
14-01-14, 21:34
Heres the error I get

root@vusolo2:/tmp/cocy-0.1.10# python setup.py install
Traceback (most recent call last):
File "setup.py", line 2, in <module>
from setuptools import setup
ImportError: No module named setuptools
root@vusolo2:/tmp/cocy-0.1.10#

and heres the error I get when I try to install the ipk

Traceback (most recent call last):
File "ez_setup.py", line 21, in <module>
import optparse
ImportError: No module named optparse
//var/lib/opkg/info/enigma2-plugin-cocy.postinst: line 12: easy_install: command
not found

Trial
14-01-14, 22:00
Hi,
which image are you on?

Have you installed python-dev and python-difflib before you try to install cocy-0.1.10?

I am out of ideas at the moment.

ciao

papa2
14-01-14, 23:24
Hi,
which image are you on?

Have you installed python-dev and python-difflib before you try to install cocy-0.1.10?

I am out of ideas at the moment.

ciao

Like I said earlier , the latest VIX image, so basically I'm getting 3 errors - no module named setuptools and when I install the ipk I get No module named optparse AND easy_install: command
not found

papa2
15-01-14, 13:02
I followed the step by step instructions posted in the vusupport forums and still cannot do this, heres the error

root@vusolo2:/var/volatile/tmp# opkg install python-dev_2.7.2-r8.17_mips32el.ipk
Installing python-dev (2.7.2-r8.17) to root...
Collected errors:
* opkg_install_pkg: Package python-dev md5sum mismatch. Either the opkg or the
package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package python-dev.
root@vusolo2:/var/volatile/tmp#

The first thing I done before trying to install it was opkg update , so thats not going to work,
it just looks like a problem with python-dev_2.7.2-r8.17_mips32el.ipk , could you post it again or even a newer version , I've looked but cant find one

Trial
15-01-14, 13:17
Hi,
where did you get "python-dev_2.7.2-r8.17_mips32el.ipk"? I think you copied it to /tmp and then tried to install it. This is not necessary with ViX because they are one the feed.

A simple
opkg install python-dev
opkg install python-difflib
should do.

ciao

papa2
15-01-14, 15:44
I got it from your thread over on vusupport , but I only tried that because opkg install python-dev didnt work,
I get a lot of unsatisfied recommendations ,heres the log

root@vusolo2:~# opkg install python-dev
Installing python-dev (2.7.2-r8.17) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/pyt
hon-dev_2.7.2-r8.17_mips32el.ipk.
python-dev: unsatisfied recommendation for python-audio-dev
python-dev: unsatisfied recommendation for python-mime-dev
openssl-dev: unsatisfied recommendation for libssl-dev
openssl-dev: unsatisfied recommendation for libcrypto-dev
libc6-dev: unsatisfied recommendation for eglibc-thread-db-dev
libc6-dev: unsatisfied recommendation for libsegfault-dev
bash-dev: unsatisfied recommendation for ncurses-libtinfo-dev
ncurses-dev: unsatisfied recommendation for ncurses-libmenu-dev
ncurses-dev: unsatisfied recommendation for ncurses-libpanel-dev
ncurses-dev: unsatisfied recommendation for ncurses-libtinfo-dev
ncurses-dev: unsatisfied recommendation for ncurses-libmenuw-dev
ncurses-dev: unsatisfied recommendation for ncurses-libncursesw-dev
ncurses-dev: unsatisfied recommendation for ncurses-libtic-dev
ncurses-dev: unsatisfied recommendation for ncurses-libncurses-dev
ncurses-dev: unsatisfied recommendation for ncurses-libform-dev
ncurses-dev: unsatisfied recommendation for ncurses-terminfo-base-dev
ncurses-dev: unsatisfied recommendation for ncurses-libpanelw-dev
ncurses-dev: unsatisfied recommendation for ncurses-libformw-dev
ncurses-dev: unsatisfied recommendation for ncurses-libticw-dev
libc6-dev: unsatisfied recommendation for eglibc-extra-nss-dev
libc6-dev: unsatisfied recommendation for libcidn-dev
libglib-2.0-dev: unsatisfied recommendation for glib-2.0-utils-dev
python-dev: unsatisfied recommendation for python-io-dev
python-dev: unsatisfied recommendation for ncurses-libtinfo-dev
python-dev: unsatisfied recommendation for python-resource-dev
python-dev: unsatisfied recommendation for python-zlib-dev
python-dev: unsatisfied recommendation for python-curses-dev
python-dev: unsatisfied recommendation for python-lang-dev
python-dev: unsatisfied recommendation for python-multiprocessing-dev
python-dev: unsatisfied recommendation for python-pkgutil-dev
python-dev: unsatisfied recommendation for python-subprocess-dev
python-dev: unsatisfied recommendation for python-json-dev
python-dev: unsatisfied recommendation for python-gdbm-dev
python-dev: unsatisfied recommendation for python-compile-dev
python-dev: unsatisfied recommendation for python-sqlite3-dev
python-dev: unsatisfied recommendation for python-logging-dev
python-dev: unsatisfied recommendation for python-math-dev
python-dev: unsatisfied recommendation for python-pickle-dev
python-dev: unsatisfied recommendation for python-email-dev
libgdbm-dev: unsatisfied recommendation for gdbm-compat-dev
python-dev: unsatisfied recommendation for python-pydoc-dev
python-dev: unsatisfied recommendation for python-pprint-dev
python-dev: unsatisfied recommendation for python-codecs-dev
libreadline-dev: unsatisfied recommendation for ncurses-libtinfo-dev
python-dev: unsatisfied recommendation for python-fcntl-dev
python-dev: unsatisfied recommendation for python-debugger-dev
python-dev: unsatisfied recommendation for python-xmlrpc-dev
python-dev: unsatisfied recommendation for sqlite3-dev
python-dev: unsatisfied recommendation for python-distutils-dev
python-dev: unsatisfied recommendation for python-unittest-dev
python-dev: unsatisfied recommendation for ncurses-libncursesw-dev
python-dev: unsatisfied recommendation for python-difflib-dev
python-dev: unsatisfied recommendation for python-crypt-dev
python-dev: unsatisfied recommendation for python-numbers-dev
python-dev: unsatisfied recommendation for python-idle-dev
python-dev: unsatisfied recommendation for python-db-dev
python-dev: unsatisfied recommendation for python-unixadmin-dev
python-dev: unsatisfied recommendation for libssl-dev
python-dev: unsatisfied recommendation for python-syslog-dev
python-dev: unsatisfied recommendation for python-tests-dev
python-dev: unsatisfied recommendation for libcrypto-dev
python-dev: unsatisfied recommendation for python-datetime-dev
python-dev: unsatisfied recommendation for python-profile-dev
python-dev: unsatisfied recommendation for python-compression-dev
python-dev: unsatisfied recommendation for python-xml-dev
python-dev: unsatisfied recommendation for python-textutils-dev
python-dev: unsatisfied recommendation for python-readline-dev
python-dev: unsatisfied recommendation for python-mailbox-dev
python-dev: unsatisfied recommendation for python-threading-dev
python-dev: unsatisfied recommendation for python-hotshot-dev
python-dev: unsatisfied recommendation for python-html-dev
python-dev: unsatisfied recommendation for python-tkinter-dev
python-dev: unsatisfied recommendation for python-mmap-dev
python-dev: unsatisfied recommendation for python-bsddb-dev
python-dev: unsatisfied recommendation for python-netclient-dev
python-dev: unsatisfied recommendation for python-image-dev
python-dev: unsatisfied recommendation for python-elementtree-dev
python-dev: unsatisfied recommendation for python-doctest-dev
python-dev: unsatisfied recommendation for python-shell-dev
python-dev: unsatisfied recommendation for python-terminal-dev
python-dev: unsatisfied recommendation for libpython2-dev
python-dev: unsatisfied recommendation for python-sqlite3-tests-dev
python-dev: unsatisfied recommendation for python-compiler-dev
python-dev: unsatisfied recommendation for python-2to3-dev
python-dev: unsatisfied recommendation for python-smtpd-dev
python-dev: unsatisfied recommendation for python-robotparser-dev
python-dev: unsatisfied recommendation for ncurses-libpanelw-dev
python-dev: unsatisfied recommendation for python-stringold-dev
python-dev: unsatisfied recommendation for python-re-dev
python-dev: unsatisfied recommendation for python-netserver-dev
python-dev: unsatisfied recommendation for python-ctypes-dev
python-dev: unsatisfied recommendation for python-core-dev
Installing openssl-dev (0.9.8x-r15.0) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/ope
nssl-dev_0.9.8x-r15.0_mips32el.ipk.
Installing pkgconfig (0.25-r3) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/pkg
config_0.25-r3_mips32el.ipk.
Installing libpopt0 (1.16-r0) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
popt0_1.16-r0_mips32el.ipk.
Installing pkgconfig-dev (0.25-r3) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/pkg
config-dev_0.25-r3_mips32el.ipk.
Installing libc6-dev (2.13-r28+svnr15508) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
c6-dev_2.13-r28+svnr15508_mips32el.ipk.
Installing libthread-db1 (2.13-r28+svnr15508) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
thread-db1_2.13-r28+svnr15508_mips32el.ipk.
Installing eglibc-extra-nss (2.13-r28+svnr15508) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/egl
ibc-extra-nss_2.13-r28+svnr15508_mips32el.ipk.
Installing libcidn1 (2.13-r28+svnr15508) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
cidn1_2.13-r28+svnr15508_mips32el.ipk.
Installing bash-dev (4.2-r2) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/bas
h-dev_4.2-r2_mips32el.ipk.
Installing bash (4.2-r2) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/bas
h_4.2-r2_mips32el.ipk.
Installing ncurses-dev (5.9-r8.1) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/ncu
rses-dev_5.9-r8.1_mips32el.ipk.
Installing ncurses (5.9-r8.1) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/ncu
rses_5.9-r8.1_mips32el.ipk.
Installing libform5 (5.9-r8.1) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
form5_5.9-r8.1_mips32el.ipk.
Installing libtic5 (5.9-r8.1) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
tic5_5.9-r8.1_mips32el.ipk.
Installing libpanel5 (5.9-r8.1) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
panel5_5.9-r8.1_mips32el.ipk.
Installing libmenu5 (5.9-r8.1) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
menu5_5.9-r8.1_mips32el.ipk.
Installing libticw5 (5.9-r8.1) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
ticw5_5.9-r8.1_mips32el.ipk.
Installing linux-libc-headers-dev (3.3-r1) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lin
ux-libc-headers-dev_3.3-r1_mips32el.ipk.
Installing libglib-2.0-dev (1:2.30.3-r1) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
glib-2.0-dev_2.30.3-r1_mips32el.ipk.
Installing libz-dev (1.2.6-r1) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
z-dev_1.2.6-r1_mips32el.ipk.
Installing libffi-dev (3.0.10-r0) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
ffi-dev_3.0.10-r0_mips32el.ipk.
Installing zip-dev (3.0-r1) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/zip
-dev_3.0-r1_mips32el.ipk.
Installing libpopt-dev (1.16-r0) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
popt-dev_1.16-r0_mips32el.ipk.
Installing db-dev (5.1.19-r4) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/db-
dev_5.1.19-r4_mips32el.ipk.
Installing db (5.1.19-r4) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/db_
5.1.19-r4_mips32el.ipk.
Installing bzip2-dev (1.0.6-r5) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/bzi
p2-dev_1.0.6-r5_mips32el.ipk.
Installing bzip2 (1.0.6-r5) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/bzi
p2_1.0.6-r5_mips32el.ipk.
Installing libbz2-dev (1.0.6-r5) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
bz2-dev_1.0.6-r5_mips32el.ipk.
Installing libgdbm-dev (1.10-r3) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
gdbm-dev_1.10-r3_mips32el.ipk.
Installing libgdbm4 (1.10-r3) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
gdbm4_1.10-r3_mips32el.ipk.
Installing libgdbm-compat4 (1.10-r3) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
gdbm-compat4_1.10-r3_mips32el.ipk.
Installing libreadline-dev (6.2-r2) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
readline-dev_6.2-r2_mips32el.ipk.
Installing libsqlite3-dev (3.7.13-r0) to root...
Downloading http://enigma2.world-of-satellite.com/feeds/3.0/vusolo2/mips32el/lib
sqlite3-dev_3.7.13-r0_mips32el.ipk.
Configuring libthread-db1.
Configuring eglibc-extra-nss.
Configuring libcidn1.
Configuring bash.
update-alternatives: Linking //bin/sh to /bin/bash
Configuring ncurses.
Configuring libform5.
Configuring libtic5.
Configuring libpanel5.
Configuring libmenu5.
Configuring libticw5.
Configuring ncurses-dev.
Configuring bash-dev.
Configuring linux-libc-headers-dev.
Configuring libc6-dev.
Configuring libbz2-dev.
Configuring libpopt0.
Configuring pkgconfig.
Configuring libz-dev.
Configuring libffi-dev.
Configuring zip-dev.
Configuring libglib-2.0-dev.
Configuring libpopt-dev.
Configuring pkgconfig-dev.
Configuring openssl-dev.
Configuring db.
Configuring db-dev.
Configuring bzip2.
update-alternatives: Linking //usr/bin/bunzip2 to /usr/bin/bunzip2.bzip2
update-alternatives: Linking //usr/bin/bzcat to /usr/bin/bzcat.bzip2
Configuring bzip2-dev.
Configuring libgdbm4.
Configuring libgdbm-compat4.
Configuring libgdbm-dev.
Configuring libreadline-dev.
Configuring libsqlite3-dev.
Configuring python-dev.
root@vusolo2:~#


But I try to python setup.py install , I get this,

root@vusolo2:~# cd /tmp/cocy-0.1.10
root@vusolo2:/tmp/cocy-0.1.10# python setup.py install
Traceback (most recent call last):
File "setup.py", line 2, in <module>
from setuptools import setup
ImportError: No module named setuptools
root@vusolo2:/tmp/cocy-0.1.10#

Trial
20-01-14, 10:20
Hi,
this weekend I installed CoCy on 4-5 Boxes and it was only a matter of minutes. The enigma2-plugin does the rest of the installation automatically. So if you are running ViX just installing the plugin should work.

ciao

papa2
20-01-14, 15:28
Hi,
this weekend I installed CoCy on 4-5 Boxes and it was only a matter of minutes. The enigma2-plugin does the rest of the installation automatically. So if you are running ViX just installing the plugin should work.

ciao

What version mate

papa2
20-01-14, 17:54
And was that on the Solo2 with Vix 3.0.808

papa2
20-01-14, 19:11
Well its still not working for me , just done a fresh install of openvix 3.0.800 and 3.0.808 , tried cocy 0.2 and cocy 0.21,
and after install I still get the no Module Named Optparse error,

and on box when I go to plugins I get no Module Named Circuit_Bricks.app

Trial
20-01-14, 20:51
Hi,
I will try 808 when I feel better. It can take a few days.

ciao

register_pidors
23-02-14, 16:55
эта ебаная хуета не работает, зачем я регистриривался на этом сраном сайте и качал эту хуету? пидарасы вонючие, сосите хуи дальше

Rob van der Does
23-02-14, 17:20
English please.

marty
23-02-14, 17:23
English please.

A ban I think :D


this ****ing hueta does not work, why I registered on this site and ****ing rocked this huetu? smelly mother****ers, suck dicks more

techtechnique
01-03-14, 00:24
Hi,
install python-dev and python-difflib and try again.

ciao

Can anyone explain where I can find these two dependencies as "simply" running opkg install python-dev or opkg install python-difflib does not pull down the necessary files.
I really want this to work so please help me!!!

techtechnique
01-03-14, 00:51
It's a problem with the ez_setup.py script I think, as according to the python site, this should install all the python dependencies, including setuptools.
I don't know enough about linux to go any further - can anyone else step in?

techtechnique
01-03-14, 01:08
This is what happens when ez_setup.py is run:

root@vuduo:/var/volatile/tmp# python ez_setup.py
Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
Traceback (most recent call last):
File "ez_setup.py", line 278, in <module>
main(sys.argv[1:])
File "ez_setup.py", line 210, in main
egg = download_setuptools(version, delay=0)
File "ez_setup.py", line 158, in download_setuptools
src = urllib2.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
File "/usr/lib/python2.7/urllib2.py", line 400, in open
File "/usr/lib/python2.7/urllib2.py", line 513, in http_response
File "/usr/lib/python2.7/urllib2.py", line 432, in error
File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
File "/usr/lib/python2.7/urllib2.py", line 619, in http_error_302
File "/usr/lib/python2.7/urllib2.py", line 394, in open
File "/usr/lib/python2.7/urllib2.py", line 417, in _open
File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
File "/usr/lib/python2.7/urllib2.py", line 1232, in unknown_open
urllib2.URLError: <urlopen error unknown url type: https>
root@vuduo:/var/volatile/tmp#

Trial
01-03-14, 08:48
Hi,
do you really have tried latest version 0.2.1 because this should do everything automatically.

ciao

koko115
06-10-16, 06:10
Can i please for help ? I try instal cocy on duo2 with BH 3.0.2H

All python modules install great, but after try instal cocy i have:

root@vuduo2:/tmp# opkg install enigma2-plugin-cocy_0.2.1.ipk
Not selecting enigma2-plugin-cocy 0.2.1 due to incompatible architecture.
Unknown package 'enigma2-plugin-cocy'.
Collected errors:
* opkg_install_cmd: Cannot install package enigma2-plugin-cocy.
root@vuduo2:/tmp#


and when i put cocy manually to SystemPlugins i have this:

[CoCy] reason = 0
[CoCy] session = <__main__.Session instance at 0x5ed95198>
[CoCy] Added missing attribute oldRef to ServiceEventTracker
EXCEPTION IN PYTHON STARTUP CODE:
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/enigma2/python/mytest.py", line 591, in <module>
runScreenTest()
File "/usr/lib/enigma2/python/mytest.py", line 449, in runScreenTest
session = Session(desktop = getDesktop(0), summary_desktop = getDesktop(1), navigation = nav)
File "/usr/lib/enigma2/python/mytest.py", line 185, in __init__
p(reason=0, session=self)
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/CoCy/plugin.py", line 35, in plugin_start
start(session)
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/CoCy/server.py", line 51, in start
UPnPDeviceServer(application.app_dir).register(app lication)
File "/usr/lib/python2.7/site-packages/cocy-0.1.10-py2.7.egg/cocy/upnp/device_server.py", line 105, in register
SSDPTranceiver().register(self.parent)
File "/usr/lib/python2.7/site-packages/cocy-0.1.10-py2.7.egg/cocy/upnp/ssdp.py", line 60, in __init__
SSDPSender().register(self)
File "/usr/lib/python2.7/site-packages/cocy-0.1.10-py2.7.egg/cocy/upnp/ssdp.py", line 99, in __init__
% (type(e), str(e)), "logger"))
TypeError: __init__() takes exactly 3 arguments (4 given)
------------------------------------------------------------
(exit code 5)
resolve: resolve ${sysconfdir}/enigma2/settings
resolve: -> /etc/enigma2/settings
resolve: resolve ${sysconfdir}/enigma2/settings
resolve: -> /etc/enigma2/settings

gufy78
18-05-20, 19:47
Hi All

Sorry for re-opening this thread but I struggle to install this plugi-in

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 and I found it really more reliable for my old dreambox, it is definitely more stable, however I cannot find any renderer in OpenPLI and I though I can work with this Cocy plugin.
I have the same issue as previous threads - 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