svn 0.3.33 模块:Windows 错误:[错误 2]:系统找不到指定的文件 [英] svn 0.3.33 module : Windows Error: [Error 2] : The system cannot find the file specified

查看:51
本文介绍了svn 0.3.33 模块:Windows 错误:[错误 2]:系统找不到指定的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将一个文件夹从 SVN 检出到我的桌面.实际上,我需要提取本地工作副本中特定文件的 SVN 修订号、URL 和状态等信息.这是我用来提取这些信息的代码行.文件 = svn.local.LocalClient(filePath[i][j])fileInfo = file.info()

I have checked out a folder from SVN to my desktop. Actually I need to extract the information like SVN revision no, URL and status for the specific file in the local working copy. Here is the line of code which I am using to extract those info. file = svn.local.LocalClient(filePath[i][j]) fileInfo = file.info()

这在我的桌面上运行良好.但是当我尝试在我的笔记本电脑上做同样的事情时,它会引发以下错误回溯(最近一次调用最后一次):文件",第 1 行,在文件C:\Python27\lib\site-packages\svn-0.3.22-py2.7.egg\svn\common.py",第134行,导出self.run_command('export', [self.url_or_path, path])文件C:\Python27\lib\site-packages\svn-0.3.22-py2.7.egg\svn\common.py",第 29 行,在 run_commandstderr=subprocess.PIPE)文件C:\Python27\lib\subprocess.py",第 711 行,在 __init错误读取,错误写入)文件C:\Python27\lib\subprocess.py",第 948 行,在 _execute_child 中启动信息)WindowsError: [错误 2] 系统找不到指定的文件

This works perfectly fine in my desktop. But the same thing when I tried to do it in my laptop it throws the following error Traceback (most recent call last): File "", line 1, in File "C:\Python27\lib\site-packages\svn-0.3.22-py2.7.egg\svn\common.py", line 134, in export self.run_command('export', [self.url_or_path, path]) File "C:\Python27\lib\site-packages\svn-0.3.22-py2.7.egg\svn\common.py", line 29, in run_command stderr=subprocess.PIPE) File "C:\Python27\lib\subprocess.py", line 711, in __init errread, errwrite) File "C:\Python27\lib\subprocess.py", line 948, in _execute_child startupinfo) WindowsError: [Error 2] The system cannot find the file specified

任何人都可以帮助我有什么问题吗?我已经安装了我在桌面上安装的所有软件包.但不知道具体是什么问题.

Can anyone pls help me what is wrong? I have installed all the packages which I installed in my desktop. But don't know what is the problem exactly.

谢谢

推荐答案

我得到了解决方案.实际上问题出在 subversion 命令行客户端版本上.客户端版本需要高于 TortoiseSVN 服务器版本,而我的版本较低,导致了这个问题.现在它工作正常:)

I got the solution for this. Actually the problem was with subversion command line client version. The client version need to be higher than the TortoiseSVN server version, whereas mine was a lower version which created this problem. Now it works fine :)

这篇关于svn 0.3.33 模块:Windows 错误:[错误 2]:系统找不到指定的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