Closed jeremydouglass closed 4 years ago
Hmm. Odd.
In PDE > Contrib > Examples > Rosetta Code > Install,
I'm getting the error "Could not find a examples in the downloaded file".
Odd, because when I take the URL in sources.conf, change .txt to .zip, and download that file and unzip, there is clearly an "examples" sub folder.
And when I check a comparable example set -- like https://shiffman.net/p5/examples/natureofcode.txt -- the corresponding .zip has an examples folder and the same files, in the same way. I'm not sure what is causing this error....
@prisonerjohn Can you have a look at this?
I also received the "Could not find examples in the downloaded file" error message. I was able to download the ZIP through a browser and then to unZIP it. After I manually placed it into the Examples folder, the examples behaved as expected.
@REAS thanks -- it looks like the zip was built by my release script such that it lacked a top-level folder. My MacOS Finder unzip automatically creates a top-level folder matching the zip file name if there is not one, so this problem wasn't apparent to either of us when inspecting and manually installing the file that way.
@prisonerjohn pointed this out (thanks!) and requested a name change, so I have submitted a new URL to a renamed repo https://github.com/jeremydouglass/rosetta_examples_p5/releases/latest/download/rosetta_examples_p5.txt via email and prisonerjohn will commit to sources.conf.
Should be good to go now
Adds the PDE Processing Rosetta Code example set to Contributions Manager. https://github.com/jeremydouglass/processing_rosetta_examples