Error deploy tool, ' Unable to write entry ' while packaging

조회 수: 12 (최근 30일)
Juan Henao
Juan Henao 2015년 11월 19일
댓글: Alexandre Baran 2018년 11월 5일
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
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
Juan Henao 2015년 11월 20일
Oh, that's a good point, let me try to change that. Thanks for taking the time!

댓글을 달려면 로그인하십시오.

채택된 답변

Juan Henao
Juan Henao 2015년 11월 21일
Problem solved.
For the record: It was disk space problem (a dumb one), hope this helps someone else.
Thanks!
  댓글 수: 1
Alexandre Baran
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
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).

카테고리

Help CenterFile 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!

Translated by