Skip to content
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

Error downloading file: Out of memory / Error in download command #137

Open
rashevskyv opened this issue Sep 11, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@rashevskyv
Copy link

Again there’s a problem with downloading the translation.

log.txt

I've attached the log file.

The problem occurs when trying to execute the following part of the script, I haven't tried it on the other parts:

[*Ukrainian]

catch_errors

json_source '/switch/.packages/Translate Interface/langs/Ukrainian.json' lang

delete '/config/uberhand/downloads/translations/'
delete '/atmosphere/contents/010000000000080B/'
delete '/atmosphere/contents/010000000000080C/'
delete '/atmosphere/contents/010000000000100D/'
delete '/atmosphere/contents/0100000000000803/'
delete '/atmosphere/contents/0100000000000811/'
delete '/atmosphere/contents/0100000000001000/romfs/message/'
delete '/atmosphere/contents/0100000000001001/'
delete '/atmosphere/contents/0100000000001002/'
delete '/atmosphere/contents/0100000000001003/'
delete '/atmosphere/contents/0100000000001004/'
delete '/atmosphere/contents/0100000000001005/'
delete '/atmosphere/contents/0100000000001006/'
delete '/atmosphere/contents/0100000000001007/'
delete '/atmosphere/contents/0100000000001008/' 
delete '/atmosphere/contents/0100000000001009/'
delete '/atmosphere/contents/0100000000001012/'
delete '/atmosphere/contents/0100000000001013/'
delete '/atmosphere/contents/0100000000001015/'
download https://github.com/NX-Family/NX-Translation/releases/latest/download/NX-Translation_ukrainian.zip /config/uberhand/downloads/translations/ukrainian.zip
unzip /config/uberhand/downloads/translations/ukrainian.zip /config/uberhand/downloads/translations/
move /config/uberhand/downloads/translations/Nx-Translation_ukrainian/{json_source(*,dir)}/contents/ /atmosphere/contents/
delete '/config/uberhand/downloads/translations'
delete '/switch/.packages/Translate Interface/config.ini'
delete '/switch/.packages/Translate Interface/langs'
move '/switch/.packages/Translate Interface/config.ini.bkp' '/switch/.packages/Translate Interface/config.ini'
reboot

Here’s the full script.
On version 2.1.5, everything still works fine.

You can reproduce the issue in Kefir, after downloading the translations and updating the overlay.

@IrneRacoonovich IrneRacoonovich added the bug Something isn't working label Sep 15, 2024
@efosamark
Copy link
Owner

The initial investigation points to the size of the script as a likely culprit.
In the meantime, I will contact you to provide a workaround.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants