Error deploy tool, ' Unable to write entry ' while packaging
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Juan Henao
le 19 Nov 2015
Commenté : Alexandre Baran
le 5 Nov 2018
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 commentaires
Walter Roberson
le 20 Nov 2015
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.)
Réponse acceptée
Juan Henao
le 21 Nov 2015
1 commentaire
Alexandre Baran
le 5 Nov 2018
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 ?
Plus de réponses (1)
Paul Dankoski
le 3 Juil 2018
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 commentaires
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!