Код: Выделить всё
>>> cmd.renderGetList("rendernode")
afnetwork.py: Received data:
{"renders":[
{
"tasks_percents":[0
],
"name":"rendernode",
"id":72,
"priority":99,
"user_name":"render",
"time_register":1521713563,
"time_launch":1524116239,
"time_update":1524921817,
"address":{"family":4,"ip":"192.168.46.25","port":0},
"netifs":[
{"name":"eth0","mac":"00:23:7d:f1:a0:68","addresses":[{"family":4,"ip":"192.168.46.25","port":0},{"family":6,"ip":"fe80:
0000:0000:0000:0223:7dff:fef1:a068","port":0}]},
{"name":"eth1","mac":"00:23:7d:f1:a0:6c"}
],
"engine":"2.2.3",
"st":9,
"state":" ONL RUN",
"capacity_used":1000,
"task_start_finish_time":1524475776,
"wol_operation_time":1524116246,
"idle_time":1524921816,
"busy_time":1524921816,
"tasks":[{"name":"Denoise 162_hat_0010_chamber_floor_columns_v003.1002.exr to "162_hat_0010_chamber_floor_columns_v003.1
002.denoised.exr" ","service":"generic","capacity":1000,"time_start":1524921804,"user_name":"v.tcypliashchuk","block_nam
e":"/mnt/projects/asura/shots/162_hat/162_hat_0010/render/chamber_floor_columns/v003","job_name":"Denoise rendered image
s","job_id":41,"block_num":0,"task_num":3}
],
"host":{
"capacity":1100,
"max_tasks":10,
"power":1000,
"os":"unix linux 64",
"nimby_idle_cpu":10,
"nimby_busy_cpu":50,
"nimby_idle_mem":50,
"nimby_busy_mem":90,
"nimby_idle_swp":30,
"nimby_busy_swp":80,
"nimby_idle_hddgb":1,
"nimby_busy_hddgb":1,
"nimby_idle_hddio":50,
"nimby_busy_hddio":95
}
}
]}
JSON loads error:
Expecting , delimiter: line 25 column 80 (char 727)
В веб тоже не работает.