Hello,
I have a workflow that includes erase and install of macOS 10.14.3 build 18d109 that is throwing me the following error: Terminating app due to uncaught exception ‘OC_PythonException’, reason: ‘<type ‘exceptions.AttributeError’>: ‘NoneType’ object has no attribute ‘endswith’’.
Please see below:
-bash-3.2# ls /Volumes
Macintosh HD Untitled macOS Base System
-bash-3.2# /Volumes/Untitled/run
Network is up
Starting up Imagr, please be patient…
2019-06-18 19:04:14.954 Imagr[639:38480] 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-06-18 19:04:25.648 Imagr[639:39091] Format is: auto_hfs_or_apfs
2019-06-18 19:04:25.648 Imagr[639:39091] Detected APFS - erasing target
2019-06-18 19:04:25.648 Imagr[639:39091] erasing with identifier since we had filevault or APFS
2019-06-18 19:04:25.648 Imagr[639:39091] (
“/usr/sbin/diskutil”,
eraseVolume,
APFS,
“Macintosh HD”,
disk2s1
)
2019-06-18 19:04:32.389 Imagr[639:39091] IORegistryEntryName of selected volume: Macintosh HD
2019-06-18 19:04:32.608 Imagr[639:39091] Target is child of an APFS container: 1
2019-06-18 19:04:32.608 Imagr[639:39091] Target is an EFI partition: 0
2019-06-18 19:04:40.591 Imagr[639:39091] New target volume mountpoint is /Volumes/Macintosh HD
2019-06-18 19:04:40.601 Imagr[639:39091] Total Memory is 34359738368
2019-06-18 19:04:40.601 Imagr[639:39091] Available Memory for DMG is 33678163968
2019-06-18 19:04:40.601 Imagr[639:39091] Required Memory for DMG is False
2019-06-18 19:04:40.601 Imagr[639:39091] Padded Memory for DMG is 0.0
2019-06-18 19:04:40.601 Imagr[639:39091] Error when calculating source size. Using original method instead of gurl…
2019-06-18 19:04:40.601 Imagr[639:39091] Mounting disk image file:///Volumes/Untitled/Deploy/macOS/osx-10.14.3-18D109.apfs.dmg
2019-06-18 19:06:04.585 Imagr[639:39091] Mount successful at (
“/Volumes/Preboot”,
“/Volumes/Recovery”,
“/Volumes/Macintosh HD 1”
)
2019-06-18 19:06:04.592 Imagr[639:39091] *** Terminating app due to uncaught exception ‘OC_PythonException’, reason: ‘<type ‘exceptions.AttributeError’>: ‘NoneType’ object has no attribute ‘endswith’’
*** First throw call stack:
(
0 CoreFoundation 0x00000001075aee39 __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00000001054143c6 objc_exception_throw + 48
2 CoreFoundation 0x00000001075c8c91 -[NSException raise] + 9
3 _objc.so 0x000000011460c21e PyObjCErr_ToObjCWithGILState + 46
4 _objc.so 0x00000001145ee190 method_stub + 5936
5 _objc.so 0x000000011462cf30 ffi_closure_unix64_inner + 688
6 _objc.so 0x000000011462c43e ffi_closure_unix64 + 70
7 libsystem_pthread.dylib 0x000000010c9a22eb _pthread_body + 126
8 libsystem_pthread.dylib 0x000000010c9a5249 _pthread_start + 66
9 libsystem_pthread.dylib 0x000000010c9a140d thread_start + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
-bash-3.2#