Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnknownPrivateException has been triggered 12 a1 = a1_ptr.clone().get() #229

Open
Azeddin1717 opened this issue Nov 9, 2023 · 0 comments
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended

Comments

@Azeddin1717
Copy link

Description

Im facing this error please can anyone help

Error

`[2023-11-09T17:01:44.991417+0100][CRITICAL][logger]][7770] UnknownPrivateException has been triggered.

UnknownPrivateException Traceback (most recent call last)
Cell In[20], line 11
9 a1_ptr = model1_ptr(in1)
10 a1_ptr.request(reason="process the model", timeout_secs = -1)
---> 11 a1 = a1_ptr.get()
13 a2_ptr = model2_ptr(in2)
14 a2_ptr.request(reason="process the model", timeout_secs = -1)

File ~/anaconda3/envs/pysyft/lib/python3.9/site-packages/syft/core/pointer/pointer.py:269, in Pointer.get(self, request_block, timeout_secs, reason, delete_obj, verbose)
264 raise ReferenceError(
265 "Object has already been deleted. This pointer is exhausted"
266 )
268 if not request_block:
--> 269 result = self._get(delete_obj=delete_obj, verbose=verbose)
270 else:
271 response_status = self.request(
272 reason=reason,
273 block=True,
274 timeout_secs=timeout_secs,
275 verbose=verbose,
276 )

File ~/anaconda3/envs/pysyft/lib/python3.9/site-packages/syft/core/pointer/pointer.py:179, in Pointer._get(self, delete_obj, verbose)
168 debug(
169 f"> GetObjectAction for id_at_location={self.id_at_location} "
170 + f"with delete_obj={delete_obj}"
171 )
172 obj_msg = GetObjectAction(
173 id_at_location=self.id_at_location,
174 address=self.client.address,
175 reply_to=self.client.address,
176 delete_obj=delete_obj,
177 )
--> 179 obj = self.client.send_immediate_msg_with_reply(msg=obj_msg).data
180 if self.is_enum:
181 enum_class = self.client.lib_ast.query(self.path_and_name).object_ref

File ~/anaconda3/envs/pysyft/lib/python3.9/site-packages/syft/core/node/common/client.py:236, in Client.send_immediate_msg_with_reply(self, msg, route_index)
234 exception = exception_msg.exception_type(exception_msg.exception_msg)
235 error(str(exception))
--> 236 traceback_and_raise(exception)
237 else:
238 return response.message

File ~/anaconda3/envs/pysyft/lib/python3.9/site-packages/syft/logger.py:61, in traceback_and_raise(e, verbose)
59 if not issubclass(type(e), Exception):
60 e = Exception(e)
---> 61 raise e

UnknownPrivateException: UnknownPrivateException has been triggered.`

System Information

  • Pysift version: 0.5.0
  • Python Version: 3.9
@Azeddin1717 Azeddin1717 added the Type: Bug 🐛 Some functionality not working in the codebase as intended label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended
Projects
None yet
Development

No branches or pull requests

1 participant