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

[Bug]: TypeError: Cannot read properties of undefined (reading 'title') #3386

Closed
5 tasks done
efb4f5ff-1298-471a-8973-3d47447115dc opened this issue Apr 1, 2023 · 1 comment · Fixed by #3400
Closed
5 tasks done
Labels
B: API issue bug Something isn't working

Comments

@efb4f5ff-1298-471a-8973-3d47447115dc

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

Noticed this error when testing #3362 but i dont notice any issues with FT.

  1. Play any playlist
  2. Go to the end of the video
  3. Let the countdown do its thing
  4. Next video load
  5. Error
TypeError: Cannot read properties of undefined (reading 'title')
    at a.currentTitle (renderer.js:2:1688331)
    at t.get (renderer.js:2:827872)
    at t.evaluate (renderer.js:2:829054)
    at a.currentTitle (renderer.js:2:841873)
    at a.<anonymous> (renderer.js:2:1689246)
    at t._render (renderer.js:2:847229)
    at a.n (renderer.js:2:877807)
    at t.get (renderer.js:2:827872)
    at t.run (renderer.js:2:828791)
    at hi (renderer.js:2:830753)

The following error spams the console but i think that would be resolved if the first one gets solved

renderer.js:2 TypeError: Cannot read properties of undefined (reading 'startSeconds')
    at a.updateCurrentChapter (renderer.js:2:1742147)
    at Ce (renderer.js:2:825205)
    at a.i (renderer.js:2:818550)
    at Ce (renderer.js:2:825205)
    at t.$emit (renderer.js:2:846105)
    at e.<anonymous> (renderer.js:2:1654674)
    at n.dispatcher.n.dispatcher (renderer.js:2:238929)
    at hn (renderer.js:2:239927)
    at e.trigger (renderer.js:2:244598)
    at wa.forEach.ka.<computed> [as handleTechTimeupdate_] (renderer.js:2:433352)

Watch 0-20 sec and then skip to the 1min mark (i got distracted a bit)

Freetube.Zxmvqskjn3.mp4

Expected Behavior

No error

Issue Labels

API issue

FreeTube Version

Latest nightly

Operating System Version

Win10 22H2

Installation Method

.exe

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

No response

Nightly Build

@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc added the bug Something isn't working label Apr 1, 2023
@absidue
Copy link
Member

absidue commented Apr 1, 2023

It's not just any playlist, it's that specific playlist in the video (https://youtube.com/playlist?list=PLieFcZgde9z-SDwkG-US6oRknDGNK0U7l).
The fifth video in the playlist "Have you ever dropped your phone into a lake?" has a chapter at 11:30 but the video is only 11:31 long, so for some reason that chapter being right at the end is causing problems for the next video.

Also definitely issue in FreeTube, the chapters don't open.

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

Successfully merging a pull request may close this issue.

2 participants