mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-26 10:05:50 +03:00
[GH-ISSUE #436] Error - -32001 Jsonrpc error: UI Object not Found exception #840
Labels
No labels
bug
duplicate
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Insomniac#840
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yurimlima on GitHub (Jun 14, 2022).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/436
Hey guys, this error is coming up eventually and I can't understand why or fix it. It works and interact with users normally, but, from time to time I get crashes and exceptions as logged below:
I'm using the supported IG Version and the updated insomniac release (3.8.2). Any ideas?
@jansvanda commented on GitHub (Jun 23, 2022):
I got the same error
Traceback (most recent call last): File "C:\Users\svand\Downloads\Insomniac-master\start.py", line 4, in <module> insomniac.run(activation_code) File "C:\Users\svand\Downloads\Insomniac-master\insomniac\__init__.py", line 33, in run insomniac_session.run() File "C:\Users\svand\Downloads\Insomniac-master\insomniac\session.py", line 343, in run print(COLOR_FAIL + describe_exception(ex) + COLOR_ENDC) File "C:\Users\svand\Downloads\Insomniac-master\insomniac\utils.py", line 372, in describe_exception trace = ''.join(traceback.format_exception(etype=type(ex), value=ex, tb=ex.__traceback__)) if with_stacktrace else '' TypeError: format_exception() got an unexpected keyword argument 'etype'@alexal1 any ideas?
@jansvanda commented on GitHub (Jun 23, 2022):
removing etype=type(ex),
from utils.py/372
HELPED :)
def describe_exception(ex, with_stacktrace=True, context=None): exception_context = f'({context}): ' if context is not None else '' trace = ''.join(traceback.format_exception(value=ex, tb=ex.__traceback__)) if with_stacktrace else '' description = f"{exception_context}Error - {str(ex)}\n{trace}" return description@skiwlkr commented on GitHub (Jul 7, 2022):
I tried removing the
etype=type(ex)
but I think I might have a different error.
Error - module 'uiautomator2' has no attribute 'JsonRpcError'@6FaNcY9 commented on GitHub (Jul 25, 2022):
same