-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overviews to MRF #89
Comments
Looks like your -output folder is invalid.
Could you check. Thanks!
Sent from phone
…________________________________
From: Lorne-CoE <[email protected]>
Sent: Thursday, May 30, 2019 11:38:30 PM
To: Esri/OptimizeRasters
Cc: Subscribed
Subject: [Esri/OptimizeRasters] Overviews to MRF (#89)
Hi,
I've run into an issue trying to convert overviews to MRF. The process starts fine and then trows a [Errno 13] permission denied.
The log file is as follows:
<?xml version="1.0" ?>
<Projects>
<OptimizeRasters>
<StartTime>20190530T131714</StartTime>
<EndTime>20190530T131735</EndTime>
<TotalDuration>20</TotalDuration>
<Message>version=v2.0.5c/20190522</Message>
<Message>Copying files to -tempinput path (D:/Temp/)</Message>
<Message>[CPY] D:/Temp/Ov_i02_L01_R00000D81_C000004CB.tif</Message>
<Message>[CPY] D:/Temp/Ov_i02_L01_R00000D81_C000004CA.tif</Message>
<Message>[CPY] D:/Temp/Ov_i02_L01_R00000D82_C000004CA.tif</Message>
<Message>[CPY] D:/Temp/Ov_i02_L01_R00000D82_C000004CB.tif</Message>
<Message>[CPY] D:/Temp/Ov_i02_L02_R00000480_C00000198.tif</Message>
<Message>[CPY] D:/Temp/Ov_i02_L02_R00000480_C00000199.tif</Message>
<Message>[CPY] D:/Temp/Ov_i02_L03_R00000180_C00000088.tif</Message>
<Message>[CPY] D:/Temp/Ov_i02_L04_R00000080_C0000002D.tif</Message>
<Message>Converting..</Message>
<Message>[Resume] Creating job (C:\Image_Mgmt_Workflows\OptimizeRasters\OR_20190530T131714680147.orjob)</Message>
<Message>
Copying non rasters/aux files (D:/Projects/MRF_Test/MRF_Test.Overviews/=>D:/mrf_jpeg_overviews/)..
<Error>
<type>critical</type>
<text>([Errno 13] Permission denied: 'D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews')</text>
</Error>
</Message>
<Message>[CPY] MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D81_C000004CA.tif.msk</Message>
<Message>[CPY] MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D82_C000004CA.tif.msk</Message>
<Message>[CPY] MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D81_C000004CB.tif.msk</Message>
<Message>[CPY] MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D82_C000004CB.tif.msk</Message>
<Message>[CPY] MRF_JPEG_Test.Overviews/Ov_i02_L02_R00000480_C00000198.tif.msk</Message>
<Message>[CPY] MRF_JPEG_Test.Overviews/Ov_i02_L02_R00000480_C00000199.tif.msk</Message>
<Message>[CPY] MRF_JPEG_Test.Overviews/Ov_i02_L03_R00000180_C00000088.tif.msk</Message>
<Message>[CPY] MRF_JPEG_Test.Overviews/Ov_i02_L04_R00000080_C0000002D.tif.msk</Message>
<Message>Done.</Message>
<Message>Converting..</Message>
<Message>Applying compression (D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D82_C000004CA.tif)</Message>
<Message>Applying compression (D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D81_C000004CB.tif)</Message>
<Message>Applying compression (D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D81_C000004CA.tif)</Message>
<Message>Applying compression (D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D82_C000004CB.tif)</Message>
<Message>warnings/errors:</Message>
<Message>ERROR 4: D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D82_C000004CA.tif: No such file or directory</Message>
<Message>warnings/errors:</Message>
<Message>ERROR 4: D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D81_C000004CA.tif: No such file or directory</Message>
<Message>warnings/errors:</Message>
<Message>ERROR 4: D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D82_C000004CB.tif: No such file or directory</Message>
<Message>warnings/errors:</Message>
<Message>ERROR 4: D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D81_C000004CB.tif: No such file or directory</Message>
<Message>Status: (FAILED).</Message>
<Message>Status: (FAILED).</Message>
<Message>Status: (FAILED).</Message>
<Message>Status: (FAILED).</Message>
<Message>Applying compression (D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L02_R00000480_C00000198.tif)</Message>
<Message>Applying compression (D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L02_R00000480_C00000199.tif)</Message>
<Message>warnings/errors:</Message>
<Message>ERROR 4: D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L02_R00000480_C00000198.tif: No such file or directory</Message>
<Message>Status: (FAILED).</Message>
<Message>Applying compression (D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L03_R00000180_C00000088.tif)</Message>
<Message>Applying compression (D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L04_R00000080_C0000002D.tif)</Message>
<Message>warnings/errors:</Message>
<Message>ERROR 4: D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L02_R00000480_C00000199.tif: No such file or directory</Message>
<Message>Status: (FAILED).</Message>
<Message>warnings/errors:</Message>
<Message>ERROR 4: D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L04_R00000080_C0000002D.tif: No such file or directory</Message>
<Message>warnings/errors:</Message>
<Message>ERROR 4: D:/Temp/MRF_JPEG_Test.Overviews/Ov_i02_L03_R00000180_C00000088.tif: No such file or directory</Message>
<Message>Status: (FAILED).</Message>
<Message>Status: (FAILED).</Message>
<Message>Removing input rasters at (D:/Temp/)</Message>
<Message>Done.</Message>
<Message>Done..
</Message>
<Status>[Failed!]</Status>
<Duration>5</Duration>
<Cmd-line>
<Message>-config=C:\Image_Mgmt_Workflows\OptimizeRasters\UserTemplates\Overviews_to_MRF_LERC_20190530131714.xml -output=D:\mrf_jpeg_overviews -tempinput=D:\Temp -tempoutput=D:\Temp -input=D:\Projects\MRF_Test\MRF_Test.Overviews\MRF_JPEG_Test.Overviews -resume=True</Message>
<Duration>0</Duration>
</Cmd-line>
<Input-config-values>
<Message>Mode=mrf</Message>
<Message>RasterFormatFilter=['tif', 'tiff', 'TIF', 'TIFF', 'img', 'jp2', 'JP2', 'IMG']</Message>
<Message>ExcludeFilter=['tmp', 'rrd', 'idx', 'lrc', 'mrf_cache', 'pjp', 'ppng', 'pft', 'pzp', 'ovr', 'aux.xml', 'aux', 'tfw', 'TFW', 'pjg']</Message>
<Message>IncludeSubdirectories=true</Message>
<Message>Compression=LERC</Message>
<Message>LERCPrecision=0.5</Message>
<Message>BuildPyramids=false</Message>
<Message>PyramidSampling=avg</Message>
<Message>PyramidCompression=LERC</Message>
<Message>BlockSize=512</Message>
<Message>KeepExtension=false</Message>
<Message>Threads=4</Message>
<Message>CloudUpload=false</Message>
<Message>Out_S3_DeleteAfterUpload=true</Message>
<Duration>0</Duration>
</Input-config-values>
<Copy>
<Message>Copying non rasters/aux files (D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/=>D:/mrf_jpeg_overviews/)..</Message>
<Message>Done.</Message>
<Duration>0</Duration>
</Copy>
</OptimizeRasters>
</Projects>
Here's the orjob file:
# config=C:/Image_Mgmt_Workflows/OptimizeRasters/UserTemplates/Overviews_to_MRF_LERC_20190530131714.xml
# output=D:/mrf_jpeg_overviews/
# tempinput=D:/Temp/
# tempoutput=D:/Temp/
# input=D:/Projects/MRF_Test/MRF_Test.Overviews/
# resume=True
# op=report
# pyramids=false
SOURCE COPIED PROCESSED UPLOADED
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews no
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D81_C000004CA.tif.msk yes
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D82_C000004CA.tif.msk yes
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D81_C000004CB.tif.msk yes
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D82_C000004CB.tif.msk yes
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L02_R00000480_C00000198.tif.msk yes
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L02_R00000480_C00000199.tif.msk yes
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L03_R00000180_C00000088.tif.msk yes
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L04_R00000080_C0000002D.tif.msk yes
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D81_C000004CB.tif no
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D81_C000004CA.tif no
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D82_C000004CA.tif no
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L01_R00000D82_C000004CB.tif no
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L02_R00000480_C00000198.tif no
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L02_R00000480_C00000199.tif no
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L03_R00000180_C00000088.tif no
D:/Projects/MRF_Test/MRF_Test.Overviews/MRF_JPEG_Test.Overviews/Ov_i02_L04_R00000080_C0000002D.tif no
I get the same error if I use either the Overviews_to_MRF_LERC or Overviews_to_JPEG. I also got the same error trying the process on a different computer.
Cheers
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_OptimizeRasters_issues_89-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAAZKWIQQIHEPVCWXOEZYXUDPYAULNA5CNFSM4HRJY72KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWZVFYQ&d=DwMCaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=5kdgHYvqR85e1J4K2gQGPMmA0fURCs7uVju8Nktfg4M&m=ZWeV-w-Kxny2pFC5ses7vJ364JsFCsixfbGh-DzCeYw&s=wrplD6vOiekWaP1Oiup-YtjGsq4Q0R_oq0HpZOzR5Xo&e=>, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAZKWIWP7WVGI45FWARMBM3PYAULNANCNFSM4HRJY72A&d=DwMCaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=5kdgHYvqR85e1J4K2gQGPMmA0fURCs7uVju8Nktfg4M&m=ZWeV-w-Kxny2pFC5ses7vJ364JsFCsixfbGh-DzCeYw&s=ISyTzds_2NJZKhJ5-q20sg1rP3zuCzHcgtdZ5q5XZGE&e=>.
|
Hi, The output folder is valid and has the following in it after running the tool the msk files are in D:\mrf_jpeg_overviews\MRF_JPEG_Test.Overviews. But no files are in D:\mrf_jpeg_overviews The temp folder has the tif files created in it as shown below: But there is nothing in D:\Temp\MRF_JPEG_Test.Overviews It appears the tif files are not being copied to the correct folder. As a test I copied the tif into D:Temp\MRF_JPEG_Test.Overviews and ran the process and it seems to completed correctly with the overview being created in the output folder. However the permission error is still happening.
Cheers |
@Lorne-CoE did the isssue get resolved |
Hi,
I've run into an issue trying to convert overviews to MRF. The process starts fine and then trows a [Errno 13] permission denied.
The log file is as follows:
Here's the orjob file:
I get the same error if I use either the Overviews_to_MRF_LERC or Overviews_to_JPEG. I also got the same error trying the process on a different computer.
Cheers
The text was updated successfully, but these errors were encountered: