-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempting to run on device fails with there is no reactor running, must be called from the context of a Tokio 1.x runtime
#314
Comments
With
|
Not sure if this is still an issue but can't get this far after upgrading Rust to the nightly version used in this repository: #315 |
That's strange because it was in betas only. It should be fixed in 0.4.x, actual is 0.4.3. As a proof, in that screencast made two days ago, was used the latest version at that moment. |
Okay, I reproduced the problem. Thanks for the report! 👍 |
@paulyoung, Examples:
|
@paulyoung, I hope this is fixed in |
The workaround appears to work, and after upgrading I plan on getting a second device but for now I'll remove the serial device environment variable. I still can't get past the device showing "sharing DATA segment as USB drive" and "Eject disk to reboot" though. My terminal says I should file a separate issue about that but I'm still using the nightly release from |
I suppose user have no permissions to eject device, as well as for unmount. FYI: There is also another option to eject with perms, but it totally unsafe and risky - send scsi command to reset. It can break data and entire file system. It probably safe with os-level lock, but I don't want to do so risk thing now. |
Perhaps worth noting that when inspecting the device while mounted and also after manually ejecting the device, the game isn't installed. |
It looks like using sudo within a Nix dev shell is confusing things. |
I needed to use
I'll open an issue. |
For me,
cargo playdate run --device
fails with the following. Using--simulator
works as expected.The text was updated successfully, but these errors were encountered: