[Bug]: Private video - TypeError: Cannot read properties of undefined (reading 'view_count')
Guidelines
- [x] I have encountered this bug in the latest release of FreeTube.
- [x] I have encountered this bug in the official downloads 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.
- [x] I have read and agree to follow the rules.
Describe the bug
- download 2fe266cc81a3a2086a49f53092570960 FreeTube-0.23.5-nightly-6223.AppImage
- issue command: LANG=C ./FreeTube-0.23.5-nightly-6223.AppImage https://www.youtube.com/watch?v=K97lp7xWPCQ
expected behaviour: there should be only a single error message, in plain English saying something like "This video is private, cannot be played, sorry"
actual behaviour: as per screenshot below:
Expected Behavior
detailed above
Issue Labels
text/string issue
FreeTube Version
FreeTube-0.23.5-nightly-6223.AppImage
Operating System Version
linux
Installation Method
.AppImage
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
issue created as per https://github.com/FreeTubeApp/FreeTube/issues/6854#issuecomment-3084145554
Nightly Build
- [x] I have encountered this bug in the latest nightly build.
Hello, I have opened #7690 to fix this bug.
@Soham156 im not seeing any PR opened by you. Also you referencing to this issue instead of a PR
@efb4f5ff-1298-471a-8973-3d47447115dc Apologies for the confusion — that was my mistake. I meant to say I’m working on the fix and will open a PR shortly. I’ll make sure to reference the issue correctly in the PR once it’s up. Thanks for your patience!
Opened PR #7767 to fix this bug.