Using ICE to add a new channel on Centos 7

Ice/DBus, Web-Interfaces, Management tools

Using ICE to add a new channel on Centos 7

Postby fbartolom » Wed Apr 29, 2015 1:20 pm

Hullo,

I think I have installed ICE on my Centos 7 server. My need is to dynamically create channels on the murmur server by means of some scripting language ultimately called by a php script. I did not find any information on the internet about this practice. I tried following one of the scripts in the forum as a test:
Code: Select all
#!/usr/bin/python
import Ice
Ice.loadSlice('-I/usr/share/Ice-3.5.1/slice', ['Murmur.ice'])
import Murmur
comm = Ice.initialize()


but python stopped it cold by complaining it does not find the Ice module. How do I add it?
I checked and in fact I have IcePHP.so, even if python my not find it, at:
/usr/lib64/php/modules/IcePHP.so
Sorry, but I am very new to both murmur and Ice.
My phpInfo information is temporarily availabel at:
http://backoffice.taxiprofessional.net/inarrivo/php/phpinfo.php
where the Ice module seems to be present, albeit with nearly no configuration as you may see.

Thanks, Fabrizio
fbartolom
 
Posts: 29
Joined: Wed Mar 04, 2015 6:29 pm
Location: Rome, Italy

Re: Using ICE to add a new channel on Centos 7

Postby fbartolom » Wed Apr 29, 2015 6:02 pm

Actually I managed to install ice-python.x86_64 and now my test script no longer gives error when loading the library. Any help on how to write a python script to create a new channel?
fbartolom
 
Posts: 29
Joined: Wed Mar 04, 2015 6:29 pm
Location: Rome, Italy


Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest

cron