Comments (8)
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.
from p4s.
Thanks will rollback and try
I also run Python 3.7.3 rather than 3.6.
from p4s.
change "pipfile":
[requires] python_version >= "3.6"
if it works, make a cr and i'll merge it.
from p4s.
ok, here is the correct solution:
pipenv update --python 3.7
and then:
[requires] python_version = "3.7"
just checked it with pipenv team.
from p4s.
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.
from p4s.
from p4s.
@all-contributors please add @arogl for testing
from p4s.
File README.md was not found in the repository (faulander/P4S).
from p4s.
Related Issues (16)
- Which version of Sonarr is supported? HOT 2
- static images not found HOT 3
- Problem in helperUpdateTVMaze - deletes settings table HOT 8
- No .env for docker. HOT 2
- Server Error (500) HOT 2
- Bad Request (400) HOT 5
- Optionally remove NGINX and use gunicorn and whitenoise instead HOT 1
- Error when starting - name 'p' is not defined (0.5.0-dev) HOT 2
- Updating of shows HOT 4
- Unable to create DB on first startup HOT 1
- Changing premiered date HOT 1
- Unhandled exception newshows.models.Setting.DoesNotExist: Setting matching query does not exist. HOT 2
- Function of lookup button HOT 1
- Automatic run of firstrun function prevent docker build HOT 1
- management of shows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p4s.