Error deploy tool, ' Unable to write entry ' while packaging
13 次查看(过去 30 天)
显示 更早的评论
Hello, I have this problem and I don't know what to do. I saw a problem related with a zip file so I installed 7zip (my computer didn't have a third party compressing software), anyway it didn't help, I don't know if it's a permission problem or what could it be.
Any help would be appreciated, thanks!.
Juan
<ant>
<mkdir dir="\\Mac\Home\Documents\OptiNet\for_redistribution" />
<mkdir dir="\\Mac\Home\Documents\OptiNet\for_testing" />
<mkdir dir="\\Mac\Home\Documents\OptiNet\for_redistribution_files_only" />
</ant>
mcc -C -o OptiNet -W WinMain:OptiNet -T link:exe -d \\Mac\Home\Documents\OptiNet\for_testing -v \\Mac\Home\Documents\MATLAB\OptiNet.m
Compiler version: 6.0 (R2015a)
Dependency analysis by REQUIREMENTS.
[Warning: Adding path "\\Mac\Home\Documents\MATLAB" to Compiler path instance.]
Parsing file "\\Mac\Home\Documents\MATLAB\OptiNet.m"
(Referenced from: "Compiler Command Line").
Deleting 7 temporary MEX authorization files.
Removing: 'C:\Users\JUANHE~1\AppData\Local\Temp\mathworks_tmp_00f4022009_3904.auth'.
Removing: 'C:\Users\JUANHE~1\AppData\Local\Temp\mathworks_tmp_00f4012240_3904.auth'.
Removing: 'C:\Users\JUANHE~1\AppData\Local\Temp\mathworks_tmp_00f4015752_3904.auth'.
Removing: 'C:\Users\JUANHE~1\AppData\Local\Temp\mathworks_tmp_00f408283_3904.auth'.
Removing: 'C:\Users\JUANHE~1\AppData\Local\Temp\mathworks_tmp_00f4031450_3904.auth'.
Removing: 'C:\Users\JUANHE~1\AppData\Local\Temp\mathworks_tmp_00f4011683_3904.auth'.
Removing: 'C:\Users\JUANHE~1\AppData\Local\Temp\mathworks_tmp_00f4024663_3904.auth'.
Generating file "\\Mac\Home\Documents\OptiNet\for_testing\readme.txt".
Packaging...
Adding custom icon C:\Program Files\MATLAB\MATLAB Production Server\R2015a\toolbox\compiler\Resources\default_icon.ico to \\Mac\Home\Documents\OptiNet\for_testing\OptiNet.exe.
Attempting to embed the CTF archive into the application \\Mac\Home\Documents\OptiNet\for_testing\OptiNet.exe.
Finished embedding CTF archive. Deleting the external CTF archive.
Creating the bundle...
Unable to write entry archives/3p/perl_win64_1264568314.enc to zip file C:\Users\JUANHE~1\AppData\Local\Temp\Juan Henao\installAgent8.5_win64\InstallAgent_35000_35010.zip
Failed to create the full Install Agent.
Failed to create the full installer.
No installer package created.
2 个评论
Walter Roberson
2015-11-20
I notice there is a space in the directory name "Juan Henao". Historically some of the MATLAB tools have problems dealing with spaces in directory names (or non-ASCII characters in directory names.)
采纳的回答
Juan Henao
2015-11-21
1 个评论
Alexandre Baran
2018-11-5
Hello Juan, I have exactly the same problem as you due to a disk space problem. How did you change the path to write entry to this Install Agent files ?
更多回答(1 个)
Paul Dankoski
2018-7-3
I've seen a similar problem and it is unclear, but it appears sporadically. Yes, it could be disk space as well, but I think it might be something else.
This is with mcc compiler version 6.5 (2017B). However, I am seeing a similar issue as above. I think it is intending to write to a path with "/a/b/c.mexa64", but the error message at least only mentioned "a/b/c.mexa64" ... notice the missing slash that is leading the filepath.
Here's the exact error with the path modified for privacy.
Error in writing CTF file entry 'prj/c/w/file.mexa64'. Details: 'Could not write zip entry'
Failed to build CTF file: '/prj/c/w/cmd.ctf'.
Perhaps someone at Mathworks could take a close look to see if the leading slash being dropped is expected or not.
Error using mmm2 (line 3)
Error executing mcc, return status = 1 (0x1).
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!