Kap: After Upgrading Kap Errors out on Kapture

Created on 28 Mar 2018  路  15Comments  路  Source: wulkano/Kap

Platform: macOS
Kap Version: 2.1.1

Steps to reproduce:

  • Upgrade from Kap 1.x to 2.1.1 via the upgrade notification

    • Restart is irrelevant. This happened both before and after restarting, though trying to kapture _before_ restarting may have made it permanent?

  • Try to record a katpure

    Current behaviour:

Unexpectedly errors out whenever I try to kapture, then sends quite a few other errors once the initial error is dismissed.

image

Unhandled Promise Rejection
Error: Call `.startRecording()` first
    at Aperture.stopRecording (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:141:13)
    at EventEmitter.<anonymous> (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:205:39)
    at Generator.next (<anonymous>)
    at step (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:39:191)
    at file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:39:437
    at Promise (<anonymous>)
    at EventEmitter.<anonymous> (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:39:99)
    at EventEmitter.stopRecording (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:221:20)
Can't Reproduce Help Wanted High

All 15 comments

~That error was handled here: https://github.com/wulkano/kap/blob/master/app/src/renderer/js/main.js#L148-L163~

So, my guess is that it's stuck on an old version. So for some reason, the update didn't work, but the version number was bumped to 2.1.1

Edit: nevermind. That's the reverse error

You're really good at finding weird errors @bnb 馃槀 Can you try again by updating to the latest Beta release or to Kap 2.1.2 if you haven't already?

Howdy! I actually have gotten this same error. In this version of Kap (2.1.1) and also in the latest (2.2.0). The only thing I have done is open up Kap and record. Once I attempt to stop a recording, I cannot escape the recording or even get a prompt about the rendering. 馃槮 I have really liked using Kap but unfortunately due to this, I cannot even make recordings.

Error: Call `.startRecording()` first
    at Aperture.stopRecording (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:141:13)
    at EventEmitter.<anonymous> (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:202:39)
    at Generator.next (<anonymous>)
    at step (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:39:191)
    at file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:39:437
    at Promise (<anonymous>)
    at EventEmitter.<anonymous> (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:39:99)
    at EventEmitter.stopRecording (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:218:20)

Would be great to at the very least identify a workaround for this... @bnb and @maxcell, could you try reinstalling Kap (including uninstalling all plugins and delete anything related to Kap in Application Support)?

@skllcrn I've managed to install the 3.0.0 and everything is working fine there though. 馃槃

Had to do the same, seems to be working... though I had some similar(ish) errors off and on when I started IIRC. They resolved pretty quickly, though.

I have the same errors with and without plugins, installing the 3.0 didn't solved for me, but with the 3.0 version I get only this simple error when I start recording instead of 2 error when I start the app and one when I start recording
kap_error

Hey, I'm having the same error here without set any plugin.
With Version: 2.2.0

UPDATE: I try to record with a custom window size and it worked fine, looks like it only crash if you select the full screen option.

Unhandled Promise Rejection Error: Call.startRecording()first at Aperture.stopRecording (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:141:13) at EventEmitter.<anonymous> (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:207:39) at Generator.next (<anonymous>) at step (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:39:191) at file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:39:437 at Promise (<anonymous>) at EventEmitter.<anonymous> (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:39:99) at EventEmitter.stopRecording (file:///Applications/Kap.app/Contents/Resources/app.asar/dist/renderer/js/main.js:223:20)

The only workaround that seems to work in most cases is using the latest master build @pedromassango, let me know if that works for you too!

@skllcrn how can I use it? I just downloaded from official site

Use this link @pedromassango: Download. Once it's finished downloading, open it and follow the instructions to move it your your Applications folder. Once that's done you can open the app and hopefully use it without issues!

Thank you

Did anyone manage to reproduce this with the latest Kap build?

I get this error with Kap 3.0.0 (https://kap-artifacts.now.sh/master) and 2.2.0 when trying to "gifify" a YouTube video: "Could not start recording within 5 seconds"

Seems like we're talking about two different issues across several different builds of the app. I'll be closing this issue for now, if you're still seeing any of these issues on the latest release please open a new issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vadimdemedes picture vadimdemedes  路  4Comments

rubenbuijs picture rubenbuijs  路  3Comments

pedromassango picture pedromassango  路  3Comments

tyler-reitz picture tyler-reitz  路  4Comments

Glutnix picture Glutnix  路  3Comments