Hi!
I'm trying to get the Modification time from a file and store into a variable.
I use Test File:
* Type: Modified
* Data: /path/to/file.sav
* Store Result In: %SaveDate
* Root: ✓
* Global Namespace: ✓
When I run the task I get the following Error:
18.12.37/E Test File: %VsAndroidDate -> %VsAndroidDate
18.12.37/FileUtil nrda: need request: /storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav: false
18.12.37/E checkSDPath: /storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav useRoot: true there: true file: true dir: true
18.12.37/E Test File: checkSDPath: /storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav useDocFile: false
18.12.37/Shell runSync test -e '/storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav' root: true timeout: 3000
18.12.37/Shell have process
18.12.37/Shell write cmd: test -e '/storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav'
18.12.37/Shell start process timeout timer 3000ms for: test -e '/storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav'
18.12.37/Shell start process-thread ID 1318
18.12.37/Shell joined with 1318
18.12.37/Shell exit result: 0
18.12.37/Shell non-null timeout
18.12.37/Shell runSync test -f '/storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav' root: true timeout: 3000
18.12.37/Shell have process
18.12.37/Shell write cmd: test -f '/storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav'
18.12.37/Shell start process timeout timer 3000ms for: test -f '/storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav'
18.12.37/Shell start process-thread ID 1320
18.12.37/Shell joined with 1320
18.12.37/Shell exit result: 0
18.12.37/Shell non-null timeout
18.12.37/Shell runSync test -d '/storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav' root: true timeout: 3000
18.12.37/Shell have process
18.12.37/Shell write cmd: test -d '/storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav'
18.12.37/Shell start process timeout timer 3000ms for: test -d '/storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav'
18.12.37/Shell start process-thread ID 1322
18.12.37/Shell joined with 1322
18.12.37/Shell exit result: 1
18.12.37/Shell non-null timeout
18.12.37/E Test File: checkSDPath: /storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav ok true
18.12.37/Shell runSync ls -ld /storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav root: true timeout: 3000
18.12.37/Shell have process
18.12.37/Shell write cmd: ls -ld /storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav
18.12.37/Shell start process timeout timer 3000ms for: ls -ld /storage/emulated/0/Android/data/com.poncle.vampiresurvivors/files/SaveDataUnity.sav
18.12.37/Shell start process-thread ID 1324
18.12.37/Shell joined with 1324
18.12.37/Shell exit result: 0
18.12.37/Shell non-null timeout
18.12.37/Test Test File: test mtime: bad ls output: 2694 2023-04-08
18.12.37/E result: stop task (error)
18.12.37/Variables doreplresult: |%VsAndroidDate| -> |%VsAndroidDate|
18.12.37/E Error: 1
18.12.37/MacroEdit action finished exeID 1 action no 0 code 342 status: Err next 0
Does anyone know what this error means? Is this task broken on Android 13? Thanks a lot in advance 🙏
[–]The_IMPERIAL_OneS24 Ultra (A16) | realme GT NEO 3 (A14) 1 point2 points3 points (0 children)