Error Uncompressing zip-files: tempdir needs write permission and sufficient free space

13 ビュー (過去 30 日間)
Jasmin Stein
Jasmin Stein 2020 年 6 月 6 日
編集済み: Jurgen vL 2020 年 7 月 7 日
Hello everyone,
suddenly, after working fine many many times, I am getting the following error message tying to unzip/load a couple of nii-gz files:
Error using images.internal.nifti.niftiFile/getUncompressedFileName (line 130)
Cannot unzip file. tempdir needs write permissions and sufficient free space.
Error in images.internal.nifti.niftiFile (line 45)
[filename, self.TempfileCleaners, ~] =
self.getUncompressedFileName(firstFile);
Error in niftiread (line 66)
NF = images.internal.nifti.niftiFile(varargin{:});
Error in loadData (line 21)
roiNii = niftiread(maskPath);
I am sure writing permission to the temp folder is given. What confuses me most is that the message appeared from one second to the next with everything working perfectly fine seconds before. What do you think is the problem here?
Thank you very much for your help!
Jasmin

回答 (1 件)

Jurgen vL
Jurgen vL 2020 年 6 月 22 日
編集済み: Jurgen vL 2020 年 7 月 7 日
This happenend to me too today. The error message is misleading, I found that it was trying to call gunzip with an invalid path string. So the fix is to ensure the file name is correct.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by