ciur / papermerge

Open Source Document Management System for Digital Archives (Scanned Documents)
https://papermerge.com
Apache License 2.0
2.55k stars 267 forks source link

Email importing is not working, how to debug? #391

Closed mipmip closed 3 years ago

mipmip commented 3 years ago

Description Email importing is not working. Can I debug this at code level? I'd like to know if it's a connection problem of a authentication problem.

papermerge_worker_1  | ?: Failed to login to IMAP server 'xxxxxx.xxxxx.xxx'
papermerge_worker_1  |  HINT:
papermerge_worker_1  |         Please double check that IMPORT_MAIL_HOST,
papermerge_worker_1  |         IMPORT_MAIL_USER, IMPORT_MAIL_PASS settings
papermerge_worker_1  |         are correct.

I double checked configuration by copy and pasting all values in a regular mail client and this works.

Info:

ciur commented 3 years ago

Debugging session in three easy steps:

  1. Learn python
  2. Run application in development mode by following this step by step guide.
  3. Insert a breakpoint (starting with python 3.7 there is a built-in breakpoint keyword !)

Happy debugging! :laughing: :rofl: :partying_face:

You can use this resource to learn how to debug. I don't provide assistance for that.