Closed jby closed 4 years ago
I'm still getting this...
sudo /usr/local/sal/bin/sal-submit
Traceback (most recent call last):
File "/usr/local/sal/checkin_modules/apple_sus_checkin.py", line 188, in <module>
main()
File "/usr/local/sal/checkin_modules/apple_sus_checkin.py", line 19, in main
sus_report = get_sus_install_report()
File "/usr/local/sal/checkin_modules/apple_sus_checkin.py", line 93, in get_sus_install_report
installed = datetime.datetime.strptime(line[-1], '%m/%d/%Y, %H:%M:%S')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_strptime.py", line 332, in _strptime
(data_string, format))
ValueError: time data '2020-02-22, 02:41:46' does not match format '%m/%d/%Y, %H:%M:%S'
@jby Please ensure you're trying with the current tip; this has been handled: https://github.com/salopensource/sal-scripts/blob/master/payload/usr/local/sal/checkin_modules/apple_sus_checkin.py#L75
and
As mentioned above, this is handled by new releases.
Describe the bug sal-submit complains about unrecognized date format when using something else than US date format
To Reproduce Use a different timezone than any US-timezone Try to manuallly submit data to sal, using sal-submit
Expected behavior Return of prompt, data populated in sal server.
Server (please complete the following information):
Client (please complete the following information):
Additional context Output from sal-submit command:
If possible, please replicate the issue while Sal is in debug mode. N/A
scripts version: