-
Describe the bugI'm analysing .flac files on mac (with Rstudio) and getting this error: The Output field is required. Expected behaviorI'm using Towsey.acoustics.yml script to calculate acoustic indices. DiagnosticsInstructions✅ I have followed the instructions for reporting a bug The operating system I'm using is:The version of AnalysisPrograms.exe I'm using is:Additional Details |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Hi @Zakher21, I'm going to need more information to properly diagnose this. Can you send the script you're using to run AP? How about one of AP's logs (details on how to get a log are in the link from your original post). I reckon I might be able to guess though: The The warning message is likely from R. When you run another program with
I can confirm this with your script and or logs. But you can probably just fix it as well 😄 |
Beta Was this translation helpful? Give feedback.
-
Hi, Thank you for your answer. I don't think it's related to providing an output argument. I Have the same script that is working on a mac pro (big sur) but not working on the one I mentioned previously. here is my code `This script calculates acoustic indices for the specified files - Mac Version Set the directory containing the files The directory to store the results Get a list of audio files inside the directory files <- list.files(directory, pattern = "*.flac",recursive = TRUE, full.names = TRUE) iterate through each file get just the name of the file make a folder for results prepare command finally, execute the command |
Beta Was this translation helpful? Give feedback.
-
Fair enough; how about a log from AP? The one of the first lines in the log file prints out the command given to AP - we can use that to work out what AP thinks is happening. What are the other warnings from the If you construct the command manually and run it in Terminal (rather than in R) does it work? or fail? Basically, the answer is non-obvious and we'll need systematically rule out things. |
Beta Was this translation helpful? Give feedback.
-
You should find logs in |
Beta Was this translation helpful? Give feedback.
-
2022-02-18T10:51:42.5310030-06:00 [1] INFO CleanLogger - QUT Ecoacoustics Analysis Programs - version 21.7.0.4 (RELEASE build, 2021-07-05T04:43:19.0973090+00:00) 2022-02-18T10:51:42.6544220-06:00 [1] ERROR LogFileOnly - The Output field is required. |
Beta Was this translation helpful? Give feedback.
-
(You can attach a log file, just drag from your file explorer into the message body). OK, so that confirms it, AP is not receiving an output argument. The relevant log line:
You can see:
Note though, it is weird that there is a double slash Now we have to work out why this is happening. My previous response asked for more diagnostic detail:
So we need to understand what the value of |
Beta Was this translation helpful? Give feedback.
-
Hi @atruskie Thank you very much. Indeed that was the issue. the double slash // at the start of the config argument. I changed that and it's now working. Thank you again for your support and help. |
Beta Was this translation helpful? Give feedback.
(You can attach a log file, just drag from your file explorer into the message body).
OK, so that confirms it, AP is not receiving an output argument. The relevant log line:
You can see:
audio2csv
the sub command/Users/zakherbouragaoui/Documents/Data/Audio/G001_V1_C0345_U1/T001_V1_C345_U1_20210605/T001_V1_C345_U1_202…