savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] mail-sending error from git server updatin


From: Paul Smith
Subject: Re: [Savannah-hackers-public] mail-sending error from git server updating emacs "concurrency" branch
Date: Thu, 05 Nov 2015 15:19:51 -0500

On Thu, 2015-11-05 at 22:12 +0200, Eli Zaretskii wrote:
> > Date: Thu, 5 Nov 2015 12:54:30 -0700
> > From: Bob Proulx <address@hidden>
> > Cc: address@hidden
> > 
> > > > remote:   File "/srv/git/emacs.git/hooks/git_multimail.py", line 1472, 
> > > > in send
> > > > remote:     p.terminate()
> > > > remote:   File "/usr/lib/python2.6/subprocess.py", line 1269, in 
> > > > terminate
> > > > remote:     self.send_signal(signal.SIGTERM)
> > > > remote:   File "/usr/lib/python2.6/subprocess.py", line 1264, in 
> > > > send_signal
> > > > remote:     os.kill(self.pid, sig)
> > > > remote: OSError: [Errno 1] Operation not permitted
> > 
> > "Operation not permitted" seems both clear and confusing at the same
> > time.  I mean, what operation?  And why wasn't it permitted?
> 
> Looks like it tried to kill itself, and got EPERM.  That's what the
> backtrace says: the frame at top of stack is the call to os.kill.  No?

Not itself: the pid related to object "p" at git_multimail.py:1472.

The "self" in Python is like "this" in C++, so self.pid represents the
PID of object "p", which seems to be a subprocess.Popen() object, or
subclass of that, and we're calling its terminate() method:

https://docs.python.org/2/library/subprocess.html#popen-objects


On Thu, 2015-11-05 at 13:14 -0700, Bob Proulx wrote:
>   vcs:/srv/git/emacs.git# ll -L /usr/lib/sendmail 
>   -rwsr-xr-x 1 root root 758788 Jul 13  2014 /usr/lib/sendmail

Yeah, that'll do it!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]