Re: RuntimeError: maximum recursion depth exceeded

will soula <[email protected]> Wed, 19 May 2010 15:53:39 -0500
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <93B3B6122B906D44BC7E8B8CEFB0DBBB2E4222CFA6@SGP-EXCHANGE.pointserve.com>
Thanks Michael for all the help.

> I hope you realize that you cannot run only pass 11 in the test command
> used by shrink_test_case.py.  If you run only pass 11 without re-running
> the previous passes, then pass 11 will use the data collected from old
> versions of the repository and will always fail in exactly the same way.

I did not realize this.  I ran shrink_test_case.py against the entire process and it failed with this message:

Traceback (most recent call last):
  File "/data/cvs2svn-2.3.0/contrib/shrink_test_case.py", line 746, in ?
    main()
  File "/data/cvs2svn-2.3.0/contrib/shrink_test_case.py", line 735, in main
    shrink_repository(test_command, cvsrepo)
  File "/data/cvs2svn-2.3.0/contrib/shrink_test_case.py", line 658, in shrink_repository
    branch_tree = get_branch_tree(path)
  File "/data/cvs2svn-2.3.0/contrib/shrink_test_case.py", line 554, in get_branch_tree
    cvs2svn_rcsparse.parse(open(path, 'rb'), branch_collector)
  File "/data/cvs2svn-2.3.0/contrib/__init__.py", line 26, in parse

  File "/root/cvs2svn-2.3.0/cvs2svn_rcsparse/common.py", line 304, in parse
  File "/root/cvs2svn-2.3.0/cvs2svn_rcsparse/common.py", line 185, in parse_rcs_admin
  File "/root/cvs2svn-2.3.0/cvs2svn_rcsparse/texttools.py", line 310, in get
  File "/root/cvs2svn-2.3.0/cvs2svn_rcsparse/texttools.py", line 299, in _parse_more
  File "/root/cvs2svn-2.3.0/cvs2svn_rcsparse/texttools.py", line 168, in _parse_chunk
cvs2svn_rcsparse.common.RCSIllegalCharacter

So it looks like there is an illegal character that could be causing my problems.  How would I figure out what file this is?  The repository left after shrink_test_case.py was run is the same size as the original repository.  The stdout of shrink_test_case is 108M and it ran for over 24 hours, before it got the error.

Thanks,
Will


________________________________

will soula wrote:
> I have successfully run the shrink_test_case.py script and apparently
> the folder name is the cause of the error.  shrink_test_case went
> through and deleted everything from the repo.  I now have a folder
> called "ServiceLogicWFM-backup" and there is nothing inside the
> folder.  I ran pass 11 against that folder after shrink_test_case had
> deleted everything in it and I still get the same error.  I have run
> the command ls against the folder to verify nothing was in there and
> then copied to a windows computer and verified there is nothing in
> it.  I have attached my options file in case that has something to do
> with it.

It is highly unlikely that you get this error when running cvs2svn
against an empty repository.  Running cvs2svn against an empty
repository results in an error message like this in pass1:

> ERROR: No RCS files found under 'cvsrepos/ServiceLogicWFM-backup'!
> Are you absolutely certain you are pointing cvs2svn
> at a CVS repository?
>
> Exited due to fatal error(s).

I hope you realize that you cannot run only pass 11 in the test command
used by shrink_test_case.py.  If you run only pass 11 without re-running
the previous passes, then pass 11 will use the data collected from old
versions of the repository and will always fail in exactly the same way.

Michael

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2609285

To unsubscribe from this discussion, e-mail: [[email protected]].

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2610995

To unsubscribe from this discussion, e-mail: [[email protected]].