草庐IT

ERROR_DIRECTORY

全部标签

python - 在 Windows 上安装 Fabric(Python 库)时出现 "error: Unable to find vcvarsall.bat"

这个问题在这里已经有了答案:error:Unabletofindvcvarsall.bat(42个答案)关闭8年前。我尝试安装Fabric在我的Windows764位机器上,我得到的只是这条糟糕的错误消息:building'Crypto.Random.OSRNG.winrandom'extensionwarning:GMPorMPIRlibrarynotfound;NotbuildingCrypto.PublicKey._fastmath.error:Unabletofindvcvarsall.bat这个类似问题的答案都没有错误:Unabletofindvcvarsall.bat为我工

java - jstack 结果为 "Windbg Error: WaitForEvent failed"

在Windows7上,我尝试通过执行命令从Java进程获取堆栈跟踪jstack.exe-Fxxx来自另一个Java进程,其中xxx是目标进程的PID。我遇到了错误Errorattachingtoprocess:WindbgError:WaitForEventfailed!知道为什么吗? 最佳答案 您可能需要以管理员身份运行该命令。如果您没有该过程的访问权限,您也会收到相同的错误消息。 关于java-jstack结果为"WindbgError:WaitForEventfailed",我们在

c# - Directory.EnumerateFiles 异常

我有一个非常罕见的行为。我正在使用Windows10x64和VisualStudio2013,当我在32位应用程序中运行此代码时Directory.EnumerateFiles(@"C:\Windows\System32\winevt").Count()我有一个System.IO.DirectoryNotFoundException类型的异常如果我打开一个非管理员cmd控制台并运行dirC:\Windows\System32\winevt结果是winevt文件夹中的文件夹列表。该文件夹存在并具有子文件夹。有什么想法吗?谢谢 最佳答案

c++ - 命名管道 : ReadFile after ConnectNamedPipe return ERROR_BROKEN_PIPE

我重新激活了我确定在几个月前使用过的代码。它让我发疯,但它不再是了。我在其他问题中找不到答案。在服务器端,我使用创建了一个管道#defineMAX_MESSAGE_LENGTH1024SECURITY_ATTRIBUTESsa;SECURITY_DESCRIPTORsd;InitializeSecurityDescriptor(&sd,SECURITY_DESCRIPTOR_REVISION);SetSecurityDescriptorDacl(&sd,TRUE,static_cast(0),FALSE);sa.nLength=sizeof(sa);sa.lpSecurityDescr

windows - Windows 上的 Git : could not create leading directories error

我已经在Windows上安装了MsysGit。从cmd.exe命令行调用的以下命令给出错误:C:\Users\joe>gitclone'git://github.com/MarcWeber/vim-addon-manager-known-repositories.git''C:/Users/joe/vim-addons/vim-addon-manager-known-repositories'fatal:couldnotcreateleadingdirectoriesof''C:/Users/joe/vim-addons/vim-addon-manager-known-reposito

c# - Windows - C#- Directory.Move

只要在同一逻辑驱动器上,是否保证Directory.Move只重命名而不复制/删除? 最佳答案 事实上,如果您尝试将目录移动到不同的卷,Directory.Move会失败。如果您想执行这样的移动,您必须自己进行复制/删除。我认为您可以安全地假设Directory.Move只有在不复制文件的情况下可以执行操作时才会成功。 关于c#-Windows-C#-Directory.Move,我们在StackOverflow上找到一个类似的问题: https://stac

windows - 批处理文件 : raise error 中的 MS-DOS FTP 命令

在MS-DOS(Windows2003R2Server)中,我有一个包含FTP命令的批处理文件,例如:-FTP.CMD-------cdd:\extracts\scriptsftp-i-s:ftp_getfile.ftpexit我希望批处理文件引发并返回失败的错误级别1而不是0,以便调用批处理文件可以处理它。错误可能是由于FTP服务器宕机造成的。现在,没有任何返回表明出现错误情况。请问有人可以指点一下吗?谢谢!:) 最佳答案 也许为时已晚,但这是可能的。我正在运行以下脚本来检查FTP脚本返回的文本中的错误。如果您知道FTP返回的错误

c++ - Qt Creator C1083 : Cannot open include file: 'cstddef' : No such file or directory

我尝试在Windows10上的QtCreator(Qt5.7.0)中构建程序,但我得到了D:\Qt\Qt5.7.0\5.7\msvc2015_64\include\QtCore\qglobal.h:45:error:C1083:Cannotopenincludefile:'cstddef':Nosuchfileordirectory错误信息。我发现这可能是由于缺少WindowsSDK引起的,但我安装了它,运行了vcvarsall.bat并且没有任何反应。我尝试使用“MinGW5.3.032位”编译器和“GNUgdb7.10.1forMinGW5.3.032位”调试器(使用“Micros

node.js - 如何修复 "gyp ERR! stack Error: Can' t 在 Windows 上找不到 Python 可执行文件 python?

我试图在我的Windows计算机上全局安装chimp但未能成功。这是我看到的错误。有人可以帮我解决这个问题吗?C:\Users\Shahin>npminstall-gchimpnpmWARNdeprecatedbabel-preset-es2015@6.24.1:?ThanksforusingBabel:werecommendusingbabel-preset-envnow:pleasereadbabeljs.io/envtoupdate!npmWARNdeprecatednode-uuid@1.4.8:UseuuidmoduleinsteadC:\Users\Shahin\AppDa

java - 运行 spring boot build : Error creating bean with name 'entityManagerFactory' defined in class path

我已经构建了一个SpringBoot应用程序,现在可以部署它了。但是,我尝试构建一个包含所有内容的“fatjar”,但似乎我做错了什么,但不清楚是什么。application.properties(删除真实凭据)#Templateengineconfspring.thymeleaf.check-template-location=true#Databasestuffspring.jpa.hibernate.ddl-auto=updatespring.datasource.url=jdbc:mysql://localhost:3306/dbspring.datasource.userna