Skip to content

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

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

Closed
4 of 5 tasks
Cyborgscode opened this issue Apr 5, 2023 · 29 comments
Closed
4 of 5 tasks
Labels

Comments

@Cyborgscode
Copy link

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

  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
Copy link

pm4rcin commented Apr 5, 2023

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

@FondsofFall
Copy link

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
Copy link

skaendo commented Apr 6, 2023

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

@benw01
Copy link

benw01 commented Apr 6, 2023

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

@johnno66
Copy link

johnno66 commented Apr 6, 2023

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

@trenton4k
Copy link

work on freetube-0.18.0-nightly-2844 on windows

@Cyborgscode
Copy link
Author

Confirmed: Build 2844 fixes the issue.

@johnno66
Copy link

johnno66 commented Apr 6, 2023

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

@benw01
Copy link

benw01 commented Apr 6, 2023

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

@FondsofFall
Copy link

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
Copy link

fuengfah commented Apr 7, 2023

work on freetube-0.18.0-nightly-2844 on windows

where I can get Nightly buid?

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

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

@pntc
Copy link

pntc commented Apr 7, 2023

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

@logos88
Copy link

logos88 commented Apr 7, 2023

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

@Growebis
Copy link

Growebis commented Apr 7, 2023

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

@ghost
Copy link

ghost commented Apr 8, 2023

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

@RevAngel7
Copy link

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
Copy link
Author

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

@RevAngel7
Copy link

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

Done and working, thank you!

@pm4rcin
Copy link

pm4rcin commented Apr 8, 2023

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

@zestygrass
Copy link

zestygrass commented Apr 10, 2023

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
Copy link

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
Copy link

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
Copy link

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

@Cyborgscode
Copy link
Author

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
Copy link

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

@RevAngel7
Copy link

#3418

@github-actions
Copy link
Contributor

github-actions bot commented May 9, 2023

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests