adb_android
adb_android copied to clipboard
Can't open tmp file generated by generate_tmp_file() function on WinPC
During unit test execution:
*** preparing temporary file with name c:\users\malyi\appdata\local\temp\tmpdrjulf
*** executing ['adb', 'push', 'c:\\users\\malyi\\appdata\\local\\temp\\tmpdrjulf', '/data/media/0/']
cannot open 'c:\users\malyi\appdata\local\temp\tmpdrjulf': No such file or directory
*** getting path to tmp_file c:\users\malyi\appdata\local\temp\tmpdrjulf
*** getting path to dest_folder_host c:\users\malyi\appdata\local\temp
.cannot create 'c:\users\malyi\appdata\local\temp\tmpdrjulf': No such file or directory
Fcannot open 'c:\users\malyi\appdata\local\temp\tmpdrjulf': No such file or directory
....*** executing ['adb', 'pull', '/data/media/0/tmpdrjulf', '/non-existing-dir/']
cannot create '/non-existing-dir\': No such file or directory
.*** executing ['adb', 'pull', '/data/media/0/tmpdrjulf', 'c:\\users\\malyi\\appdata\\local\\temp']
cannot create 'c:\users\malyi\appdata\local\temp\tmpdrjulf': No such file or directory
F..*** executing ['adb', 'push', '/non-existing-dir/', '/data/media/0/']
cannot stat '/non-existing-dir/': No such file or directory
.*** executing ['adb', 'push', 'c:\\users\\malyi\\appdata\\local\\temp\\tmpdrjulf', '/data/media/0/']
cannot open 'c:\users\malyi\appdata\local\temp\tmpdrjulf': No such file or directory```
I have not seen the above issue on windows. Guess, we can close this.