-
Notifications
You must be signed in to change notification settings - Fork 2
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
Problem in helperUpdateTVMaze - deletes settings table #14
Comments
i have added a fix (hopefully) but i cannot test it since i am not at home. |
I tested be choosing my 720p profile and hitting save, no other changes. A little while later the settings had been deleted. Default profile when going to the settings page is the "---------" profile. |
i don't get why this gets deleted and only this table. Will continue to
look into it.
Am Do., 23. Jan. 2020 um 11:39 Uhr schrieb arogl <notifications@github.com>:
… I tested be choosing my 720p profile and hitting save, no other changes. A
little while later the settings had been deleted.
Default profile when going to the settings page is the "---------" profile.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#14?email_source=notifications&email_token=AJGM6JPNLTMXFH2OLDAQP3DQ7FXX5A5CNFSM4KKKNZ6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJW5W7I#issuecomment-577624957>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJGM6JKZ4GB7EPZBE7YYUPLQ7FXX5ANCNFSM4KKKNZ6A>
.
|
Could it be a database lock between the helperGetSonarrProfiles and HelperUpdateTVMaze functions? |
I have reworked the complete settings system in 0.2.0 and it still happens, even when i don't run the management tasks in background - simply by reloading the settings page a few times. I am out of options, can't figure out why it happens. There are no errors, nothing. I have writte the problem on stackoverflow and on the django mailing list - let's see if they come up with a solution. |
Next thing i will try is moving to Postgres. I wanted to use sqlite to have minimum requirements, but if it works with postgres, i can live with it. |
I think i found the problem: If i switch to Standard Django Forms, it behaves as it should, so the problem lies within Django Crispy Forms! The remodeling wasn't the baddest idea though, it's no compatible with docker and thus should receiver more users. |
Fixed in 0.2.0 |
I am now getting the same error again
It seems the main database is either corrupt or encrypted:
I then used the sqlite3 command line to open and check the database and all OK and working again.
The error occurs when running "run_huey", and the HelperUpdateTVMaze() runs and a page increment needs to be saved back to the database.
Originally posted by @arogl in #13 (comment)
The text was updated successfully, but these errors were encountered: