Jim Kring Posted April 3, 2011 Report Share Posted April 3, 2011 There's a bug in "ZLIB Compress Directory" where it fails if a password is specified. If you try it, it will result in a file permission error: I fixed this error by not passing in a password to the "ZLIB Store" for directories, and only passing in the password for files (as shown below). Here's the fixed VI. ZLIB Compress Directory__ogtk -- BUGFIX.vi Link to comment
jgcode Posted April 5, 2011 Report Share Posted April 5, 2011 You can track this bug here: ID: 3275344 Link to comment
Rolf Kalbermatter Posted April 7, 2011 Report Share Posted April 7, 2011 There's a bug in "ZLIB Compress Directory" where it fails if a password is specified. If you try it, it will result in a file permission error: I fixed this error by not passing in a password to the "ZLIB Store" for directories, and only passing in the password for files (as shown below). Actually a better fix is to apply the correct logic in ZLIB Store File.vi itself, since in there is already code to detect if the entry is a file or directory. I will look into this as soon as I have finished setting up the essential tools on my new machine, since the old machine is kind of dieing, I rather don't want to use it for any work anymore. Link to comment
Jim Kring Posted April 7, 2011 Author Report Share Posted April 7, 2011 Actually a better fix is to apply the correct logic in ZLIB Store File.vi itself, since in there is already code to detect if the entry is a file or directory. I will look into this as soon as I have finished setting up the essential tools on my new machine, since the old machine is kind of dieing, I rather don't want to use it for any work anymore. That sounds like a good way to do it. Thanks for your work on this. Link to comment
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now