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.co...@siemens.com> wrote:

> > -----Original Message-----
> > From: dhanushka ranasinghe [mailto:parakrama1...@gmail.com]
> > Sent: 22 June 2012 08:35
> > To: users@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
>

Reply via email to