FreeTubeApp / FreeTube

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

[Bug]: Channels "Channel list" tab empty: "0 channel(s) found." #5360

Open redactedscribe opened 2 weeks ago

redactedscribe commented 2 weeks ago

Guidelines

Describe the bug

This has been present since 0.19.2 at least for me. Updating to 0.21.0 did not change the situation. It's been so many months since I've seen anything under this tab I'm not even sure what it's meant to look like. In fact, I might have never seen anything under this tab. All I know is that it shows 0 channels when presumably it should display something.

Expected Behavior

Should not be an empty page since I have many subscriptions.

Issue Labels

content not loading

FreeTube Version

0.21.0

Operating System Version

Windows 11 Pro

Installation Method

Scoop (Unofficial)

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

Unsure

Additional Information

No response

Nightly Build

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

Please follow these steps:

  1. Launch FreeTube
  2. Open the dev tool with ctrl + shift + i
  3. Go to the Channel List page
  4. See if there are any red errors listed in the console of the dev tools
  5. Make a screenshot and upload here
redactedscribe commented 1 week ago

Would this be a firewall issue? I don't see anything by FreeTube.exe blocked. My second guess is that it's related the instance I'm using. I should try another.

FreeTube_2024-07-07_13-21-02

The same in text:

# AFTER LAUNCHING FREETUBE:

renderer.js:2 VIDEOJS: WARN: using Vhs.BANDWIDTH_VARIANCE is UNSAFE be sure you know what you are doing
(anonymous) @ renderer.js:2
index.html#/subscriptions:1 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: app://bundle/fonts/Roboto-Regular.ttf
rQeGWScM...-c0x00ffffff-no-rj:1 

       Failed to load resource: the server responded with a status of 404 ()
Nb2CB5_NTO6xs44W...

Failed to load resource: ...
Failed to load resource: ...
Failed to load resource: ...
Failed to load resource: ...
Failed to load resource: ...

etc...

# AFTER PRESSING CHANNELS TAB:

renderer.js:2 TypeError: Failed to construct 'URL': Invalid URL
    at r.thumbnailURL (renderer.js:2:1518280)
    at renderer.js:2:1520234
    at r.$e [as _l] (renderer.js:2:604247)
    at r.<anonymous> (renderer.js:2:1520006)
    at t._render (renderer.js:2:632762)
    at r.n (renderer.js:2:663335)
    at t.get (renderer.js:2:613997)
    at t.run (renderer.js:2:614730)
    at Pn (renderer.js:2:616703)
    at Array.<anonymous> (renderer.js:2:611434)
ki @ renderer.js:2
Ci @ renderer.js:2
wi @ renderer.js:2
t._render @ renderer.js:2
n @ renderer.js:2
t.get @ renderer.js:2
t.run @ renderer.js:2
Pn @ renderer.js:2
(anonymous) @ renderer.js:2
Ei @ renderer.js:2
Promise.then (async)
Ti @ renderer.js:2
Ri @ renderer.js:2
In @ renderer.js:2
t.update @ renderer.js:2
t.$forceUpdate @ renderer.js:2
(anonymous) @ renderer.js:2
l @ renderer.js:2
Si @ renderer.js:2
i @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
c @ renderer.js:2
(anonymous) @ renderer.js:2
setTimeout (async)
Va @ renderer.js:2
(anonymous) @ renderer.js:2
requestAnimationFrame (async)
(anonymous) @ renderer.js:2
requestAnimationFrame (async)
$a @ renderer.js:2
C @ renderer.js:2
Wa @ renderer.js:2
remove @ renderer.js:2
C @ renderer.js:2
S @ renderer.js:2
Qa.nodeOps @ renderer.js:2
t._update @ renderer.js:2
n @ renderer.js:2
t.get @ renderer.js:2
t.run @ renderer.js:2
Pn @ renderer.js:2
(anonymous) @ renderer.js:2
Ei @ renderer.js:2
Promise.then (async)
Ti @ renderer.js:2
Ri @ renderer.js:2
In @ renderer.js:2
t.update @ renderer.js:2
t.notify @ renderer.js:2
set @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
cn.updateRoute @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
n @ renderer.js:2
n @ renderer.js:2
sn @ renderer.js:2
(anonymous) @ renderer.js:2
n @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
g @ renderer.js:2
n @ renderer.js:2
n @ renderer.js:2
n @ renderer.js:2
sn @ renderer.js:2
cn.confirmTransition @ renderer.js:2
cn.transitionTo @ renderer.js:2
e.push @ renderer.js:2
(anonymous) @ renderer.js:2
wn.push @ renderer.js:2
YB.push @ renderer.js:2
v @ renderer.js:2
Si @ renderer.js:2
i @ renderer.js:2
a._wrapper @ renderer.js:2

Thanks.

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

My second guess is that it's related the instance I'm using

is your primary API set to Invidious?

redactedscribe commented 1 week ago

It's set to Local API.

Gorrrg commented 1 week ago

Is there more than one instance of FreeTube running? Look in Task Manager if there is a windowless stale FreeTube.exe process, kill it and try again. There's an issue where the new instance can't read the databases because the first one that crashed is still blocking file access.

redactedscribe commented 1 week ago

I haven't had the time to look into the causes of this, but I don't believe there are any other running instances:

Taskmgr_2024-07-11_20-50-37

I honestly don't ever use the channels tab so it's not much of an issue for me (not sure what I'm missing out on). When I have some time, I'll play around with FreeTube and see if I can get the channels to show somehow.

redactedscribe commented 1 week ago

Also, which DB file should contain the Channels tab data? Might serve as a starting point for me. I also sync the FreeTube AppData folder to the cloud (to MEGA via Selective Sync method) to keep my settings backed up if that might cause some issue.

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

see https://docs.freetubeapp.io/usage/data-location/#notable-files