Unable to pullFile - timeout
See original GitHub issueThe problem
After upgrading appium to 1.15.1 I can no longer pull file from iOS device. I resolved this problem on 2 macs by updating node and npm version to 12.13.1 and 6.12.1 and after doing same on 2 others computers did not help.
I also updated node to latest version 13.6.0 and it did not help
ifuse pull file works normally
Environment
- Appium version (or git revision) that exhibits the issue: 1.15.1
- Last Appium version that did not exhibit the issue (if applicable): 1.14
- Desktop OS/version used to run Appium: macOS
- Mobile platform/version under test: iOS
- Real device or emulator/simulator: Real device
Link to Appium logs
https://gist.github.com/walkeraki/173ba9960750442e222b461b759cc7b5
Code To Reproduce Issue [ Good To Have ]
` @Override public String saveApplicationLog(String outPath) { String logPath = socketDriver.getLogPath(); String logFileName = FilenameUtils.getBaseName(logPath); File logFile = new File(outPath + File.separator + logFileName); String remoteFolder = “@” + appiumDriver.getSessionDetails().get(“CFBundleIdentifier”) + “/Documents/”; String fileNameWithExtension = FilenameUtils.getName(logPath); logPath = remoteFolder + fileNameWithExtension; byte[] logData = appiumDriver.pullFile(logPath);
try {
writeByteArrayToFile(logFile, logData);
} catch (IOException e) {
throw new FileException("Couldn't save log to file", e);
}
return logPath;
}`
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
It works on latest beta
What about the latest beta? (Please make sure the beta has
appium-xcuitest-driver@3.12.1
)