Problem activating license on Mac OS - Python not present

Hi,

I am trying to deploy Glyphs 3 silently via the enclosed commands for clients at our University on Mac OS Ventura and Monterey.

The application downloads and unpacks successfully but I am getting an error when running the command to activate the license (which I have placed in /tmp/ on the clients)

This is what I get when the command to apply the license runs:


/Applications/Glyphs.app/Contents/MacOS/Glyphs -disableUI 1 /tmp/Name-of-our-organisation.glyphs3License

dyld[26842]: Library not loaded: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python'

Referenced from: '/Applications/Glyphs.app/Contents/MacOS/Glyphs'

Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)

It looks like the program is trying to access Python 2.7 - which is obviously now deprecated.

Could you advise which version of Python we should install for the command to work out of the box - e.g. without having to do additional configuration?

What versions of Glyphs do you have. Can you open it normally and open the About Glyphs dialog?

Python 2.7 was required by Glyphs 2.

I think that may be the issue. It looks like Glyphs is still also present on the device and the command to activate I was using was for that version - not version 3.

The activation now seems to work but unfortunately, it then seems to be crashing. I’m wondering if it needs the old version uninstalling before installing v3?

This is the error message I get:

"/Applications/Glyphs 3.app/Contents/MacOS/Glyphs 3" -disableUI 1 /tmp/OurLicense.glyphs3License
2023-09-26 16:02:01.400 Glyphs 3[38303:19803644] XType: com.apple.fonts is not accessible.
2023-09-26 16:02:01.400 Glyphs 3[38303:19803644] XType: XTFontStaticRegistry is enabled.
2023-09-26 16:02:04.111 Glyphs 3[38303:19803644] Glyphs listening on port com.GeorgSeifert.Glyphs3
2023-09-26 16:02:04.111 Glyphs 3[38303:19803644] Glyphs listening on port com.GeorgSeifert.Glyphs3.3151
CoreGraphics PDF has logged an error. Set environment variable "CG_PDF_VERBOSE" to learn more.
2023-09-26 16:02:04.610 Glyphs 3[38303:19803644] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'ClientCallsAuxiliary': Connection interrupted
2023-09-26 16:02:58.939 Glyphs 3[38303:19803808] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** NSAllocateMemoryPages(18446744073709551615) failed'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007ff81dea3773 __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff81dc03bc3 objc_exception_throw + 48
	2   Foundation                          0x00007ff81ecd0f93 NSAllocateMemoryPages + 164
	3   Foundation                          0x00007ff81ec2df69 -[_NSPlaceholderData initWithBytes:length:copy:deallocator:] + 143
	4   Foundation                          0x00007ff81ec31efb -[NSData(NSData) initWithBytes:length:] + 37
	5   Glyphs 3                            0x000000010836703d _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 236573
	6   libdispatch.dylib                   0x00007ff81dbaa317 _dispatch_client_callout + 8
	7   libdispatch.dylib                   0x00007ff81dbacd7c _dispatch_continuation_pop + 453
	8   libdispatch.dylib                   0x00007ff81dbbe208 _dispatch_source_invoke + 2179
	9   libdispatch.dylib                   0x00007ff81dbb9ac2 _dispatch_root_queue_drain + 343
	10  libdispatch.dylib                   0x00007ff81dbba25c _dispatch_worker_thread2 + 160
	11  libsystem_pthread.dylib             0x00007ff81dd5df8a _pthread_wqthread + 256
	12  libsystem_pthread.dylib             0x00007ff81dd5cf57 start_wqthread + 15
)
Abort trap: 6

You missed the /Contents/MacOS/Glyphs 3 part at the end of the path.

How do you mean - I’m seeing all the path there?


"/Applications/Glyphs 3.app/Contents/MacOS/Glyphs 3" -disableUI 1 /tmp/OurLicense.glyphs3License

The actual command is

/Applications/Glyphs\ 3.app/Contents/MacOS/Glyphs\ 3 -disableUI 1 /tmp/OurLicense.glyphs3License

note the \ before spaces.

Isn’t that just the same command written by escaping the spaces instead of quoting them out?

If I run that I get this:

 /Applications/Glyphs\ 3.app/Contents/MacOS/Glyphs\ 3 -disableUI 1 /tmp/MyLicense.glyphs3License
