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

[BUG]: Unable to run the lesson download script. #5472

Closed
seanlip opened this issue Jul 27, 2024 · 1 comment
Closed

[BUG]: Unable to run the lesson download script. #5472

seanlip opened this issue Jul 27, 2024 · 1 comment
Assignees
Labels
bug End user-perceivable behaviors which are not desirable. Impact: High High perceived user impact (breaks a critical feature or blocks a release). Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet.

Comments

@seanlip
Copy link
Member

seanlip commented Jul 27, 2024

Describe the bug

I can no longer run the "download lessons" script (which checks for errors in lessons), although I used to be able to before. Now, when I run it, it says:

Exception in thread "main" java.lang.IllegalStateException: Expected use: bazel run //scripts:download_lessons <base_url> <gcs_base_url> <gcs_bucket> </path/to/api/secret.file> </output/dir> <cache_mode=none/lazy/force> </path/to/cache/dir> </path/to/pinned_download_list_versions.[textproto,pb]>"

I am not sure what to write for the last two arguments. From discussion with @BenHenning he said that some fixes are needed here, so I'm filing this issue to track.

Steps To Reproduce

Try to run the "download lessons" script to do the content image checks.

Expected Behavior

The script should run to completion without errors.

Screenshots/Videos

No response

What device/emulator are you using?

N/A

Which Android version is your device/emulator running?

N/A

Which version of the Oppia Android app are you using?

N/A

Additional Context

No response

@seanlip seanlip added bug End user-perceivable behaviors which are not desirable. triage needed labels Jul 27, 2024
@seanlip seanlip changed the title [BUG]: Cannot run the lesson download script any more. [BUG]: Unable to run the lesson download script. Jul 27, 2024
@adhiamboperes adhiamboperes added Impact: High High perceived user impact (breaks a critical feature or blocks a release). Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet. labels Aug 5, 2024
@seanlip
Copy link
Member Author

seanlip commented Nov 23, 2024

I can run this now, so I'm closing this (thanks @BenHenning!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug End user-perceivable behaviors which are not desirable. Impact: High High perceived user impact (breaks a critical feature or blocks a release). Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet.
Development

No branches or pull requests

3 participants