-
Notifications
You must be signed in to change notification settings - Fork 635
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
Package Download fails with message "Bad read of entry..." (LunchBox) #8982
Comments
Hi @archinate this looks like a bug in the zip library the package manager client uses. Also related - Lunchbox bundles some dynamo 1.x dlls (dynamoServices.dll) that cause issues when the package is loaded into dynamo 2.0. We can file an issue for this if that helps. (not sure where to do so). These dlls should not be distributed with packages as they will already be loaded by Dynamo. |
@archinate @mjkkirschner How big is Lunchbox now? It can't be anywhere close to Meshtoolkit at ~80mb, unless you are uploading a bunch of backup files accidentally or Revit files, no? |
Hi @mjkkirschner and @kronz, |
What I'm seeing is that v 2018.6.28, updated Jun 28 downloads fine, and the 2 versions 2018.7.* from July 6 both have the error shown above. Between last week and now you added back in the Accord libraries that were available in 2017.10 . . . .anything special in how you are structured the Accord libs now as opposed to 2017.10? |
Ah, wait. @mjkkirschner , it looks like in Dynamo 1.3, @archinate had this set up with 2 high level categories for the Lunchbox tools, LunchBox and LunchBox ML |
These are two totally separate issues - the download bad read error is caused by the length of the file - not all large files will have this error - we will need to upgrade ionic (probably we'll want to move to dotnetzip) in dynamo. This is not a problem on package manager it’s in the client shipped with dynamo.
The bad multi out ports were caused by a previous version of lunchbox loaded into dynamo 2.0 while dynamo services was bundled with the package.
… On Jul 7, 2018, at 3:18 PM, Zach Kron ***@***.***> wrote:
Ah, wait. @mjkkirschner , it looks like in Dynamo 1.3, @archinate had this set up with 2 high level categories for the Lunchbox tools, LunchBox and LunchBox ML
v 2018.6.28 doesn't have the ML stuff at all, and the tools in it work great in Dynamo 2 (multi-output ports behave nicely). So, is this a change in how to get categories showing up in the 2.0 Library? I don;t know of any other package that ships 2 categories in the same package, although maybe there are some
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
hey @kronz, It was on 2018.7 that I retried publishing and then users started getting that download error. The only difference from 2017.10 and 2018.7 was that I published with Dynamo 2.0 although I did try to re-publish from Dynamo 1.3 and the error persists. |
Please see this thread: The thread states the bug from the old ionic.zip.dll (which I am guessing we used) is fixed in the latest dotnetzip packages. Publishing from or downloading with 1.3 vs 2.0 won't make a difference as we have always AFAIK used this older ionic dll for package zipping. The difference is the changing size of the package and the bug in this zipping library. |
@archinate |
It is pretty difficult to find solid information on this bug since it is quite old. I think you should avoid packaging dlls which are multiples of 128kb... the accord .net math.core dll is quite close to these values. 128kb *11 = 1.408 vs. 1,376,256 on my machine I might try leaving that dll out of an upload as a test... I assume your library requires it? Could you try a different version of accord? |
hi @mjkkirschner yes the node package requires accord and also depends on this version of accord. I should note that the 2017.10 release of LunchBox also included Accord libraries and didn't have this issue. -Nate |
the 2017.1x release of lunchbox bundles 3.6.6031 of accord while the 2018 release bundles 3.8 as far as I can tell - this bug occurs with different sized files, I think it's possible the dlls have different sizes between the two releases. |
some potential workarounds....
|
@kronz and @mjkkirschner This sounds like a rather serious bug in package deployment. Having users of Dynamo also track file sizes in multiples of 128kb is reaching. Any word on when a real fix to package management will be implemented? |
Today came the message at LinkedIn that Lunchbox has left the Package Manager... This is not one of the smaller players who is leaving, this is the package that has been holding a position in the top five for all times. |
This is being tracked internally as QNTM-4781 |
super-late jumping into this but maybe it's helpful or at least extra validation : about 2 years ago when i wrote a The only way to make it work was to use the exact same version |
we are moving to using |
Hello,
I have recently received messages from my LunchBox users that they are unable to download the LunchBox package because of a "Bad read of entry..." error. This appears to pertain to one of its dependencies. I am unable to read the entire message so I have pasted it here.
The package rums correctly on my side. I have tried to re-publish LunchBox a few times and it appears to upload correctly and post as a new version. However, this message persists when trying to download any new version.
The text was updated successfully, but these errors were encountered: