On Wed, 30 Jan 2019 at 09:21, Kenneth Porter shiva@sewingwitch.com wrote:
--On Wednesday, January 30, 2019 6:57 AM -0500 Stephen John Smoogen smooge@gmail.com wrote:
Can you run the code from: https://github.com/puiterwijk/check_metalink
to
see if we can pin down the proxy which is the problem (there are 14 and our checks are showing they are ok so I need to pin this down somewhere).
Since I'm seeing the same errors intermittently, I tried to run the script. Recall that CentOS still ships with Python 2. First I had to install rh-python36 from SCL. Then I had to change the script's shebang to "#!/usr/bin/env python". Now it complains that there's no requests module. I don't know how to resolve Python3 dependencies for a python installed from SCL. How far down the rabbit hole will I need to go to get the script working? ;)
Yeah.. sorry. I didn't see I had made this one little change to my version:
diff --git a/check_metalink b/check_metalink index f2beeb5..380b16d 100755 --- a/check_metalink +++ b/check_metalink @@ -1,4 +1,4 @@ -#!/bin/python3 +#!/bin/python
I will see if I can make this work without that pathc.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos