mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-26 18:15:54 +03:00
[GH-ISSUE #62] Issue with jump starting the script #51
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#51
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 @pxp920 on GitHub (Jul 19, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/62
Hello,
I am having issues getting the script to run. I believe I've done all the steps, but when I try to run the Python script it will not produce any outcome.
-Developer enables
-Stay awake enabled
-USB Debugging enabled
-uiautomator/colorama installed
-android platform tools installed and added to PATH
Any pointers will be much appreciated on what I'm omitting/not doing properly (I use Windows and I typically don't use an Android so please bear with me)
@alexal1 commented on GitHub (Jul 19, 2020):
Seems that your Python is not working properly. You can check this by launching this simple script (unzip first).
hello.py.zip
@pxp920 commented on GitHub (Jul 19, 2020):
Thanks @alexal1 -- that issue was as simple (and dumb) as that. I rarely run code via cmd and did not remember that my python executable was python instead of python3.
If I can bother you for a follow up issue, I am getting this error now where the main script has error navigating to the rest of the package:
edit: I tried simply moving the insomniac script into the src folder so they are in the same directory but that solution failed me

edit2: I even added the directories to my env variables but I continue on getting the same error

FINAL EDIT:
The above issue was fixed by simply creating an "init.py" file inside the src subdirectory