hrpc icon indicating copy to clipboard operation
hrpc copied to clipboard

Common interface definition based rpc implementation

Results 3 hrpc issues
Sort by recently updated
recently updated
newest added

**描述问题bug**: 我使用 ` b64img, fmt = poco.snapshot(width=screen_size[1]) `进行截图时, 出现 hrpc.exceptions.RpcRemoteException 异常, 异常信息如下: ``` File "/usr/local/python3/lib/python3.7/site-packages/flybirds/core/plugin/plugins/default/screen.py", line 31, in screen_shot b64img, fmt = poco.snapshot(width=screen_size[1]) File "/usr/local/python3/lib/python3.7/site-packages/poco/pocofw.py", line 433, in snapshot return...

``` INTERNALERROR> File "/Users/test/Project_pytest/new_auto_test/test-app-autotest/conftest.py", line 88, in capture_screenshot INTERNALERROR> screenshot, fmt = poco.snapshot(width=720) INTERNALERROR> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/poco/pocofw.py", line 433, in snapshot INTERNALERROR> return self.agent.screen.getScreen(width) INTERNALERROR> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/poco/drivers/android/uiautomation.py", line 73, in getScreen...

而且一般是卡在hrpc/object_proxy.py对象析构的时候 ``` def __del__(self): # 代理对象析构时,请求远程对象也析构,并不需要等待返回 if self._is_intermediate_uri__: action = (('del', ()), ) self._client__.evaluate(RpcObjectProxy(self._uri__, self._client__, action), wait_for_response=False) ``` 请求报文: {"id": "", "uri": "[Lcom.netease.open.libpoco.sdk.AbstractNode;@184e8ec(61762182-3f08-4bbd-b836-49eddbe95f46)", "method": [["del", []]], "session_id": "3e6b0bdb-90a6-4dab-892c-3f3bac49f904"} Exception ignored...