-
Notifications
You must be signed in to change notification settings - Fork 113
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
Email import is broken #1140
Comments
Hi @wallace11 , I will test again the email import - thanks for reporting. I can't remember changing any code in this area, but who knows what causes this. Is this happening to all your emails? Can you maybe post a bit more from the logs around the base64 error? Thanks! |
Yeah, I find it so strange because it just suddenly started acting weird and I didn't see any new Docspell release. That's why I thought maybe it was a dependency update that I didn't notice. Here's an example of a full import log:
|
Don't worry about time, I'll see what I can find. Just to make sure I understand: the mails are now imported completely (with the body) and not just the attachments? |
Oh strange, it then could not get processed , maybe not even read. Do you maybe have a non-sensible example file to share? |
So I went to a government website and downloaded the first PDF that I could find and sent it to myself via email. The PDF is from the following URL: https://m.knesset.gov.il/Activity/Legislation/Documents/yesod6.pdf (please rename the file to "חוק-יסוד: הממשלה.pdf" before you send it to yourself, to make it extra "problematic"). This is the log of the import:
Thanks! |
I'm seeing the same error with 0.28.0. My workflow is to scan from a Brother ADS-2700W to E-Mail and let it import by Docspell. This used to work quite well, but now I also got this It happens with all scans, tried several documents, but all fail. |
Oh noes. I haven't had time to look at it sadly :/. You are also using the scan/import mailbox task? Or is it send "directly" (like using an internal smtp) to docspell? |
It's the "Scan Mailbox" task. |
Ok, I can reproduce it with the pdf from knesset.gov.il (tried some other test files where I couldn't reproduce it). I'll need to investigate, as I currently have no clue what's going on. |
Hm… I think I fixed it. It only seems not possible that it worked in 0.27.0 - because this version also contains the bug. If you could test the nightly that is available shortly that would be great! |
@eikek Thanks for addressing this issue. |
@wallace11 thanks for trying! no worries, I'll make a release soon and we see if it is fixed or if I have another take at it. |
@eikek |
Hey there.
I'm using the email import feature with "Only import e-mail attachments" and no additional file filtering.
Running this on emails with pdf attachments, and the result is an .eml file that's being imported.
This used to work fine, but for some reason sometime around last month (September) it started acting like this.
I'm using an all-Docker stack, so maybe an update to one of the containers screwed something up?
Also on some items I'm getting the following log error, and their status is "stuck":
Please let me know if there's any other information I need to provide.
Thanks.
The text was updated successfully, but these errors were encountered: