Re: [Mutt] #3785: adding an attachment failed with success

2015-10-13 Thread Mutt
#3785: adding an attachment failed with success -+-- Reporter: vinc17 | Owner: mutt-dev Type: defect | Status: new Priority: major | Milestone: Component: mutt|Version: 1.5.24 Resolution: | Keywords:

Fwd: mutt returns a 256 error code

2015-10-13 Thread mathieu . cier
Hello all, I am currently using mutt 1.5.18 within a python script for reporting some activities about an embedded linux system. I do not get any problem when launching the mutt command within a terminal but I get troubles when launching from my python script. The command I use is pretty sim

Re: Fwd: mutt returns a 256 error code

2015-10-13 Thread David Champion
* On 13 Oct 2015, mathieu.c...@free.fr wrote: > Hello all, > > I am currently using mutt 1.5.18 within a python script for reporting some > activities about an embedded linux system. > I do not get any problem when launching the mutt command within a terminal > but I get troubles when launchi

Re: Fwd: mutt returns a 256 error code

2015-10-13 Thread David Champion
* On 13 Oct 2015, David Champion wrote: > Hi Mathieu - > > The return from python's os.system is not the same as the exit status. > You need os.WEXITSTATUS(os.system(command)), which should be 0, or > success. I should add that you really should check other values as well -- for example, if mutt

Re: Fwd: mutt returns a 256 error code

2015-10-13 Thread Moritz Barsnick
On Tue, Oct 13, 2015 at 20:28:08 +0200, mathieu.c...@free.fr wrote: > I am currently using mutt 1.5.18 Why? mutt's release cycles are really slow, and this version is old enough to go to school, is has been seven years since its release. (Okay, I won't argue against 1.4.x here now... "Release ear

Re: Fwd: mutt returns a 256 error code

2015-10-13 Thread Cameron Simpson
On 13Oct2015 20:28, mathieu.c...@free.fr wrote: I am currently using mutt 1.5.18 within a python script for reporting some activities about an embedded linux system. I do not get any problem when launching the mutt command within a terminal but I get troubles when launching from my python scri