[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit error

From: dhanushka ranasinghe <parakrama1282_at_gmail.com>
Date: Fri, 22 Jun 2012 13:21:17 +0530

Hi..

Seems like , when committing large file causing the problem, i able to
commit smaller files.. without any error.

Thank You
Dhanushka

On 22 June 2012 13:09, Cooke, Mark <mark.cooke_at_siemens.com> wrote:

> > -----Original Message-----
> > From: dhanushka ranasinghe [mailto:parakrama1282_at_gmail.com]
> > Sent: 22 June 2012 08:35
> > To: users_at_subversion.apache.org
> > Subject: svn commit error
> >
> > Hi guys,
> >
> > some times when we committing to svn we get this error, any
> > reason for that,not all the time
> >
> >
> > Warning: post-commit hook failed (exit code 1) with output:
> > /usr/lib/subversion-back/hook-scripts/mailer/mailer.py:33:
> > DeprecationWarning: The popen2 module is deprecated. Use the
> > subprocess module.
> > import popen2
> > Traceback (most recent call last):
> > File
> > "/usr/lib/subversion-back/hook-scripts/mailer/mailer.py",
> > line 1307, in <module>
> > sys.argv[3:3+expected_args])
> > File "/usr/lib/pymodules/python2.6/svn/core.py", line 307,
> > in run_app
> > return func(application_pool, *args, **kw)
> > File
> > "/usr/lib/subversion-back/hook-scripts/mailer/mailer.py",
> > line 77, in main
> > messenger.generate()
> > File
> > "/usr/lib/subversion-back/hook-scripts/mailer/mailer.py",
> > line 367, in generate
> > group, params, paths, subpool)
> > File
> > "/usr/lib/subversion-back/hook-scripts/mailer/mailer.py",
> > line 651, in generate_content
> > renderer.render(data)
> > File
> > "/usr/lib/subversion-back/hook-scripts/mailer/mailer.py",
> > line 922, in render
> > self._render_diffs(data.diffs, '')
> > File
> > "/usr/lib/subversion-back/hook-scripts/mailer/mailer.py",
> > line 996, in _render_diffs
> > w(line.raw)
> > IOError: [Errno 32] Broken pipe
> >
> >
> > Thank You
> > Dhanushka
> >
> Strictly speaking this is not a subversion error, the python traceback
> above shows that the `mailer.py` hook script is failing (probably in
> post-commit which means that your commit succeeded, only the post-commit
> operation failed). I don't use this script but I guess from the
> `deprecation` warning at the top that there might be a newer version
> available than the one you are using, perhaps you could investigate that
> first?
>
> ~ mark c
>
Received on 2012-06-22 09:51:53 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.