Kap icon indicating copy to clipboard operation
Kap copied to clipboard

Error

Open carcagi opened this issue 4 years ago • 4 comments

Sentry Issue: KAP-7SJ

macOS version: High Sierra (10.13) Kap version: 3.3.2

Error

Error: Command was killed with SIGABRT (Aborted): /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/macos-audio-devices/audio-devices list --input --json
dyld: Symbol not found: _$s18IntegerLiteralTypes013ExpressibleByaB0PTl
  Referenced from: /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/macos-audio-devices/audio-devices
  Expected in: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftCore.dylib
 in /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/macos-audio-devices/audio-devices
    at makeError (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/macos-audio-devices/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/macos-audio-devices/node_modules/execa/index.js:114:26)
    at async Object.module.exports.<computed> [as getInputDevices] (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/macos-audio-devices/index.js:10:20)
    at async getAudioDevices (/Applications/Kap.app/Contents/Resources/app.asar/main/utils/devices.js:15:21)
    at async getMicrophoneItem (/Applications/Kap.app/Contents/Resources/app.asar/main/menus.js:114:19)
    at async getCogMenuTemplate (/Applications/Kap.app/Contents/Resources/app.asar/main/menus.js:161:3)
    at async Object.getCogMenu (/Applications/Kap.app/Contents/Resources/app.asar/main/menus.js:270:55)

carcagi avatar Jan 10 '21 19:01 carcagi

I have same issue on 10.13.6 High Sierra.

mihaicph avatar Jan 29 '21 08:01 mihaicph

Same error, High Sierra 10.13.6 (17G9016)

Sentry Issue: KAP-7NG

macOS version: High Sierra (10.13) Kap version: 3.3.2

Error

Error: Command was killed with SIGABRT (Aborted): /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/macos-audio-devices/audio-devices list --input --json
dyld: Symbol not found: _$s18IntegerLiteralTypes013ExpressibleByaB0PTl
  Referenced from: /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/macos-audio-devices/audio-devices
  Expected in: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftCore.dylib
 in /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/macos-audio-devices/audio-devices
    at makeError (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/macos-audio-devices/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/macos-audio-devices/node_modules/execa/index.js:114:26)
    at async Object.module.exports.<computed> [as getInputDevices] (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/macos-audio-devices/index.js:10:20)
    at async getAudioDevices (/Applications/Kap.app/Contents/Resources/app.asar/main/utils/devices.js:15:21)
    at async /Applications/Kap.app/Contents/Resources/app.asar/main/common/settings.js:128:21

EnricoMonese avatar Feb 03 '21 17:02 EnricoMonese

This is definitely related to the swift tools not being bundled, since it's only happening on 10.13 I thought we handle this with returning an empty array.

I'll double check the backup is there, before we drop support for 10.13

https://github.com/wulkano/Kap/issues/838

karaggeorge avatar Feb 14 '21 15:02 karaggeorge

Looks like we do have the backup, but we still show the error dialog which I'm guessing is how this got reported, the app shouldn't have crashed or anything.

Maybe for future versions past 10.13 support we just silently return [], or we have some kind of warning the user that certain features won't work

karaggeorge avatar Feb 14 '21 15:02 karaggeorge