ftrias / TeensyThreads

MIT License
182 stars 26 forks source link

zip will not install on Mac for Arduino 2.0.3 #40

Open jimdgit opened 1 year ago

jimdgit commented 1 year ago

Version: 2.0.3 Date: 2022-12-05T09:29:06.685Z Installing the zip via the Lib Manager. Gets the error: Error: 13 INTERNAL: Library install failed: archive is not valid: multiple files found in zip file top level

ipmcc commented 7 months ago

Same here.

@jimdgit FWIW, I was able to get it installed by reading the folder structure here and rearranging the ZIP for TeensyThreads to match their format. It took a couple minutes of reading and a couple of minutes to re-jigger the ZIP file, but it worked. I uploaded what I did here: TeensyThreads.zip

ftrias commented 7 months ago

Using Arduino 2.3.2, I also had the same error. All I did was unzip the file and then zip it again and now it works. It appears there is something different about the ZIP file format. I uploaded the new ZIP file. In any case, I suppose there is no need to maintain Arduino 1.0 compatibility, and we should switch to using the "src" directory as suggested by @jimdgit.

Also, keep in mind that TeensyThreads is included with the TeensyDuino distribution so there is not need to install it separately.

jimdgit commented 7 months ago

So long ago I forgot about it but thanks for that...