Subversion Help

Subscribe to Subversion Help 5 posts, 2 voices

 
Avatar ShawnHunt 3 posts

I am trying to crawl and index a project in my SVN repository and I get “Checkout failed: The system cannot find the file specified”. I can successfully connect to the project but I can’t index it.

Thank you!

Shawn

 
Avatar ShawnHunt 3 posts

A little more information…

On the computer where I have Koders Pro installed, I am able to successfully do:

svn list—verbose http://192.168.0.6/kdrepos/thesis

It lists the two files I have in the project. The path in the Koders project settings is correct.

 
Avatar BenMcDonald 44 posts

Hey Shawn,

First thing to check is that Kodebot can see your installation of the subversion client (locally). This can be seen from Kodebot, by going to the Plugins page and clicking on the “Subversion” node, and making sure it says “Status: OK – svn, version xxxxx”. If it cannot be found you will need to make sure your PATH has the directory that svn.exe is located. (If you can already run it from the command line, then it sounds like you have everything setup correctly for Kodebot to leverage your svn.exe)

Next I would set up this repository and project as follows:

Add a new repository with the connection template of

http://192.168.0.6/kdrepos/

Note: the Remote_Path variable will be automatically appended for you

Add a project and try to browse to it (using the ”...” button). Click on the test link to make sure you can connect to it correctly.

If all that works then you will be able to crawl the code and begin indexing.

 
Avatar ShawnHunt 3 posts

Hi Ben,

Thank you for the quick reply! I tried your suggestion but I still can’t get it to work.

I hadn’t tried clicking on the ellipses to browse the repository before, I just entered the path manually. When I do click on the ellipses, I get a more detailed errors now. The errors are:

svn: PROPFIND request failed on ’/kdrepos’

svn: PROPFIND of ’/kdrepos’: 301 Moved Permanently (http://192.168.0.6)

I did some looking around and saw that this error could possibly be related to permissions. My Subversion server is a Linux box running version 1.4. I verified that the www group owns the svn folder.

Back on the box with the Koders Pro installed, the path is correctly setup. I can execute svn from a command prompt. The command:

svn list—verbose http://192.168.0.6/kdrepos/thesis

Returns the two files that I have in the project. If I run:

svn list—verbose http://192.168.0.6/kdrepos/

I get the same two errors that Kodebot is returning.

Is it possible that Kodebot is truncating the project name?

I am not a Subversion expert by any means, but I think my setup is correct.

Thank you.

Shawn

 
Avatar BenMcDonald 44 posts

The Repository connection template should point to your repository root, which after looking at your latest post, I realize should be http://192.168.0.6/kdrepos/thesis.

So put “http://192.168.0.6/kdrepos/thesis” in the repository connection template and the browse should work fine.

Now the next thing I am concerned about is that you are actually wanting to index two files in the root of your repository.

Typically there is a little more structure for a project, and each project would have it’s own directory in your subversion repository (here the thesis is your repository).

You can get this files to show up in one of two ways:

  1. download them locally and use our File System Adapter
  2. move them to a directory on your subversion server

We are actually planning on changing this in an upcoming release and there would be a third way for you to index these files without making either change, but until then this is all that we offer.

Hope this helps, and let us know.