2023-09-27 12:22:17.381 Glyphs 3[46348:19938637] XType: com.apple.fonts is not accessible.
2023-09-27 12:22:17.381 Glyphs 3[46348:19938637] XType: XTFontStaticRegistry is enabled.
2023-09-27 12:22:18.166 Glyphs 3[46348:19938637] [AppCenterCrashes] WARNING: +[MSACErrorLogFormatter formatStackFrame:report:]/579 Cannot find image for 0x10a57052e
2023-09-27 12:22:18.174 Glyphs 3[46348:19938637] [AppCenterCrashes] ERROR: +[MSACWrapperExceptionManager loadWrapperExceptionWithBaseFilename:]/139 Exception data report doesn't exist on disk. File name: 3951D5C1-FD83-4422-8EB5-EF0E38D3201B
2023-09-27 12:22:18.174 Glyphs 3[46348:19938637] [AppCenterCrashes] ERROR: +[MSACWrapperExceptionManager loadWrapperExceptionWithBaseFilename:]/139 Exception data report doesn't exist on disk. File name: last_saved_wrapper_exception
2023-09-27 12:22:18.496 Glyphs 3[46348:19938637] Glyphs listening on port com.GeorgSeifert.Glyphs3
2023-09-27 12:22:18.496 Glyphs 3[46348:19938637] Glyphs listening on port com.GeorgSeifert.Glyphs3.3151
CoreGraphics PDF has logged an error. Set environment variable "CG_PDF_VERBOSE" to learn more.
2023-09-27 12:22:18.736 Glyphs 3[46348:19938637] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'ClientCallsAuxiliary': Connection interrupted
2023-09-27 12:22:19.178 Glyphs 3[46348:19938668] [AppCenterCrashes] WARNING: +[MSACErrorLogFormatter formatStackFrame:report:]/579 Cannot find image for 0x1178d252e
2023-09-27 12:22:19.183 Glyphs 3[46348:19938668] [AppCenterCrashes] ERROR: +[MSACWrapperExceptionManager loadWrapperExceptionWithBaseFilename:]/139 Exception data report doesn't exist on disk. File name: 60601E49-9115-4700-A295-71D994E130BB
2023-09-27 12:22:19.184 Glyphs 3[46348:19938668] [AppCenterCrashes] WARNING: +[MSACErrorLogFormatter formatStackFrame:report:]/579 Cannot find image for 0x10a57052e
2023-09-27 12:22:19.190 Glyphs 3[46348:19938668] [AppCenterCrashes] ERROR: +[MSACWrapperExceptionManager loadWrapperExceptionWithBaseFilename:]/139 Exception data report doesn't exist on disk. File name: 3951D5C1-FD83-4422-8EB5-EF0E38D3201B
2023-09-27 12:22:19.190 Glyphs 3[46348:19938668] [AppCenterCrashes] ERROR: +[MSACWrapperExceptionManager loadWrapperExceptionWithBaseFilename:]/139 Exception data report doesn't exist on disk. File name: last_saved_wrapper_exception
2023-09-27 12:22:19.190 Glyphs 3[46348:19938668] [AppCenterCrashes] WARNING: +[MSACErrorLogFormatter formatStackFrame:report:]/579 Cannot find image for 0x1178d252e
2023-09-27 12:22:19.196 Glyphs 3[46348:19938668] [AppCenterCrashes] ERROR: +[MSACWrapperExceptionManager loadWrapperExceptionWithBaseFilename:]/139 Exception data report doesn't exist on disk. File name: 60601E49-9115-4700-A295-71D994E130BB
2023-09-27 12:22:19.196 Glyphs 3[46348:19938668] [AppCenterCrashes] WARNING: +[MSACErrorLogFormatter formatStackFrame:report:]/579 Cannot find image for 0x10a57052e
2023-09-27 12:22:19.201 Glyphs 3[46348:19938668] [AppCenterCrashes] ERROR: +[MSACWrapperExceptionManager loadWrapperExceptionWithBaseFilename:]/139 Exception data report doesn't exist on disk. File name: 3951D5C1-FD83-4422-8EB5-EF0E38D3201B
^[[A2023-09-27 12:23:13.340 Glyphs 3[46348:19938647] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** NSAllocateMemoryPages(18446744073709551615) failed'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007ff81dea3773 __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff81dc03bc3 objc_exception_throw + 48
	2   Foundation                          0x00007ff81ecd0f93 NSAllocateMemoryPages + 164
	3   Foundation                          0x00007ff81ec2df69 -[_NSPlaceholderData initWithBytes:length:copy:deallocator:] + 143
	4   Foundation                          0x00007ff81ec31efb -[NSData(NSData) initWithBytes:length:] + 37
	5   Glyphs 3                            0x000000010754503d _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 236573
	6   libdispatch.dylib                   0x00007ff81dbaa317 _dispatch_client_callout + 8
	7   libdispatch.dylib                   0x00007ff81dbacd7c _dispatch_continuation_pop + 453
	8   libdispatch.dylib                   0x00007ff81dbbe208 _dispatch_source_invoke + 2179
	9   libdispatch.dylib                   0x00007ff81dbb9ac2 _dispatch_root_queue_drain + 343
	10  libdispatch.dylib                   0x00007ff81dbba25c _dispatch_worker_thread2 + 160
	11  libsystem_pthread.dylib             0x00007ff81dd5df8a _pthread_wqthread + 256
	12  libsystem_pthread.dylib             0x00007ff81dd5cf57 start_wqthread + 15
)
Abort trap: 6

I just tried it and it seems to work fine for me.

What version of MacOS do you have? And are there any plugins installed?

I can send you a detailed report via email if I could take one?

Send it to support at this domain.

Will do

Hi, just checking that you received the system report that I sent though?