Sending annotated papers to students with msmtp (Bug #501)


Added by Heiko Hornung over 7 years ago. Updated over 7 years ago.


Status:Closed Start date:10/17/2017
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-

Description

When trying to send the annotated papers to students with msmtp, I get no error in the UI, only the message "0 message(s) has been sent." Sending a plain text message with msmtp on the command line works. I'm on Netrunner Linux, which is based on Debian Stretch. Sending the reports on another machine (Ubuntu 17.04), using the same project files, works. The only suspicious message in the log file is "Wide character in subroutine entry at /usr/share/perl5/Email/MIME/Encodings.pm line 55." mailing.log only says "Starting mailing...". Debug log attached


AMC-DEBUG-8E8wmTXy.log (88.9 kB) Heiko Hornung, 10/17/2017 01:06 am


History

Updated by Alexis Bienvenüe over 7 years ago

I'm afraid I can't reproduce the bug. I tried to install netrunner 17.06 (french), with auto-multiple-choice and msmtp packages. I configured msmtp and tried to send some emails with AMC — all went right.
Can you see anything special in your situation, in your settings, that could help me to reproduce the problem?

  • Status changed from New to Feedback

Updated by Heiko Hornung over 7 years ago

Alexis Bienvenüe wrote:

Can you see anything special in your situation, in your settings, that could help me to reproduce the problem?

Unfortunately not. I've tried to compare my netrunner installation with the ubuntu installation of a friend, and found nothing that stands out. I was already expecting this, and opened the bug more for others that might be in the same situation. Thanks for trying. As a workaround, I wrote a small script that sends the feedback to my students.

Updated by Alexis Bienvenüe over 7 years ago

Which netrunner version are you using? In what language did you install it?

Updated by Heiko Hornung over 7 years ago

I found the problem: due to a Unicode issue with another perl script I had this in my .zshenv:

export PERL_UNICODE=SDA

When not setting this environment variable everything works fine, all emails are sent.

To answer your question, I'm running Netrunner 17.01 with stretch-backports, installed in English, and with this locale settings:

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=pt_BR.UTF-8
LC_TIME=pt_BR.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=pt_BR.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=pt_BR.UTF-8
LC_NAME=pt_BR.UTF-8
LC_ADDRESS=pt_BR.UTF-8
LC_TELEPHONE=pt_BR.UTF-8
LC_MEASUREMENT=pt_BR.UTF-8
LC_IDENTIFICATION=pt_BR.UTF-8
LC_ALL=

Updated by Alexis Bienvenüe over 7 years ago

export PERL_UNICODE=SDA

Thanks for sharing: I would not have found the problem!

When not setting this environment variable everything works fine, all emails are sent.

Good!

  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF