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
Updater unable to download files on Android emulator #5403
Comments
Thought I was on latest! I'll try the 8.3 stream. Thank you! |
Hmm. Still happening in 8.3. I'll grab the updater log.txt tomorrow and see if I can find any clues. |
Got the full stacks from the base/update/log.txt but not much other info in there. I'm not very familiar with this system but it looks like it's streaming chunks and somehow the last chunk is not being read. No idea why that would differ on emulator vs device. I'll try putting some logging in tomorrow as I don't think there's any way to breakpoint and step through the python.
|
Yeah, not sure what's going on. None of this code is in ren'py except the requests.get. Must either be a bug in python 3.9, which seems unlikely, or something in my local setup. I'll leave this open for a bit longer while I investigate. |
I'm working on setting up a huge game using the Downloader for Large Games on Mobile. I've run into lots of issues so I tried making as bare-bones an implementation as possible. It's hosted here:
https://github.com/do10HM/renpy-android-downloader-example/tree/main
When I follow the steps listed in the readme, I'm able to launch the downloaded game without issue. However, when I follow them on an emulator, even if it's the exact same hardware, I get this issue:
https://github.com/do10HM/renpy-android-downloader-example/tree/issue/protocol-error?tab=readme-ov-file#issue-protocol-error
Every time I try 'retry', the exact bytes change.
Not a big issue and it's not blocking me, but ideally emulator should work.
Tested on Ren'Py renpy-8.2.2.24030501+nightly-sdk. Pixel 7 API 30
The text was updated successfully, but these errors were encountered: