-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Missing sub-directory in logged file name #157
Comments
You're right there is an issue here. As the mail source is a Maildir, we should expect the output to be real, fully-qualified path, and must indeed be allowed to be copy-pasted without effort. The root cause should be somewhere around these lines: mail-deduplicate/mail_deduplicate/mailbox.py Lines 138 to 146 in f423b41
If you could come up with a fix, feel free to propose a PR! :) |
I'm not sure about that. I believe mail-deduplicate/mail_deduplicate/mail.py Lines 93 to 94 in f423b41
is where it's at. |
Indeed, leggewie@62e3b1d results in a string that can be copied&pasted straight off the terminal. Obviously, it's not the right fix. Questions:
|
Preliminary checks
As you can see in #155 errors in files are being logged with the filename being logged as
/home/user/Maildir/.Erledigt:1406922416.M923538P22149.giga,W=2249,S=2199
for example. That looks like the filepath, but it isn't quite it. First the path to the directory ends in : and not / as well as missing /cur/. Furthermore, the filename in this case lacks a few more characters:2,S
. The correct and complete filenpath would be/home/user/Maildir/.Erledigt/cur/1406922416.M923538P22149.giga,W=2249,S=2199:2,S
. This thwarts any attempts at copy and pasting the filepath to inspect the file directly.Am I correct to assume this is not intended behaviour?
The text was updated successfully, but these errors were encountered: