Quicker自带的解压缩功能似乎不能工作?

BUG反馈 · 1984 次浏览
我是厅长 创建于 2020-07-07 16:58

如题,我确定语法没问题,但解压的时候就是提示未能找到压缩包路径。

2433文件和目录操作
[in]失败后中止动作True【...】[1]
[in]操作类型moveFile【...】
[in]路径C:\Users\Administrator\Desktop\test\test.zip【FIRST_FILE】
[in]目标路径C:\Users\Administrator\Desktop\test\final.zip‮‮‮‮‮【...】
[in]覆盖已有False【...】[0]

2542Zip压缩打包
[in]失败后停止True【...】[1]
[in]操作类型Unzip【...】
[in]覆盖目标False【无输入】
[in]Zip文件路径C:\Users\Administrator\Desktop\test\final.zip【...】
[in]目标路径.【...】
2542异常:Could not find file 'C:\Users\Administrator\Desktop\test\final.zip'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) 
at System.IO.Compression.ZipFile.Open(String archiveFileName, ZipArchiveMode mode, Encoding entryNameEncoding) 
at System.IO.Compression.ZipFile.ExtractToDirectory(String sourceArchiveFileName, String destinationDirectoryName, Encoding entryNameEncoding) 
at Quicker.Domain.Actions.X.BuildinRunners.File.ZipStep.UnZip(ActionExecuteContext context, ActionStep step, XAction action, Boolean overwrite) 
at Quicker.Domain.Actions.X.BuildinRunners.File.ZipStep.<>c__DisplayClass44_0.<Execute>b__0() 
at Quicker.Domain.Actions.X.XActionHelper.ExecuteCommonAction(ActionExecuteContext context, ActionStep step, XAction action, Func`1 actionFunc, Action successAction, Action failAction, StepInParamDef stopIfErrorParam, StepOutParamDef isSuccessOutputParam)
2542步骤执行失败,原因:Could not find file 'C:\Users\Administrator\Desktop\test\final.zip'.
2558停止动作:Could not find file 'C:\Users\Administrator\Desktop\test\final.zip'.

回复内容
CL 2020-07-07 22:04
#1

文件存在后,直接运行后面这步会出错么?

我是厅长 2020-07-07 22:11 :

试过了 还是会出现错误 但提示的是其他错误

我是厅长 2020-07-15 16:06 :
0Win-6.1.7601.65536 Quicker-1.9.4.0 动作ID:73ab866e-2554-455e-a180-48708b6c43e9 来源动作: v0
0开始执行动作:123 2020-07-15 16:05:08
0获取选择的文件列表
[in]失败后中止动作True...】[1]
0通过Win32接口获取选中的文件失败:Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.Shell'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{286E6F1B-7113-4355-9562-96B7E9D64C54}' failed due to the following error: 不支持此接口 (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
0 at Quicker.Utilities.Win32.NativeMethods.GetSelectedFiles() 
at Quicker.Domain.Actions.X.BuildinRunners.File.GetSelectedFilesStep.<>c__DisplayClass37_0.<Execute>b__0()
16通过Win32接口获得的文件数量为0,尝试Ctrl+C选择
110通过Ctrl+c获得了1个文件
[out]第一个文件=>textC:\Users\Administrator\Desktop\test\test.zip‮‮‮‮‮
110Zip压缩打包
[in]失败后停止True...】[1]
[in]操作类型Unzip...
[in]覆盖目标False【无输入】
[in]Zip文件路径C:\Users\Administrator\Desktop\test\test.zip‮‮‮‮‮【text】
[in]目标路径....
125异常:Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.
at System.IO.Compression.ZipArchive.ReadCentralDirectory() 
at System.IO.Compression.ZipArchive.get_Entries() 
at System.IO.Compression.ZipFileExtensions.ExtractToDirectory(ZipArchive source, String destinationDirectoryName) 
at System.IO.Compression.ZipFile.ExtractToDirectory(String sourceArchiveFileName, String destinationDirectoryName, Encoding entryNameEncoding) 
at Quicker.Domain.Actions.X.BuildinRunners.File.ZipStep.UnZip(ActionExecuteContext context, ActionStep step, XAction action, Boolean overwrite) 
at Quicker.Domain.Actions.X.BuildinRunners.File.ZipStep.<>c__DisplayClass44_0.<Execute>b__0() 
at Quicker.Domain.Actions.X.XActionHelper.ExecuteCommonAction(ActionExecuteContext context, ActionStep step, XAction action, Func`1 actionFunc, Action successAction, Action failAction, StepInParamDef stopIfErrorParam, StepOutParamDef isSuccessOutputParam)
125步骤执行失败,原因:Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.
125停止动作:Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.
125检测到了中止标志(OperationFailed),停止后续步骤执行。
回复主贴