Error "Unable to pack the files" while running slPacker.Pack in TestComplete 12
Since TestComplete 12, the archiver retuns an error while packing the log folder.
For example, using the code
L_strWorkDir = "C:\temp\TestPack2"
L_strFileList = slPacker.GetFileListFromFolder(L_strWorkDir)
L_strArchive = "C:\temp\TestPack2.zip"
lPacker.Pack(L_strFileList, L_strWorkDir, L_strArchive)
TestPack2 includes only "Log.mht" and the TestComplete "log" folder of our test. The code above returns the error "Unable to pack the files", with additional info:
The archiver has returned an error.
The archiver output:
Warning: ZIPDLL.DLL version 1.73.3.0, September 27, 2003 is newer
File specification "log\ico_success.giff" skipped
File specification "C:\temp\TestPack2\" skipped
File specification "C:\temp\TestPack2\" skipped
File specification "C:\temp\TestPack2\" skipped
File specification "C:\temp\TestPack2\" skipped
File specification "log\table.jss" skipped
File specification "log\table.jss" skipped
File specification "C:\temp\TestPack2\" skipped
File specification "l" skipped
File specification "log\text.jss" skipped
adding: Log.mht
adding: log\_ProjectLog.js
Note: the log folder includes a table.js file, not a table.jss file as printed in the generated error message above.
I didn't find a minimal folder/subfolder configuration, that always reproduces the problem.
It looks like a bug in version 12. Have others experienced the same problem?
Hello,
This is a known issue with TestComplete 12.0. Please contact us using the Submit Request form so we can provide you with a patch that resolves it.
Thanks!