-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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]: Problems with image when translating lessons into Portugese #19110
Comments
hello @seanlip could you please assign this issue to me. To solve the issue of images not displaying during the translation process in Portuguese lessons: 1.) Check image file paths and confirm their existence. |
@seanlip can i work on this issue ? |
@abansal15 @yash1378 Per the guidance at https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue, please provide an explanation of what your PR will do (with names of files you're changing, what you plan to change in each file, etc.). If it looks good, we can assign you to this issue. Please also follow the other instructions on that wiki page if you have not yet done so. Thanks! |
sure sir i will go through this guide once and will not disturb you unnecessarily from now onwards |
Hello @chris7716 could please add |
@pritam2317 Here are the steps to reproduce the issue on your local server:
@chris7716 Please add these steps to the issue description. |
@pritam2317 @yash1378 @abansal15 I started a debugging doc for this issue here. If you have discovered anything not mentioned in this document or in the issue thread, feel free to let me know! |
@seanlip In regards to finding the earliest commit where this issue is reproducible, I have video proof that the issue existed as early as Dec 2022 when the Python version was last updated. The video shows where I got that commit from, what commit I'm checked out on during the manual test, and the occurrence of this issue. image-not-loading-py-last-updated.mp4 |
Hey @StephenYu2018, I have left a comment in debugging doc, PTAL, Thanks! |
I have unassigned myself as I have finished investigating this issue for now. My entire debugging doc currently spans 30+ pages, so for time's sake, I recommend reading just the "Solution" section of my debugging doc to anyone who wants to implement my solution for this issue. If you have any comments, questions or concerns about the issue or my solution, please @ me in a comment under this thread and reassign me to this issue. |
I re-assigned myself as we've decided in our team meeting that I'll implement the solution that I came up with. |
…f submitter uploaded new images or not (#20188) * Move backend code out of if statement so that images are copied regardless if there are new images introduced in the translation suggestion or not. * Add check for GCS in Production to raise an exception when trying to copy from a source asset that does not exist. * Re-raise exception from GCS COPY operation when source asset does not exist. * Remove TODO comment for saving images before the suggestion is submitted. * Clarify image protocol when submitting translations. * Fix raised exception message. * Replace TODO comment by adding new backend test.
I'm going through with writing a beam job to fix the currently saved images not loading (newly submitted translations with copied images should not have this issue at the moment). |
I'm dropping this issue. The current problem is that existing images in our Google Cloud Storage (GCS) don't display despite the changes from my merged PR. We need a beam job to copy existing images from GCS Beam Job AlgorithmFor each translation suggestion:
Displayed Output once the beam job finishes running:
TODO:
|
Also, here are the files I changed as progress towards the beam job: https://gist.github.com/StephenYu2018/4920afee258dbe55a3d6725e0e387a6d |
Describe the bug
When reviewing some of the cards, reviewers can not see images.
URL of the page where the issue is observed.
/contributor-dashboard
Steps To Reproduce
Expected Behavior
I expect images to load and display properly within the translation suggestion review modal.
Screenshots/Videos
What device are you using?
Desktop
Operating System
No response
What browsers are you seeing the problem on?
No response
Browser version
No response
Additional context
Debugging doc created by @StephenYu2018: https://docs.google.com/document/d/1sL74bmX1A7YLGrbLqY0yAuByZk3nCeIJl65V8sMmINI/edit?usp=sharing
Tips for developers
Before tackling the bug, please use
git bisect
(see https://git-scm.com/docs/git-bisect) to investigate which PR caused it (you only need to go back as far as commit https://github.com/oppia/oppia/commits/9a334e9). If you find the PR, leave a comment on this issue pointing to it, or just say that it happened before commit 9a334e9 if you could reproduce it there. This will help us fix the issue by reverting the faulty PR.Also, if this is your first issue, please make sure to follow https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue and https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#setting-things-up before claiming it. Thanks!
The text was updated successfully, but these errors were encountered: