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

AttributeError: 'dict' object has no attribute 'shape' #553

Open
catchthemonster opened this issue Mar 27, 2024 · 0 comments
Open

AttributeError: 'dict' object has no attribute 'shape' #553

catchthemonster opened this issue Mar 27, 2024 · 0 comments

Comments

@catchthemonster
Copy link

2024-03-27 14:57:04,123 - INFO - 3081146 - RPCProxyMixIn.py:137 RPCProxyMixIn:operation - Callback and Symmetry invocation of {'githubSaas': {'CONTRACT': <Args.LightUtil.LightGenObjWrapper object at 0x7f8dd4ed9610>, 'FORMAT': <Args.LightUtil.LightGenObjWrapper object at 0x7f8dd4ed80d0>, 'WAREHOUSE': <Args.LightUtil.LightGenObjWrapper object at 0x7f8dd4ed93d0>, 'task': 'githubSaas'}}:

2024-03-27 14:57:04,124 - INFO - 3080838 - server.py:157 server:accept - accepted ('10.197.136.73', 32792) with fd 23

2024-03-27 14:57:04,125 - INFO - 3080838 - server.py:200 server:_serve_client - welcome ('10.197.136.73', 32792)

2024-03-27 14:57:04,127 - INFO - 3080838 - tRPC.py:115 tRPC:actionIt - RPC Framework called store method engaged

2024-03-27 14:57:04,243 - DEBUG - 3080838 - protocol.py:376 protocol:_dispatch_request - Exception caught

Traceback (most recent call last):

File "/...py-3.11.8/lib/python3.11/site-packages/rpyc/core/protocol.py", line 369, in _dispatch_request

res = self._HANDLERS[handler](self, *args)

      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/...py-3.11.8/lib/python3.11/site-packages/rpyc/core/protocol.py", line 879, in _handle_getattr

return self._access_attr(obj, name, (), "_rpyc_getattr", "allow_getattr", getattr)

       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/cube/api/py-3.11.8/lib/python3.11/site-packages/rpyc/core/protocol.py", line 807, in _access_attr

return accessor(obj, name, *args)

       ^^^^^^^^^^^^^^^^^^^^^^^^^^

AttributeError: 'dict' object has no attribute 'shape'

I traced it protocol.py but I do not want to change the library code so that I need to carry that upward in my applications.
Would anyone mind explaining why is this happening on the sore method. All what server returns is dictionary to client callable ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant