-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Can't upload files from a cloned p5.js repo #657
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
Comments
weird bug! it's been surprisingly finicky to handle different file types without just allowing anything. could have to do with mime types or something like that, will investigate. |
I'm not able to upload files to editor.p5js.org like I could with alpha.editor.p5js.org When I try to load a file from my computer it says "Cannot Post /ChrisOrban/sketches/undefined" and in the web console it says https://editor.p5js.org/ChrisOrban/sketches/undefined 404 not found So I posted the file to a web page and tried to download it that way. Here is the modified p5.js library I am trying to upload: But when I tell the editor to upload the file from that link it says TypeError: e.name is undefined I have tried this on ubuntu and on a chromebook and I get the same behavior. I have no way of uploading files to editor.p5js.org. |
@chrisorban will look into this soon—thanks for reporting! EDIT: I can reproduce. Hopefully just an error with the AWS configuration! |
@chrisorban I fixed the upload issue! let me know if it is working for you. |
@catarak Working great now! Thanks! |
Doing a little issue cleanup today. Maybe this is related to #196? |
Uh oh!
There was an error while loading. Please reload this page.
Hey so I found another weird one. I can't browse or upload files from the p5.js repo if it's been installed via git clone. If I just download by zip, I can browse no problem. I can also browse other (non p5.js) git repo's that I've cloned without issue.
When you click open on p5.js, the uploader tells you that it can't download a null file.

The little tick mark arrow next to the folder also doesn't appear.

I'm guessing there's other folders that this would happen with as well but I couldn't seem to find any on my machine. I was able to copy files outside of the p5.js repo folder and upload them individually.
I found this bug when I was trying to upload a newer build of p5.js that I made today after updating a dev dependency. I also tried this on another machine (also osx 10.13.3) and the bug persisted.
Also not clear to me is if this is an issue with the editor or something to do with the p5.js repo itself. I checked permissions on the repo and they looked fine (Everyone can read / write). I tried to browse files using other websites and had no issue.
I also tried removing the . from the folder name to see if that was the issue, as well as just renaming it to something entirely different but neither of those worked.
Nature of issue?
Details about the bug:
The text was updated successfully, but these errors were encountered: