Skip to content

ipc port is no longer valid (early) #3375

@DangerD1024

Description

@DangerD1024

Script stops sometimes on line log.ef("W0") :
(function is being called from Terminal)

	local success, errorMessage = pcall(function()
	...
		log.ef("111")
		isBusy = true;
		while isBusy do
			log.ef("W0")
			local backgroundTasksDialog = fcp.backgroundTasksDialog
2024-09-23 15:45:44: 15:45:44 ERROR:   example: 111
2024-09-23 15:45:44: 15:45:44 ERROR:   example: Oh Crap ! Error: ...CommandPost.app/Contents/Resources/extensions/hs/ipc.lua:48: ipc port is no longer valid (early)
2024-09-23 15:45:44: 15:45:44 ERROR:   LuaSkin: hs.ipc:callback - error during callback for CommandPost: ...CommandPost.app/Contents/Resources/extensions/hs/ipc.lua:420: ipc port is no longer valid (early)
stack traceback:
	[C]: in method 'sendMessage'
	...CommandPost.app/Contents/Resources/extensions/hs/ipc.lua:420: in function 'hs.ipc.__defaultHandler'

Any ideas?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions