Esri / mdcs-py

MDCS is an acronym for Mosaic Dataset Configuration Script and is the entry point to a collection of Python classes/libraries that could be consumed by a Python client application to complete a given workflow for creating a mosaic dataset, populating it with data, and setting all required/desired parameters.
Apache License 2.0
64 stars 29 forks source link

Version Check does not time out when not connected to the internet. #70

Closed gbrunner closed 3 years ago

gbrunner commented 3 years ago

Not all customers use MDCS from a machine that is connected to the internet. When they aren't connected to the internet the MDCS version checker hangs and slows the process down by 5 or 10 minutes. Remove those lines so that we don't include it.

RandallRebello commented 3 years ago

@gbrunner Hi, The fastest way to skip checking for update would be to delete/rename the checkforupdate .json file. For MDCS it can be found here. c:\Image_Mgmt_Workflows\MDCS\scripts\CheckForUpdate.json This would be the most effective way to skip it.

Once MDCS finds this file missing it will just show a message and continue. It will not try to connect to anything.

CodyBenkelman commented 3 years ago

Randall I’m not sure if replying to this thread is the best place for discussion, but 2 questions

  1. Is this method for avoiding the version check documented?
  2. Is there a bug that needs to be fixed? If the version check doesn’t respond, (I think) it should time out and proceed much faster than 5+ minutes.

Thanks Cody

From: Randall Rebello notifications@github.com Sent: Thursday, February 18, 2021 2:26 AM To: Esri/mdcs-py mdcs-py@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [Esri/mdcs-py] Remove the Version Checker (#70)

@gbrunner [github.com]https://urldefense.com/v3/__https:/github.com/gbrunner__;!!CKZwjTOV!kbH4259fVH2-ndJa0fsmaP573k3iwFa7Z-H0vVM-VAHA_CPB8mHDlBEyRZQeCQ$ Hi, The fastest way to skip checking for update would be to delete/rename the checkforupdate .json file. For MDCS it can be found here. c:\Image_Mgmt_Workflows\MDCS\scripts\CheckForUpdate.json This would be the most effective way to skip it.

Once MDCS finds this file missing it will just show a message and continue. It will not try to connect to anything.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/Esri/mdcs-py/issues/70*issuecomment-781242709__;Iw!!CKZwjTOV!kbH4259fVH2-ndJa0fsmaP573k3iwFa7Z-H0vVM-VAHA_CPB8mHDlBFXarmMaQ$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AAYR4I6XW7QMDQNBS4FTXDLS7TTLPANCNFSM4XZHIKOQ__;!!CKZwjTOV!kbH4259fVH2-ndJa0fsmaP573k3iwFa7Z-H0vVM-VAHA_CPB8mHDlBFul3zPpg$.