-
Notifications
You must be signed in to change notification settings - Fork 502
AttributeError at /admin/documents/document/ #416
Comments
I have the same problem, the traceback is a followed:
This happened after upgrading to the current version with I do not have any invalid dates in the database and before the update it worked just fine. The line in question references commit fb6f2e0 If I uncomment the following lines (215-217), the server is working normally:
|
It looks like you're both running the wrong version of Django. Paperless upgraded to 2.x some time ago. Remember that part of the upgrade process is to update project dependencies with pipenv or pip: pipenv cd /path/to/paperless/root
pipenv install pip pip install -r /path/to/paperless/root/requirements.txt If you do that, restart the webserver, and there's still a problem, let me know, and if not, please close this issue. |
Update: I just realised that the migration docs didn't actually include a line about updating Python depdendencies, so yeah, this was my bad, sorry. Anyway, I've added a note for them now, so if you remember to do the update, I'm reasonably sure you should be ok. |
Ah perfect, thank you very much. That did indeed fix the issue |
\o/ |
When I pull up my /admin/documents/document/ I get the following error message:
Here is the traceback it provides:
http://dpaste.com/3ABY9YA.txt
I checked out issue #414 and #415 -- However, I don't believe it's a dates issue, as I originally had no documents at all and was getting the error. After processing in 3 documents, I see the dates as:
Would thoroughly appreciate any help :)
The text was updated successfully, but these errors were encountered: