Fix formatting

This commit is contained in:
Quinn Casey 2022-05-18 14:30:16 -07:00
parent 5f5c9e2eb3
commit 286affea38

View File

@ -237,11 +237,12 @@ open the affected documents in paperless for editing. Paperless will continue to
show the invalid metadata. show the invalid metadata.
Consumer fails with a FileNotFoundError Consumer fails with a FileNotFoundError
############################ #######################################
You might find messages like these in your log files: You might find messages like these in your log files:
.. code:: .. code::
[ERROR] [paperless.consumer] Error while consuming document SCN_0001.pdf: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ocrmypdf.io.yhk3zbv0/origin.pdf' [ERROR] [paperless.consumer] Error while consuming document SCN_0001.pdf: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ocrmypdf.io.yhk3zbv0/origin.pdf'
Traceback (most recent call last): Traceback (most recent call last):
File "/app/paperless/src/paperless_tesseract/parsers.py", line 261, in parse File "/app/paperless/src/paperless_tesseract/parsers.py", line 261, in parse
@ -266,11 +267,12 @@ check for documents, try adjusting the :ref:`inotify configuration <configuratio
try adjusting the :ref:`polling configuration <configuration-polling>`. try adjusting the :ref:`polling configuration <configuration-polling>`.
Consumer fails waiting for file to remain unmodified. Consumer fails waiting for file to remain unmodified.
############################ #####################################################
You might find messages like these in your log files: You might find messages like these in your log files:
.. code:: .. code::
[ERROR] [paperless.management.consumer] Timeout while waiting on file /usr/src/paperless/src/../consume/SCN_0001.pdf to remain unmodified. [ERROR] [paperless.management.consumer] Timeout while waiting on file /usr/src/paperless/src/../consume/SCN_0001.pdf to remain unmodified.
This indicates paperless timed out while waiting for the file to be completely written to the consume folder. This indicates paperless timed out while waiting for the file to be completely written to the consume folder.
@ -282,11 +284,12 @@ Adjusting :ref:`polling configuration <configuration-polling>` values should res
back in, for the initial failing file to be consumed. back in, for the initial failing file to be consumed.
Consumer fails reporting "OS reports file as busy still". Consumer fails reporting "OS reports file as busy still".
############################ #########################################################
You might find messages like these in your log files: You might find messages like these in your log files:
.. code:: .. code::
[WARNING] [paperless.management.consumer] Not consuming file /usr/src/paperless/src/../consume/SCN_0001.pdf: OS reports file as busy still [WARNING] [paperless.management.consumer] Not consuming file /usr/src/paperless/src/../consume/SCN_0001.pdf: OS reports file as busy still
This indicates paperless was unable to open the file, as the OS reported the file as still being in use. To prevent a This indicates paperless was unable to open the file, as the OS reported the file as still being in use. To prevent a