FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.55k stars 843 forks source link

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

Closed Cyborgscode closed 1 year ago

Cyborgscode commented 1 year ago

Guidelines

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

pm4rcin commented 1 year ago

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

FondsofFall commented 1 year ago

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. :)

skaendo commented 1 year ago

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

benw01 commented 1 year ago

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

johnno66 commented 1 year ago

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

trenton4k commented 1 year ago

work on freetube-0.18.0-nightly-2844 on windows

Cyborgscode commented 1 year ago

Confirmed: Build 2844 fixes the issue.

johnno66 commented 1 year ago

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

benw01 commented 1 year ago

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

FondsofFall commented 1 year ago

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.

fuengfah commented 1 year ago

work on freetube-0.18.0-nightly-2844 on windows

where I can get Nightly buid?

efb4f5ff-1298-471a-8973-3d47447115dc commented 1 year ago

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

pntc commented 1 year ago

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

logos88 commented 1 year ago

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

Growebis commented 1 year ago

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

ghost commented 1 year ago

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

RevAngel7 commented 1 year ago

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.

Cyborgscode commented 1 year ago

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

RevAngel7 commented 1 year ago

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

Done and working, thank you!

pm4rcin commented 1 year ago

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

zestygrass commented 1 year ago

Same exact issue, Invidious fallback was making it work for last few days. Just went ahead and installed 2846 nightly build, local API is now functioning just fine.

I was using freetube-bin from AUR, so modified the PKGBUILD a bit to install the nightly version, didn't notice any issues yet.

SJRouge91 commented 1 year ago

Was having the same error as well last 3-4 days, and after installing nightly build the descriptions in the videos are showing up again, and everything is fine. Using the portable 64-bit version on Windows. Thanks all :)

RevAngel7 commented 1 year ago

Yes, a big "thank you" to all maintainers of this project! If you are a regular user of FreeTube, please remember these projects also keep alive because of your financial donations. https://github.com/FreeTubeApp/FreeTube#donate

RevAngel7 commented 1 year ago

Well, looks like youtube does not like FreeTube any more. Error 400 on the API key. FreeTube_API_error_400

Cyborgscode commented 1 year ago

Well, looks like youtube does not like FreeTube any more. Error 400 on the API key. FreeTube_API_error_400

Pls open a new Issue for that error.

Local API works fine here with 2844

RevAngel7 commented 1 year ago

The error is from v0.18.0-nightly-2844 Beta. I am opening a new issue with it.

RevAngel7 commented 1 year ago

https://github.com/FreeTubeApp/FreeTube/issues/3418

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

efb4f5ff-1298-471a-8973-3d47447115dc commented 1 year ago

Solved in nightly's no need to keep it open, closing.