- edited description
Python error on 10.13 and 10.14 install
Issue #306
closed
I just update my MDS and test some deployment but I got these errors with 10.13 and 10.14 workflow. No problem in 10.15 workflow on the same MDS image disk.
2019-10-18 16:31:35.322 Imagr[625:37041] Preventing sleep...
2019-10-18 16:31:37.285 Imagr[625:37041] TISFileInterrogator updateSystemInputSources false but old data invalid: currentCacheHeaderPtr nonNULL? 0, ->cacheFormatVersion 0, ->magicCookie 00000000, inputSourceTableCountSys 0
Keyboard Layouts: duplicate keyboard layout identifier -14934.
Keyboard Layouts: keyboard layout identifier -14934 has been replaced with -28673.
2019-10-18 16:31:53.148 Imagr[625:37041] [SERIAL-N°] Preparing to run workflow Wipe 10.14...
2019-10-18 16:31:53.450 Imagr[625:38663] [SERIAL-N°] Erasing volume with name MacHD
2019-10-18 16:31:53.451 Imagr[625:38663] Detected non-filevaulted APFS - unmount and mounting all partitions to make sure nothing is holding on to them prior to erasing
2019-10-18 16:31:56.467 Imagr[625:38663] Removing APFS volumes
2019-10-18 16:31:56.946 Imagr[625:38663] deleting volumes
2019-10-18 16:32:04.088 Imagr[625:38663] adding volume named MacHD to container UUID 34649EC7-EAA7-4712-A38C-949381D2D22D
2019-10-18 16:32:05.505 Imagr[625:38663] finding first volume in container 34649EC7-EAA7-4712-A38C-949381D2D22D
2019-10-18 16:32:06.581 Imagr[625:38663] [SERIAL-N°] Running script 5.0
2019-10-18 16:32:17.969 Imagr[625:38663] PyObjC: Converting exception to Objective-C:
Traceback (most recent call last):
File "/Volumes/deploy/Deploy/Applications/Imagr.app/Contents/Resources/MainController.py", line 962, in processWorkflowOnThread_
self.runComponent_(item)
File "/Volumes/deploy/Deploy/Applications/Imagr.app/Contents/Resources/MainController.py", line 1017, in runComponent_
Utils.sendReport('in_progress', 'starting macOS install: %s' % item.get('url'))
File "/Volumes/deploy/Deploy/Applications/Imagr.app/Contents/Resources/Utils.py", line 550, in sendReport
log_message = "[{}] {}".format(SERIAL, message)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 75: ordinal not in range(128)
2019-10-18 16:32:17.995 Imagr[625:38663] *** Terminating app due to uncaught exception 'OC_PythonException', reason: '<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xa0' in position 75: ordinal not in range(128)'
*** First throw call stack:
(
0 CoreFoundation 0x0000000103c1b439 __exceptionPreprocess + 256
1 libobjc.A.dylib 0x0000000101a783c6 objc_exception_throw + 48
2 CoreFoundation 0x0000000103c3528d -[NSException raise] + 9
3 _objc.so 0x000000011025021e PyObjCErr_ToObjCWithGILState + 46
4 _objc.so 0x0000000110232190 method_stub + 5936
5 _objc.so 0x0000000110270f30 ffi_closure_unix64_inner + 688
6 _objc.so 0x000000011027043e ffi_closure_unix64 + 70
7 libsystem_pthread.dylib 0x00000001090692eb _pthread_body + 126
8 libsystem_pthread.dylib 0x000000010906c249 _pthread_start + 66
9 libsystem_pthread.dylib 0x000000010906840d thread_start + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Comments (7)
-
reporter -
reporter Same problem on fresh MDS image with a 10.13 install, then with a 10.14.
-
reporter Seems to be an error when macOS installer was renamed with a dot in name.
Example : Install macOS High Sierra 10.13.6.app
-
reporter - marked as minor
-
-
assigned issue to
-
assigned issue to
-
- changed status to resolved
Isolated issue as an option-space character in macOS installer file name. Added fix in Imagr to catch all python string issues due to unexpected input characters. Fix will be added to a future MDS build.
-
- changed status to closed
- Log in to comment