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]: SyntaxError: Unexpected token (1:47) #5378

Closed
6 tasks done
Growebis opened this issue Jul 9, 2024 · 29 comments · Fixed by #5384
Closed
6 tasks done

[Bug]: SyntaxError: Unexpected token (1:47) #5378

Growebis opened this issue Jul 9, 2024 · 29 comments · Fixed by #5384
Labels
B: content not loading bug Something isn't working

Comments

@Growebis
Copy link

Growebis commented Jul 9, 2024

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have encountered this bug in the official downloads 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

Right now, any video i've tried to open always throws at me SyntaxError: Unexpected token (1:47) and then it falls back to invidious.

Steps to reproduce:

  1. Go to a video.
  2. Get instantly hit with the error, which causes FreeTube to fall back to Invidious.

Examples of videos being affected by this error:
https://youtu.be/Y_jI_Toq0rI
https://youtu.be/1wG1NiqOqPw
https://youtu.be/bcyu7RuXqMQ

Expected Behavior

For the video to play normally without error.

Issue Labels

content not loading

FreeTube Version

v0.21.0-nightly-4555 Beta

Operating System Version

Linux Mint 21.3 Cinnamon X.org

Installation Method

.deb

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

Video demonstration:

2024-07-09.19-57-37.mp4

Shorts and live streams are affected too.

When using the console it gives this error log.

2024-07-09.20-06-09.mp4

Nightly Build

@Growebis Growebis added the bug Something isn't working label Jul 9, 2024
@absidue absidue pinned this issue Jul 9, 2024
@John-foobar-Doe

This comment has been minimized.

@rjdg14

This comment has been minimized.

@weltivambian

This comment has been minimized.

@Growebis

This comment has been minimized.

@rjdg14

This comment has been minimized.

@PerpetualNooby

This comment has been minimized.

@efb4f5ff-1298-471a-8973-3d47447115dc
Copy link
Member

efb4f5ff-1298-471a-8973-3d47447115dc commented Jul 9, 2024

Please refrain from commenting as we are already working on a fix. Please just upvote the issue.

Set the Invidious API as your primary API as a temporarily workaround. Try other Invidious instances when an instance isnt working. Some Invidious instances are IP blocked by YouTube.

Upcoming fix

@PerpetualNooby

This comment was marked as outdated.

@thingsiplay

This comment was marked as outdated.

@PerpetualNooby

This comment was marked as resolved.

@rjdg14

This comment was marked as outdated.

@rjdg14

This comment has been minimized.

@PikachuEXE

This comment was marked as outdated.

@senolfndk

This comment was marked as duplicate.

@qupear

This comment was marked as outdated.

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

This comment was marked as outdated.

@RoryTate

This comment was marked as duplicate.

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

This comment was marked as outdated.

@davresmor

This comment was marked as outdated.

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

This comment was marked as outdated.

@ACR-Jeff

This comment was marked as off-topic.

@scoop96

This comment was marked as outdated.

@ACR-Jeff

This comment was marked as outdated.

@UnconsciousBlaringHuman

This comment was marked as outdated.

@ACR-Jeff

This comment was marked as outdated.

@edesserdt

This comment was marked as outdated.

@rugabunda

This comment was marked as outdated.

@efb4f5ff-1298-471a-8973-3d47447115dc
Copy link
Member

efb4f5ff-1298-471a-8973-3d47447115dc commented Jul 11, 2024

v0.21.1 has been released! You can download the latest version using the following methods:

Thank you for being patient and happy watching 📺!

@PerpetualNooby
Copy link

PerpetualNooby commented Jul 11, 2024 via email

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

Successfully merging a pull request may close this issue.