03-03-2020 03:04 AM
In [29]: list(root.kicker__kickers.data_kicker)
---------------------------------------------------------------------------
Error Traceback (most recent call last)
<ipython-input-29-896aaac1edfe> in <module>
----> 1 list(root.kicker__kickers.data_kicker)
/opt/ncs/current/src/ncs/pyapi/ncs/maagic.py in __len__(self)
1072 """
1073 if self._backend:
-> 1074 return self._backend._num_instances(self._path)
1075 else:
1076 return len(self._cache)
/opt/ncs/current/src/ncs/pyapi/ncs/maagic.py in _num_instances(self, path)
131
132 def _num_instances(self, path):
--> 133 return self.num_instances(path)
134
135 def _cursor(self, path, enum_cs_nodes, want_values,
/opt/ncs/current/src/ncs/pyapi/ncs/maapi.py in proxy(self2, *args, **kwargs)
1202 else:
1203 real = getattr(_tm.maapi, name)
-> 1204 return real(self2.maapi.msock, self2.th, *args, **kwargs)
1205 setattr(Transaction, name, proxy)
1206 return getattr(self, name)
Error: system call failed (24): Failed to write 54 bytes to ConfD: Bad file descriptor
Solved! Go to Solution.
03-03-2020 08:56 PM
Looks like the transaction closed, and you are trying to fetch something from CDB after the transaction is closed.
03-03-2020 08:56 PM
Looks like the transaction closed, and you are trying to fetch something from CDB after the transaction is closed.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide