[petsc-users] configure: Include urlopen exception string in download failure message

Aagaard, Brad T baagaard at usgs.gov
Tue Jan 14 09:47:25 CST 2025


The current implementation of Retrival.tarballRetrieve() does not capture the error string from an exception raised in a call to urlopen(). This makes it difficult to diagnose download failures. Can you add the error string from the exception to the download failure message (maybe as an optional argument to getDownloadFailureMessage())? This is at lines 205-208 of config/BuildSystem/retrieval.py.

Thanks,
Brad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250114/92d90601/attachment.html>


More information about the petsc-users mailing list