The scatool fails to email reports
This document (000021180) is provided subject to the disclaimer at the end of this document.
Environment
Situation
# scatool -e root scc_sles15sp4_230622_1143_Updated.txz
...
Emailing SCA Report To: root
/usr/lib64/python3.6/re.py:212: FutureWarning: split() requires a non-empty pattern match.
return _compile(pattern, flags).split(string, maxsplit)
Traceback (most recent call last):
File "/usr/lib/sca/python/scatool.py", line 1690, in <module>
analyze(analyzeFile)
File "/usr/lib/sca/python/scatool.py", line 1580, in analyze
emailSCAReport(supportconfigPath)
File "/usr/lib/sca/python/scatool.py", line 986, in emailSCAReport
emailMsg = email.MIMEMultipart.MIMEMultipart('alternative')
AttributeError: module 'email' has no attribute 'MIMEMultipart'
Resolution
Cause
Status
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021180
- Creation Date: 22-Aug-2023
- Modified Date:22-Aug-2023
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com