Known problem with subversion and windows 7

Hi,

in the process of the migration of the server have come the moment when my boss needed to checkout a copy of the repository. i have checked several times the subversion installation and i made like 3 checkouts before even start. my big mistake have do not made a complete checkout of the repository in a windows machine (and more specifically, a windows 7 machine), this have resulted in a very large session of debugging, so to avoid you hours of work, i’m here to give you the solution to the most normal problems.

1) Error: The file or directory is corrupted and unreadable.

as the subversion FAQ says, this could be for 2 reason, a antivirus program or the windows indexing service. this basically happen why the antivirus or the windows indexing service move the downloaded file, so subversion can’t find it. in the case of my boss, the only solution with the antivirus (kapersky) was to disable it. in case of the windows indexing service, is not enough to disable it completely, you need to follow this steps under the folder where you are making the checkout.

* Click the start menu button, then click in the text box to begin a search
* Type in “windows index”
* Click on “Indexing Options” that should come up in the search
* When the Indexing Options box comes up, Click on the Modify button. This will pop up an Indexed Locations dialog, where you should see a list of some “locations”, with your hard drive(s) being in the list.
* Expand the desired hard drive, down to the root folder of the files you’re using SVN with, and make sure the box is unchecked. Also note that the hard drive will most likely be collapsed, and will have its box unchecked, even though once you expand it, you may find checked boxes.

2) Error: The system cannot find the file specified.

this is usually why you have 2 files with the same name with the only difference is some letter in uppercase/lowercase. the problem is that windows have a case-insensitive file system, so for windows, those files are 1 and for subversion no. the only solution is to rename one of the files. for this, if you already have a checkout made in a linux box, you can delete and make a commit. if not, with tortoise SVN you can use the repo broswer to erase directly. after that, is probably you need to delete the folder and make a update again (and maybe a cleanup in the middle)

3) Error: REPORT of ‘/svn/!svn/vcc/default’: Could not read chunk size: connection was closed by the server

i don’t know why this happen, just trying a update have continue the checkout

4) Server sent unexpected return value (413 Request Entity Too Large) in response

the first error that need to be fixed on the server, only happened on the windows 7, dunno why. basically is a apache limit at the upload of XML info, to fix that, edit your httpd.conf (usually located on /etc/httpd/conf/httpd.conf) and add this line:

LimitXMLRequestBody 0

and of course restart httpd/apache

i hope this will help you in some way :)

Regards,

Shadow.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Related Post

One Response to Known problem with subversion and windows 7

  1. thanks a lot, fourth item works perfctly

Leave a Response