You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error info:
File "C:\python37\lib\site-packages\dorna-1.4.2-py3.7.egg\dorna\api.py", line 1904, in play
data = self.command({"id": id_list})
File "C:\python37\lib\site-packages\dorna-1.4.2-py3.7.egg\dorna\api.py", line 955, in command
_result = self._command_mask(_result)
File "C:\python37\lib\site-packages\dorna-1.4.2-py3.7.egg\dorna\api.py", line 878, in _command_mask
x = copy.deepcopy(c)
File "C:\python37\Lib\copy.py", line 150, in deepcopy
y = copier(x, memo)
File "C:\python37\Lib\copy.py", line 241, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "C:\python37\Lib\copy.py", line 169, in deepcopy
rv = reductor(4)
at Python.Runtime.PyObject.Invoke(PyTuple args, PyDict kw)
at Python.Runtime.PyObject.InvokeMethod(String name, PyTuple args, PyDict kw)
at Python.Runtime.PyObject.TryInvokeMember(InvokeMemberBinder binder, Object[] args, Object& result)
at CallSite.Target(Closure , CallSite , Object , JObject )
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)
looks like the problem would be in deepcopy
The text was updated successfully, but these errors were encountered:
using the API and PythonNet to control the robot in c#
sending a JSON object in the move() method raise an error
JObject prm = new JObject(new JProperty("movement", 1), new JProperty("path", "joint"), new JProperty("j0", 20)); robot_.move(prm);
error :
Python.Runtime.PythonException: 'TypeError : can't pickle JObject objects'
error info:
File "C:\python37\lib\site-packages\dorna-1.4.2-py3.7.egg\dorna\api.py", line 1904, in play
data = self.command({"id": id_list})
File "C:\python37\lib\site-packages\dorna-1.4.2-py3.7.egg\dorna\api.py", line 955, in command
_result = self._command_mask(_result)
File "C:\python37\lib\site-packages\dorna-1.4.2-py3.7.egg\dorna\api.py", line 878, in _command_mask
x = copy.deepcopy(c)
File "C:\python37\Lib\copy.py", line 150, in deepcopy
y = copier(x, memo)
File "C:\python37\Lib\copy.py", line 241, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "C:\python37\Lib\copy.py", line 169, in deepcopy
rv = reductor(4)
at Python.Runtime.PyObject.Invoke(PyTuple args, PyDict kw)
at Python.Runtime.PyObject.InvokeMethod(String name, PyTuple args, PyDict kw)
at Python.Runtime.PyObject.TryInvokeMember(InvokeMemberBinder binder, Object[] args, Object& result)
at CallSite.Target(Closure , CallSite , Object , JObject )
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)
looks like the problem would be in deepcopy
The text was updated successfully, but these errors were encountered: