mirror of
https://github.com/munki/munki.git
synced 2026-05-08 05:19:31 -05:00
52ad24583c
On Yosemite the error message can have a `'` in it.
```
Downloading Command_Line_Tools_OS_X_10.10_for_Xcode_7.2-7.2.0.0.1.1447826929.dmg...
0..20.WARNING: Download of Command Line Tools for Xcode failed: Error -1001: The operation couldn't be completed. (NSURLErrorDomain error -1001.)
ERROR: Unexpected error in updatecheck:
Traceback (most recent call last):
File "/usr/local/munki/managedsoftwareupdate", line 1052, in <module>
main()
File "/usr/local/munki/managedsoftwareupdate", line 743, in main
client_id=options.id.decode('UTF-8'))
File "/usr/local/munki/munkilib/updatecheck.py", line 3027, in check
installinfo)
File "/usr/local/munki/munkilib/updatecheck.py", line 2172, in processManifestForKey
item, cataloglist, installinfo)
File "/usr/local/munki/munkilib/updatecheck.py", line 1993, in processInstall
iteminfo['note'] = 'Download failed (%s)' % errmsg
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 33: ordinal not in range(128)
```