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 Center および File ExchangePackage MATLAB Functions についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by