unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Error when comitting
@ 2013-06-30 16:46 Jan Djärv
  2013-06-30 18:50 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Djärv @ 2013-06-30 16:46 UTC (permalink / raw)
  To: emacs-devel developers

Hello.

I just got this, seems to be some problems sending mail in the post_commit hook.
The commit succeeded anyway.

[ 7058] 2013-06-30 18:38:26.961 INFO: Committing to: bzr+ssh://jhd@bzr.savannah.
gnu.org/emacs/trunk/
4.895  Selecting files for commit with filter [u'src/ChangeLog', u'src/nsfns.m']
[ 7058] 2013-06-30 18:38:26.983 INFO: modified src/ChangeLog
[ 7058] 2013-06-30 18:38:26.984 INFO: modified src/nsfns.m
6.711  Using fetch logic to copy between CHKInventoryRepository('file:///Users/j
hd/src/emacs/.bzr/repository/')(RepositoryFormat2a()) and RemoteRepository(bzr+s
sh://jhd@bzr.savannah.gnu.org/emacs/.bzr/)(RemoteRepositoryFormat(_network_name='Bazaar repository format 2a (needs bzr 1.16 or later)\n'))
6.712  fetching: <SearchResult search:(set(['jan.h.d@swipnet.se-20130630163826-ziacr9kyz0hmtkws']), ['monnier@iro.umontreal.ca-20130622200919-6uh9n4dufp71cn2v', 'eggert@cs.ucla.edu-20130630151033-szkltrahy82v54e5', 'handa@gnu.org-20130628145933-ug7d1g2yocrmckh1', 'handa@gnu.org-20130618145448-hsx73qhr2w40uwo5', 'handa@gnu.org-20130628150017-7n4ve9t0nee7jvch', ...], 1)>
[ 7058] 2013-06-30 18:38:33.072 INFO: Committed revision 113237.
11.006  Committed revid jan.h.d@swipnet.se-20130630163826-ziacr9kyz0hmtkws as revno 113237.
15.158  Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 920, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1131, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 695, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 3678, in run
    lossy=lossy)
  File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 218, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/workingtree_4.py", line 213, in commit
    result = WorkingTree.commit(self, message, revprops, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 218, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/mutabletree.py", line 211, in commit
    *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commit.py", line 290, in commit
    lossy=lossy)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 132, in run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commit.py", line 465, in _commit
    self._process_post_hooks(old_revno, new_revno)
  File "/Library/Python/2.6/site-packages/bzrlib/commit.py", line 619, in _process_post_hooks
    self._process_hooks("post_commit", old_revno, new_revno)
  File "/Library/Python/2.6/site-packages/bzrlib/commit.py", line 658, in _process_hooks
    self.rev_id)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/email/__init__.py", line 93, in branch_commit_hook
    local_branch=local).send_maybe()
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/email/emailer.py", line 274, in send_maybe
    self.send()
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/email/emailer.py", line 214, in send
    self._send_using_process()
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/email/emailer.py", line 237, in _send_using_process
    raise errors.BzrError("Failed to send email: exit status %s" % (rc,))
BzrError: Failed to send email: exit status 1

15.158  return code 3

	Jan D.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error when comitting
  2013-06-30 16:46 Error when comitting Jan Djärv
@ 2013-06-30 18:50 ` Glenn Morris
  2013-06-30 21:50   ` Jan Djärv
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2013-06-30 18:50 UTC (permalink / raw)
  To: Jan Djärv; +Cc: emacs-devel developers

Jan Djärv wrote:

> I just got this, seems to be some problems sending mail in the
> post_commit hook.

Firstly, I think one of the Savannah hackers mailing lists would be a
better place to discuss this. But we are here now, so let's continue.

> The commit succeeded anyway.

As did the email:
http://lists.gnu.org/archive/html/emacs-diffs/2013-06/msg00447.html

>     raise errors.BzrError("Failed to send email: exit status %s" % (rc,))
> BzrError: Failed to send email: exit status 1

Unless I totally misunderstand, this error happens on your local machine.
Do you have the bzr-email plugin installed there?
bzr plugins | grep email
will tell you.

If so, you should either remove or disable it, as I said in
http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00222.html

See also admin/notes/bzr.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error when comitting
  2013-06-30 18:50 ` Glenn Morris
@ 2013-06-30 21:50   ` Jan Djärv
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Djärv @ 2013-06-30 21:50 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel developers

Hello.

30 jun 2013 kl. 20:50 skrev Glenn Morris <rgm@gnu.org>:

> Jan Djärv wrote:
> 
>> I just got this, seems to be some problems sending mail in the
>> post_commit hook.
> 
> Firstly, I think one of the Savannah hackers mailing lists would be a
> better place to discuss this. But we are here now, so let's continue.

I thought that post commit hooks was project specific.

> 
>> The commit succeeded anyway.
> 
> As did the email:
> http://lists.gnu.org/archive/html/emacs-diffs/2013-06/msg00447.html
> 
>>    raise errors.BzrError("Failed to send email: exit status %s" % (rc,))
>> BzrError: Failed to send email: exit status 1
> 
> Unless I totally misunderstand, this error happens on your local machine.
> Do you have the bzr-email plugin installed there?
> bzr plugins | grep email
> will tell you.
> 
> If so, you should either remove or disable it, as I said in
> http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00222.html
> 
> See also admin/notes/bzr.

Ok, I missed that.  Now fixed.

	Jan D.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-30 21:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-30 16:46 Error when comitting Jan Djärv
2013-06-30 18:50 ` Glenn Morris
2013-06-30 21:50   ` Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).