mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-26 10:05:50 +03:00
[GH-ISSUE #192] Error: more than one device/emulator #159
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#159
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 @rusellned on GitHub (Nov 21, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/192
I have a problem, it does not work on multiple devices, when connecting two devices, I get the following error (screenshot attached). Version 3.3.0.
But in version 3.0 everything works fine.
In version 3.3.0, I get an error that more than one device is connected. How can this be solved?
@rusellned commented on GitHub (Nov 21, 2020):
Solved: the problem was here -> session.py -> Line 86 -> open_instagram(args.device)
@alexal1 commented on GitHub (Nov 21, 2020):
@rusellned could you explain the problem so we could make a fix for further versions?
Or even create a pull request?
@rusellned commented on GitHub (Nov 22, 2020):
@alexal1 Previously, I ran the script on two phones, but after updating, the following error "Error: more than one device/emulator" started to appear.
I started looking for what the problem might be and saw that the "device" was not passed to the open_instagram function. I changed the name of the argument "self.device" in the session file to "args.device" and it worked right away.
So if you can, just replace this line in the next update with this one and everything will.
@Fadude commented on GitHub (Nov 22, 2020):
Will be added as a bugfix on 3.3.2 release
@Fadude commented on GitHub (Nov 23, 2020):
Fixed on v.3.3.2, closing.