Skip to content
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

Manually refreshing channel gives error #782

Closed
Tracked by #783
henrikmaurin opened this issue Feb 26, 2025 · 11 comments
Closed
Tracked by #783

Manually refreshing channel gives error #782

henrikmaurin opened this issue Feb 26, 2025 · 11 comments

Comments

@henrikmaurin
Copy link

When manually refreshing a channel, I get this (and a lot of debug information including my cookies):

DoesNotExist at /source-sync-now/3e9592a0-79a0-4e8f-ac2d-458ec709aa28

Request Method: GET
http://localhost/source-sync-now/3e9592a0-79a0-4e8f-ac2d-458ec709aa28
5.1.6
DoesNotExist
Source matching query does not exist.
/usr/local/lib/python3.11/dist-packages/django/db/models/query.py, line 649, in get
sync.views.SourcesView
/usr/bin/python3
3.11.2
['/usr/local/bin', '/app', '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', '/usr/local/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages']
@tcely
Copy link
Contributor

tcely commented Feb 26, 2025

Are you having database troubles?

That error is from the web worker not being able to find a Source object with the UUID provided in the URL.

@henrikmaurin
Copy link
Author

I dont have any problems with my database running an older version.
Using MariaDB

@tcely
Copy link
Contributor

tcely commented Feb 26, 2025

Please try using this image:

docker pull ghcr.io/meeb/tubesync:latest@sha256:d668a7f3cbbe4215773144fd88e1a8c0edef9cd0af46504a0e8b2f83569a0f25

I'm wondering if the problem you are seeing is related to #772 or not. The above image used the previous version of Django.

@tcely tcely moved this from Untriaged to In Progress in Status Feb 26, 2025
@henrikmaurin
Copy link
Author

Yes! This image solves both this issue and #781 for me

@tcely
Copy link
Contributor

tcely commented Feb 26, 2025

Alright. Please provide steps needed for us to reproduce both issues.

I wonder if it's database specific at this point. I have PostgreSQL in use for testing currently, and I will try to reproduce on SQLite also.

@tcely tcely mentioned this issue Feb 26, 2025
4 tasks
@tcely tcely moved this from In Progress to Todo in Status Feb 26, 2025
@henrikmaurin
Copy link
Author

To reproduce (for me):
Click Sources
Image
Click refresh
Image

@tcely
Copy link
Contributor

tcely commented Feb 28, 2025

I setup a test container using mariadb:lts for the TubeSync database and attempted to reproduce this without any success.

Maybe your database schema needs an update?

#789 (comment)

@tcely tcely moved this from Todo to In Progress in Status Feb 28, 2025
@henrikmaurin
Copy link
Author

No, this does not seem to solve this problem, But #781 is now solved

@tcely
Copy link
Contributor

tcely commented Feb 28, 2025

Would you provide the log file or turn on debugging to gather more information?

@henrikmaurin
Copy link
Author

Now when I try to reproduce this error it works as it should. Could it be I didnt reload the sources page bebore testing?

So this is also solved now.

@github-project-automation github-project-automation bot moved this from In Progress to Done in Status Feb 28, 2025
@tcely
Copy link
Contributor

tcely commented Feb 28, 2025

Now when I try to reproduce this error it works as it should. Could it be I didnt reload the sources page bebore testing?

That could be. The stored value might have been different in the database also.

So this is also solved now.

Great!

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

No branches or pull requests

2 participants