WoofJS icon indicating copy to clipboard operation
WoofJS copied to clipboard

Uploading JPG images doesn't work and gives no errors

Open lichenpunk opened this issue 7 years ago • 5 comments

If jpegs aren't going work, there should be something in the documentation about how they don't work (and an error message)

lichenpunk avatar Jun 08 '18 15:06 lichenpunk

Wow, this is embarrassing. I have no clue why this is even broken

stevekrouse avatar Jun 18 '18 19:06 stevekrouse

The issue isn't that .jpg don't work. The issue is that the images don't upload unless you are logged in and you have saved your project. A few times I tried to do this, the dialogue that showed up to say that you need to save to upload files didn't come up immediately.

For classes, we can just tell students to log in and save their work before trying to upload. I will try to figure out why that information doesn't come up right away in the near future.

truthgoddess avatar May 21 '19 19:05 truthgoddess

Have you figured out why jpg uploads don't work? It may have to do how we set it up at the Firebase end... I need to give you and @madduccino access...

stevekrouse avatar May 21 '19 23:05 stevekrouse

My guess is that it has something to do with the initiating process of uploading the images. That is, what has to be true for the upload process to work, or for the error that says, "You need to save" to work. I haven't put time into this yet, but will. All I did was confirm that we weren't having as big of an issue with this as we originally thought. I uploaded .jpg just fine after logging in and saving first and/or after doing it two times in a row. Therefore, we can pass on that solution to teachers.

truthgoddess avatar May 22 '19 13:05 truthgoddess

Still not clear to me what causes these issues. My insight from today was that a student reloaded create.html, and then was able to upload the same image successfully. The times I've been able to check, there hasn't been a error in the console. I suspect there might be an issue with raising errors based on my work on #609, but needs more investigation.

hallpell avatar Apr 25 '23 05:04 hallpell