简体   繁体   English

使用ssindex / svnindex失败:“无法解析目录”

[英]Using ssindex / svnindex fails : “Unable to resolve directory”

I try to index my symbol files with a SVN repository, with the command 我尝试使用以下命令使用SVN存储库索引符号文件

svnindex /debug /source=c:\\crash /symbols=c:\\crash\\release svnindex / debug / source = c:\\ crash / symbols = c:\\ crash \\ release

Whatever I try, I always get : 无论我尝试什么,我总会得到:

ssindex.cmd [STATUS] : Running... this will take some time...
ssindex.cmd [WARN  ] SVN: Unable to resolve directory: Bad file descriptor
ssindex.cmd [INFO  ] : ... indexing c:\Crash\Release\CrashTest.pdb
ssindex.cmd [INFO  ] : ... zero source files found ...
ssindex.cmd [INFO  ] : ... indexing c:\Crash\Release\vc100.pdb
ssindex.cmd [INFO  ] : ... zero source files found ...

c:\\crash contains a simple MFC demo program that is in a SVN repository on my local drive (d:\\Repo_Crash). c:\\ crash包含一个简单的MFC演示程序,该程序位于我的本地驱动器(d:\\ Repo_Crash)的SVN存储库中。 I'm installed ActivePerl-5.20.2.2002-MSWin32-x86-64int-299195 and the standalone debug kit of WDK8.1. 我安装了ActivePerl-5.20.2.2002-MSWin32-x86-64int-299195和WDK8.1的独立调试工具包。 I set a path to C:\\Program Files (x86)\\Windows Kits\\8.1\\Debuggers\\x86\\srcsrv. 我将路径设置为C:\\ Program Files(x86)\\ Windows Kits \\ 8.1 \\ Debuggers \\ x86 \\ srcsrv。 SVN version is 1.9.0 (r1692801) SVN版本为1.9.0(r1692801)

When looking at the file svn.pm, I see that the next part (line 126) always fails: 当查看文件svn.pm时,我看到下一部分(第126行)总是失败:

my $hProcess;
if ( ! open($hProcess, "dir $SourceRoot 2>&1 |") ) {
::warn_message("Unable to resolve directory: $!");
return();
}

So it gives me that warning message and then returns. 因此,它给了我该警告消息,然后返回。

Any idea what is wrong here? 知道这里有什么问题吗?

ps: I have been googling like hell, but found nothing relevant ps:我一直在搜寻地狱,但没有发现任何相关内容

This is just for your information like me. 这只是给您像我一样的信息。

Look at the PATH variable to see where perl is running. 查看PATH变量以查看perl在哪里运行。

Only ActiveState's Perl runs "dir $SourceRoot 2>&1 |" 仅ActiveState的Perl运行"dir $SourceRoot 2>&1 |"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 VisualSVN服务器:从浏览器访问时,禁止获取/svnindex.xsl - VisualSVN Server : get /svnindex.xsl forbidden while accessing from browser git svn fetch - 无法找到.git目录 - git svn fetch - Unable to find .git directory 删除目录后,SVN提交失败 - SVN commit fails after deleting directory 重复/重复备份失败,原因是没有这样的文件或目录 - Duply / Duplicity backup fails cause of no such file or directory git-svn dcommit在带有变音符号的目录上失败 - git-svn dcommit fails on directory with umlauts 如何使用SVNindex.cmd获取Srcsrv来索引外部文件? - How do I get Srcsrv with SVNindex.cmd to index extern files? 无法“使用“他们的”解决冲突” - Can't “Resolve conflict using 'theirs'” 无法在Windows服务器上物理上找到svn目录 - unable to locate svn directory physically on windows server 如何获取SrcSrv附带的svnindex.cmd脚本来索引源文件中带有URI转义空格的索引? - How do I get the svnindex.cmd script included with SrcSrv to index source files with URI-escaped spaces in them? 无法保存,请在尝试保存进一步更改之前解决项目文件中的合并冲突” - Unable to save,please resolve the merge conflicts in the project file before attempting to save further changes"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM