mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-27 10:35:51 +03:00
[GH-ISSUE #379] Error - 'NoneType' object has no attribute 'strip' #784
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#784
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 @o-grd on GitHub (Sep 15, 2021).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/379
-------- START: 2021-09-15 11:32:18.667635 --------
[09/15 11:32:20] Open Instagram app
[09/15 11:32:20] Error - 'NoneType' object has no attribute 'strip'
Traceback (most recent call last):
File "C:\Users\X\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\session.py", line 313, in run
self.prepare_session_state(args, device_wrapper, app_version, save_profile_info=True)
File "C:\Users\X\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\session.py", line 263, in prepare_session_state
hardban_indicator.detect_webview(device)
File "C:\Users\X\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\hardban_indicator.py", line 19, in detect_webview
resumed_activity_output = execute_command("adb" + ("" if device_id is None else " -s " + device_id) +
File "C:\Users\X\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\utils.py", line 177, in execute_command
err = cmd_res.stderr.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
Error - 'NoneType' object has no attribute 'strip'
Traceback (most recent call last):
File "C:\Users\X\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\session.py", line 313, in run
self.prepare_session_state(args, device_wrapper, app_version, save_profile_info=True)
File "C:\Users\X\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\session.py", line 263, in prepare_session_state
hardban_indicator.detect_webview(device)
File "C:\Users\X\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\hardban_indicator.py", line 19, in detect_webview
resumed_activity_output = execute_command("adb" + ("" if device_id is None else " -s " + device_id) +
File "C:\Users\X\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\utils.py", line 177, in execute_command
err = cmd_res.stderr.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
@alexal1 commented on GitHub (Sep 16, 2021):
Fixed in v3.7.28