ronhanson / python-dcitools Goto Github PK
View Code? Open in Web Editor NEWDigital Cinema related tools and library.
License: MIT License
Digital Cinema related tools and library.
License: MIT License
Hi,
'python bin/python doremiapi' fails :
Traceback (most recent call last):
File "doremiapi", line 15, in
import dcitools.devices.doremi.snmp as doremi_snmp
File "/usr/local/lib/python2.7/dist-packages/dcitools-0.4.3-py2.7.egg/dcitools/devices/doremi/init.py", line 3, in
from . import snmp
File "/usr/local/lib/python2.7/dist-packages/dcitools-0.4.3-py2.7.egg/dcitools/devices/doremi/snmp.py", line 11, in
from tbx.snmp import snmp_get
ImportError: No module named snmp
I only installed dcitools from github and tbx:
https://github.com/ronhanson/python-tbx
I tried on 2 OS :
centos6.9, python 2.6, and raspbian, python2.7.13
Please assist
Ronan, figured you'd want me to file here vrs emails on such things....
version reports doremiapi version
Error - Unable to retrieve version number...
I believe this is the latest pypi you posted w
doremiapi execute 192.168.1.129 --format json GetCPLList
{
"amount": 8,
"item_length": 16,
"list": [
null,
null,
null,
null,
null,
null,
null,
null
],
"response": 0
}
but txt does great
doremiapi execute 192.168.1.129 --format text GetCPLList
amount="8"
item_length="16"
[1]="7562f95a-e9a1-428e-8b66-40fb72938aaf"
[2]="1525f553-6673-42f1-a339-d41edd226dfa"
[3]="2c40883a-aa37-47a7-996c-3ed89352b850"
[4]="1c46c56b-e1de-4d32-97c9-d5fbf89d1e2b"
[5]="2e2ad057-5fa7-46a5-848d-cefdfcc12c98"
[6]="282aee3c-9bf8-413c-8e3f-52b979d7c7ef"
[7]="a9249c1c-106a-41b2-ae53-abb9a18601b7"
[8]="e097d930-378a-43b7-88de-2cbcc726e080"
response="0"
The params size=XX need to be changed to bits=XX to match tbx.bytes calls. Guessing TBX changed a while back and forgot to update this code.
Hi,
bin/doremiapi fails. Error:
Traceback (most recent call last):
File "bin/doremiapi", line 15, in <module>
import dcitools.devices.doremi.snmp as doremi_snmp
File "/usr/local/lib/python2.7/dist-packages/dcitools-0.7.0-py2.7.egg/dcitools/devices/doremi/__init__.py", line 1, in <module>
from . import commands
File "/usr/local/lib/python2.7/dist-packages/dcitools-0.7.0-py2.7.egg/dcitools/devices/doremi/commands.py", line 12, in <module>
from . import requests
File "/usr/local/lib/python2.7/dist-packages/dcitools-0.7.0-py2.7.egg/dcitools/devices/doremi/requests.py", line 88, in <module>
E('enable', bool_to_bytes),
NameError: name 'bool_to_bytes' is not defined
Is there any locked version of tbx to be used with this repo? Please assist.
Hi again,
I'm looking for a method to send various command (pause, play, SPLstatus, jumpforward) while keeping the connection opened, as openning the connection takes few seconds..
the DoremiAPICLI looks interesting but I don't find a way to send command to it, from another process.
I tried echoing command to stdin (/proc/pidof python
/fd/0), but it misses the completion..
Any idea ?
I'm also working on adding few functions : JumpForward, JumpBackward, JumpToTimeCode.
if you have an already made python file, please commit it, or I'll suggest mine when done.
Best
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.