Fix For Not Being Able to Check Current Version on GitHub #133
Unanswered
ajflink001
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For a while now, the checkVersion function in GeMS_utilityFunctions.py will always return arcpy.AddWarning("Could not connect to GitHub to determine if this version of the tool is the most recent.\n") no matter what due to organization security parameters forbidding requests.get() from succeeding. Instead of using the requests module, urllib.requests should be used instead. I do have a working example of this and have included it as an attachment. Just open the Python file in IDLE and select Run and then Run Module. I had to attached it as a .zip file due to GitHub not letting me upload just the .py file. I apologize for that.
toolbox_version_info.zip
Beta Was this translation helpful? Give feedback.
All reactions