Giter Club home page Giter Club logo

python-dcitools's People

Contributors

benjamingdoremi avatar ronhanson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-dcitools's Issues

ImportError: No module named snmp

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

--format json nulls cpl data

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"

NameError: name 'bool_to_bytes' is not defined

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.

DoremiAPICLI : stdin

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.