It seems the reason it's not sending anything is becaue I'm getting an
error. It says "ipaddr" is not defined.
When I double-click on the "new pypad_nautel.py instance" in rdadmin, it
displays the contents of the config file, which includes:
IpAddress=10.1.10.21
TcpPort=7005
But I have a funny feeling the script is never reading the config file.
Where is the config file stored? I can't find it in /etc or /usr/local/etc.
Here's the error message:
Traceback (most recent call last):
File "/usr/lib64/rivendell/pypad/pypad_nautel.py", line 175, in <module>
rcvr.start(sys.argv[1],int(sys.argv[2]))
File "/usr/lib64/python3.6/site-packages/pypad.py", line 930, in start
self.__pypad_Process(Update(jdata,self.__config_parser,rd_config))
File "/usr/lib64/python3.6/site-packages/pypad.py", line 779, in
__pypad_Process
self.__pad_callback(pad)
File "/usr/lib64/rivendell/pypad/pypad_nautel.py", line 115, in
ProcessPad
sendvar(dps)
File "/usr/lib64/rivendell/pypad/pypad_nautel.py", line 37, in sendvar
send_sock.connect((ipaddr,port))
NameError: name 'ipaddr' is not defined
Rob
--
Не думай что всё пропели,
Что бури все отгремели;
Готовься к великой цели,
А слава тебя найдёт.
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev