FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

[Bug]: local API-ERROR: SyntaxError: Missing catch or finally after try

Open Cyborgscode opened this issue 3 years ago • 29 comments

Guidelines

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

Describe the bug

  1. Abo's
  2. click on any presented video Bildschirmfoto vom 2023-04-05 22-08-36

Expected Behavior

I believe, a new version is needed.

Issue Labels

API issue, content not loading

FreeTube Version

0.18.0 Beta

Operating System Version

Fedora Linux 36

Installation Method

.rpm

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

0.18.0 beta

Additional Information

Bug started 2 days ago. Before this date, everything worked as expected.

Nightly Build

Cyborgscode avatar Apr 05 '23 20:04 Cyborgscode

It started today for me and now I can't play any video even with Invidious proxy. I have freetube flatpak. s

pm4rcin avatar Apr 05 '23 21:04 pm4rcin

Same...same... except I use AppImage. Thought the solution would be: by deleting the AppImage then "reinstall" it.

The closed caption is no longer working after seeing " Missing catch or finally after try" It did not give me a chance to click a copy of error but thank you for report a bug on Github. :)

ghost avatar Apr 05 '23 23:04 ghost

Same just started happening to me today as well, now nothing is playing at all. Debian package.

skaendo avatar Apr 06 '23 01:04 skaendo

plus one, happening for me too. Version 0.18.0 (0.18.0), MacOS 13.3.

benw01 avatar Apr 06 '23 02:04 benw01

Same here, started yesterday after some kind of YT outage. Fallback to Invidious works, but with limited functionality. Fedora37, Freetube 0.18.0

johnno66 avatar Apr 06 '23 05:04 johnno66

work on freetube-0.18.0-nightly-2844 on windows

trenton4k avatar Apr 06 '23 08:04 trenton4k

Confirmed: Build 2844 fixes the issue.

Cyborgscode avatar Apr 06 '23 09:04 Cyborgscode

I can also confirm freetube-0.18.0-nightly-2844.x86_64.rpm fixes the issue. Thanks for the quick solution!

johnno66 avatar Apr 06 '23 10:04 johnno66

Confirmed that build 2844 fixes this issue on MacOS (freetube-0.18.0-nightly-2844.dmg)

benw01 avatar Apr 06 '23 10:04 benw01

Update: The screen is still appears "Local API Error (Click to copy): SyntaxError: Missing catch or finally after try" and "Falling back to Invidious API" and sometimes " Invidious API Error(Click to copy): undefined" The video is loaded but closed caption is not working properly. The good news is that I figured it out by changing current Invidious Instance then load the video, and press "C" on keyboard for turning caption on. For some reason, it does not work when you click on icon CC. Oh, well. Oh! Important to press ONCE because if you press "C" more than once then the caption repeated of same sentence.

ghost avatar Apr 06 '23 15:04 ghost

work on freetube-0.18.0-nightly-2844 on windows

where I can get Nightly buid?

fuengfah avatar Apr 07 '23 03:04 fuengfah

@fuengfah see https://docs.freetubeapp.io/development/nightly-builds for more info on the nightlys

@trenton4k thanks! Confirmed, working on Linux as well.

pntc avatar Apr 07 '23 06:04 pntc

I have the same issue in the freetube-bin from AUR

logos88 avatar Apr 07 '23 07:04 logos88

I also have the same issue with Linux Mint, Freetube 0.18.0 beta

Growebis avatar Apr 07 '23 21:04 Growebis

Is it foreseeable that the fix will take a long time to be in beta/stable versions?

ghost avatar Apr 08 '23 08:04 ghost

Same here for the .deb version on ubuntu 22.04 (latest mainline). My invidious session had to be changed to a healthy one to at least work and play the video. But the local API seems to be dead for the v0.18.0 Beta version.

RevAngel7 avatar Apr 08 '23 08:04 RevAngel7

For a quick solution: Install the nightly version as explained above!

Cyborgscode avatar Apr 08 '23 08:04 Cyborgscode

For a quick solution: Install the nightly version as explained above!

Done and working, thank you!

RevAngel7 avatar Apr 08 '23 08:04 RevAngel7

Changing instance is also a viable option for the time being. It worked for me without needing to download nightly.

pm4rcin avatar Apr 08 '23 21:04 pm4rcin