I just got this traceback trying to do a rather large checkin:
Transmitting file data ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................svn: Commit failed (details follow): svn: 'pre-commit' hook failed with error output: file /python/branches/p3yk-noslice/Lib/test/string_tests.py is not whitespace-normalized file /python/branches/p3yk-noslice/Doc/tools/buildindex.py is not whitespace-normalized file /python/branches/p3yk-noslice/Lib/test/test_array.py is not whitespace-normalized Traceback (most recent call last): File "/data/repos/projects/hooks/checkwhitespace.py", line 50, in ? File "/var/lib/python-support/python2.4/svn/core.py", line 217, in run_app File "/data/repos/projects/hooks/checkwhitespace.py", line 32, in main File "/var/lib/python-support/python2.4/libsvn/fs.py", line 381, in svn_fs_node_prop libsvn._core.SubversionException: ("Can't open file '/data/repos/projects/db/transactions/56255-1.txn/props': Too many open files", 24)
I'm not complaining about the whitespace-normalization issues, but rather the open files issue ;-P It sounds like a buglet somewhere, although it may be in libsvn.
-- Thomas Wouters thomas@python.org
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
On 7/11/07, Thomas Wouters thomas@python.org wrote: > >
I just got this traceback trying to do a rather large checkin:
Transmitting file data ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................svn: Commit failed (details follow): svn: 'pre-commit' hook failed with error output: file /python/branches/p3yk-noslice/Lib/test/string_tests.py is not whitespace-normalized file /python/branches/p3yk-noslice/Doc/tools/buildindex.py is not whitespace-normalized file /python/branches/p3yk-noslice/Lib/test/test_array.py is not whitespace-normalized Traceback (most recent call last): File "/data/repos/projects/hooks/checkwhitespace.py", line 50, in ? File "/var/lib/python-support/python2.4/svn/core.py", line 217, in run_app File "/data/repos/projects/hooks/checkwhitespace.py", line 32, in main File "/var/lib/python-support/python2.4/libsvn/fs.py", line 381, in svn_fs_node_prop libsvn._core.SubversionException: ("Can't open file '/data/repos/projects/db/transactions/56255- 1.txn/props': Too many open files", 24)
I'm not complaining about the whitespace-normalization issues, but rather the open files issue ;-P It sounds like a buglet somewhere, although it may be in libsvn.
Oh, and for the record, it also fails when there are no whitespace issues to fix. I can't check in my (admittedly somewhat big) svnmerge now. It touches about 1130 files.
-- Thomas Wouters thomas@python.org
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
On 7/11/07, Thomas Wouters thomas@python.org wrote:
libsvn._core.SubversionException: ("Can't open file '/data/repos/projects/db/transactions/56255- 1.txn/props': Too many open files", 24)
Fixed. The problem was that checkwhitespace.py wasn't closing the SVN streams it was reading. Added the 'svn_stream_close' call and my checkin got through. Should be safe to do massive checkins from now on ;-)
-- Thomas Wouters thomas@python.org
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
Fixed. The problem was that checkwhitespace.py wasn't closing the SVN streams it was reading. Added the 'svn_stream_close' call and my checkin got through. Should be safe to do massive checkins from now on ;-)
Thanks for fixing it. Those of you having access to dinsdale, feel free to temporarily disable this particular hook in the future if you find it is in your way; don't forgot to report the problem at least, and try enabling it after the questionable checkin has completed.
Regards, Martin