Posted by j_ten_man on August 8, 2009 at 4:35pm
Jump to:
| Project: | Version Control API -- Subversion backend |
| Version: | 6.x-1.0-rc1 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I am not sure if I have everything setup correctly for this module but I think I do. Once I have a repository setup, I try to fetch the logs but all that happens is I get is
The repository at http://svn.example.com/svn/drupal6 could not be accessed. Error message from 'svn info':
The filename, directory name, or volume label syntax is incorrect.I stepped through the code and found the command that was being executed was:
"svn" info --non-interactive --xml --username "myuser" --password "mypass" --config-dir "C:\wamp\www\sandbox_drupal6\sites\master\modules\contrib\versioncontrol_svn\svnlib/configdir" "http://svn.example.com/svn/drupal6@HEAD" 2> c:/wamp/tmp/drupal_versioncontrol_svn.stderr.455068902.txtI copied this command into my command prompt and ran it and it worked just fine. The svn library is in the PATH variable so it should be able to find that without a problem. Anyone know what I am doing wrong or what else I need to do? Any help would be appreciated.
Comments
#1
If it executes properly when you do it yourself, it might be something related to the WAMP installation. The SVN binary itself does obviously run correctly, or otherwise it wouldn't supply the error message.
Is the Drupal in your WAMP blocked when trying to fetch stuff over HTTP? Does the command still work if you (temporarily) rename your user's SVN configuration directory (in Linux: $HOME/.subversion, don't know where it is in Windows) to something else in order to remove any potential differences in Drupal vs. user config? Other than those, I can't think of any reasons why one would work while the other would not.
#2
Not quite clear what you are referring to.
I don't know what this means. Also, I do not know what the svn configuration directory is so not sure where it would be or where to even start looking for it. Could you please clarify for me? I don't know a ton about Linux and SVN.
#3
What I wanted to say is that Drupal might not be able to "phone out" (fetch other data, as client) over HTTP, even if it can deliver its site as a server. I had an issue like that sometime, there might be a firewall setting or whatever that blocks outgoing HTTP connections for WAMP, or stuff. I don't know.
Also, I don't know a ton about Windows and SVN. On Linux, SVN automatically creates a configuration directory in the user's home directory with where things like authentication settings (also, passwords) are stored. I assume it would do the same on Windows, just with a different directory name. These are global settings, and can influence the behavior of SVN commands - although, this shouldn't be an issue probably because the SVN backend provides its own separate configuration directory using the --config-dir option.
#4
Shite.
Did this:
"C:\wamp\www\sandbox_drupal6\sites\master\modules\contrib\versioncontrol_svn\svnlib/configdir"REALLY work when you copied it in manually? Because look at the end of that dir structure: seems I got sloppy and svnlib is using a straight '/' where it should be using the DIRECTORY_SEPARATOR constant so that it's cross-OS compatible.
Of course, that also looks like a slightly older version of svnlib...
#5
Windows can cope with both separators. It just looks more consistent when DIRECTORY_SEPARATOR is used, and cmd.exe won't do tab-completion as nicely, but apart from those minor issues, standard slashes work just as well.
#6
I'm receiving a similar error, bt with https so going to make a separate issue though it maybe one and the same.