Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "Error.generateFrameFailed" #119

Open
sindresorhus opened this issue Aug 8, 2019 · 1 comment

Comments

@sindresorhus
Copy link
Owner

commented Aug 8, 2019

Issuehunt badges

This is not a crash as we handle it, but it's presented to the user and still annoying. This is a very common error that we also had with earlier versions. 133 users have been affected by this in total. 馃様

Error:

Gifski.Error.generateFrameFailed(Error Domain=AVFoundationErrorDomain Code=-11832 "Cannot Open" UserInfo={NSLocalizedFailureReason=This media cannot be used., NSLocalizedDescription=Cannot Open, NSUnderlyingError=0x60c00024f3f0 {Error Domain=NSOSStatusErrorDomain Code=-12431 "(null)"}})

Stacktrace:

# Version: 2.0.0 (18)
# OS Version: 10.13.6 (17G8030)
# Device: MacBook Pro 15", Late 2011

#0. Thread
0  Gifski                         0x10fe745ab CLSUserLoggingRecordError
1  Gifski                         0x10fe58c2f -[Crashlytics recordError:withAdditionalUserInfo:]
2  Gifski                         0x10fd80ed7 @objc AppDelegate.application(_:willPresentError:) (<compiler-generated>)
3  AppKit                         0x7fff51ce7cc3 (Missing)
4  AppKit                         0x7fff52408b5d (Missing)
5  Gifski                         0x10fd85400 closure #1 in closure #1 in ConversionViewController.start(conversion:) + 1930 (util.swift:1930)
6  Gifski                         0x10fd863f7 partial apply for closure #1 in closure #1 in ConversionViewController.start(conversion:) (<compiler-generated>)
7  Gifski                         0x10fd5fa26 closure #1 in closure #1 in static Gifski.run(_:completionHandler:) + 65 (Gifski.swift:65)
8  Gifski                         0x10fd62712 partial apply for closure #1 in closure #1 in static Gifski.run(_:completionHandler:) (<compiler-generated>)

Relevant lines:

Gifski/Gifski/Gifski.swift

Lines 194 to 196 in 7285f88

case let .failure(error):
completionHandlerOnce(.failure(.generateFrameFailed(error)))
}


IssueHunt Summary

Backers (Total: $80.00)

Become a backer now!

Or submit a pull request to get the deposits!

Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

@issuehunt-app

This comment has been minimized.

Copy link

commented Aug 8, 2019

@issuehunt has funded $80.00 to this issue.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can鈥檛 perform that action at this time.