philchristensen/python-artnet

--address Option not working ?

Opened this issue · 1 comments

option leads to an an error, is it implemented?

root@ubuntu:~/python-artnet# artnet script all_channels_full
2014-07-07 08:40:06,577 (INFO) Running script artnet.scripts.all_channels_full
root@ubuntu:~/python-artnet#
root@ubuntu:~/python-artnet#
root@ubuntu:~/python-artnet# artnet script all_channels_full --address=192.168.14.59
usage: artnet script [options ...] <scriptname>
artnet: error: unrecognized arguments: --address=192.168.14.59
root@ubuntu:~/python-artnet# artnet script --address=192.168.14.59 all_channels_full
usage: artnet script [options ...] <scriptname>
artnet: error: unrecognized arguments: --address=192.168.14.59
root@ubuntu:~/python-artnet# ^C
root@ubuntu:~/python-artnet#

if i do this with blackout (all from the readme), i got another error:

root@ubuntu:~/python-artnet# artnet blackout
2014-07-07 08:46:32,242 (INFO) Running script artnet.scripts.all_channels_blackout
root@ubuntu:~/python-artnet# artnet blackout --address=192.168.14.59
2014-07-07 08:46:52,507 (INFO) Running script artnet.scripts.all_channels_blackout
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
  File "/usr/local/lib/python2.7/dist-packages/python_artnet-0.1-py2.7.egg/artnet/dmx/__init__.py", line 117, in run
  File "/usr/local/lib/python2.7/dist-packages/python_artnet-0.1-py2.7.egg/artnet/daemon.py", line 60, in handle_artnet
  File "/usr/local/lib/python2.7/dist-packages/python_artnet-0.1-py2.7.egg/artnet/daemon.py", line 78, in send_poll_reply
  File "/usr/local/lib/python2.7/dist-packages/python_artnet-0.1-py2.7.egg/artnet/packet.py", line 78, in encode
  File "/usr/local/lib/python2.7/dist-packages/bitstring-3.1.3-py2.7.egg/bitstring.py", line 4193, in pack
  File "/usr/local/lib/python2.7/dist-packages/bitstring-3.1.3-py2.7.egg/bitstring.py", line 561, in tokenparser
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'match'
root@ubuntu:~/python-artnet#