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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError happened in Talk::FetchDurationFromYoutubeJob#perform #592

Open
appsignal bot opened this issue Jan 20, 2025 · 3 comments
Open

TypeError happened in Talk::FetchDurationFromYoutubeJob#perform #592

appsignal bot opened this issue Jan 20, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@appsignal
Copy link

appsignal bot commented Jan 20, 2025

Message

  no implicit conversion of nil into String

Backtrace (last 10 lines)

lib/active_support/duration/iso8601_parser.rb:35 StringScanner#initialize
lib/active_support/duration/iso8601_parser.rb:35 Class#new
lib/active_support/duration/iso8601_parser.rb:35 ActiveSupport::Duration::ISO8601Parser#initialize
lib/active_support/duration.rb:145 Class#new
lib/active_support/duration.rb:145 ActiveSupport::Duration.parse
app/models/talk.rb:431 Talk#fetch_duration_from_youtube!
lib/active_job/performs.rb:45 Talk::FetchDurationFromYoutubeJob#perform
lib/active_job/execution.rb:68 block in ActiveJob::Execution#_perform_job
lib/active_support/callbacks.rb:120 block in ActiveSupport::Callbacks#run_callbacks
lib/i18n.rb:353 I18n::Base#with_locale

View on AppSignal: https://appsignal.com/rubyvideo/sites/648c9414d2a5e4567617aaf0/exceptions/incidents/368

@adrienpoly
Copy link
Owner

seen on this talk https://www.rubyvideo.dev/talks/helping-communities-products-thrive
I think the api returns nil or something

@adrienpoly adrienpoly added the bug Something isn't working label Jan 20, 2025
@marcoroth
Copy link
Collaborator

Yeah, looks like the video is not available anymore:

Image

@adrienpoly
Copy link
Owner

well let's say then it is a good way to regulary check if the video is live or not 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants