-
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
further errors #13
Comments
Looks like a problem with pipenv. I am on a business trip the next 2 days, so i cannot check it. If you need it running, reverse to an earlier commit. I‘ll look into it on friday. |
Thanks will rollback and try I also run Python 3.7.3 rather than 3.6. |
change "pipfile": if it works, make a cr and i'll merge it. |
ok, here is the correct solution:
and then:
just checked it with pipenv team. |
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. |
i recognized that aswell. Will look into it.
… Am 22.01.2020 um 11:31 schrieb arogl ***@***.***>:
I am now getting the same error again
2020-01-22 20:07:14,012 INFO [newshows.helpers:196] Show already in DB: Sorcerous Stabber Orphen
[2020-01-22 20:07:14,742] ERROR:huey:Worker-1:Unhandled exception in task 2469f3c5-3481-441e-ae13-3835ffda4298.
Traceback (most recent call last):
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\django\db\models\options.py", line 581, in get_field
return self.fields_map[field_name]
KeyError: 'page'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\huey\api.py", line 345, in _execute
task_value = task.execute()
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\huey\api.py", line 697, in execute
return func(*args, **kwargs)
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\huey\contrib\djhuey\__init__.py", line 132, in inner
return fn(*args, **kwargs)
File "H:\Git\P4S\src\newshows\helpers.py", line 202, in HelperUpdateTVMaze
q = Show.objects.filter(Q(pk=1)).update(page=page)
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\django\db\models\query.py", line 748, in update
query.add_update_values(kwargs)
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\django\db\models\sql\subqueries.py", line 117, in add_update_values
field = self.get_meta().get_field(name)
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\django\db\models\options.py", line 583, in get_field
raise FieldDoesNotExist("%s has no field named '%s'" % (self.object_name, field_name))
django.core.exceptions.FieldDoesNotExist: Show has no field named 'page'
2020-01-22 20:07:14,742 ERROR [huey:360] Unhandled exception in task 2469f3c5-3481-441e-ae13-3835ffda4298.
Traceback (most recent call last):
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\django\db\models\options.py", line 581, in get_field
return self.fields_map[field_name]
KeyError: 'page'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\huey\api.py", line 345, in _execute
task_value = task.execute()
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\huey\api.py", line 697, in execute
return func(*args, **kwargs)
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\huey\contrib\djhuey\__init__.py", line 132, in inner
return fn(*args, **kwargs)
File "H:\Git\P4S\src\newshows\helpers.py", line 202, in HelperUpdateTVMaze
q = Show.objects.filter(Q(pk=1)).update(page=page)
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\django\db\models\query.py", line 748, in update
query.add_update_values(kwargs)
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\django\db\models\sql\subqueries.py", line 117, in add_update_values
field = self.get_meta().get_field(name)
File "C:\Users\arogl\.virtualenvs\P4S-7tjkeV1a\lib\site-packages\django\db\models\options.py", line 583, in get_field
raise FieldDoesNotExist("%s has no field named '%s'" % (self.object_name, field_name))
django.core.exceptions.FieldDoesNotExist: Show has no field named 'page'
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.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@all-contributors please add @arogl for testing |
File README.md was not found in the repository (faulander/P4S). |
During the runserver section, I can see the default settings have been loaded, no shows and query the last downloads
The text was updated successfully, but these errors were encountered: