AudioBookConverter does not handle Windows usernames that contains spaces
Background: I am running AudioBookConverter on a Windows 10 Pro x64 machine with all Windows updates applied. I am using AudioBookConverter v6.5.2 (i.e. the most recent build). I have been experiencing this problem for several years and with several versions of the software but I finally have a GitHub account so now I am reporting it.
Steps to reproduce:
- Have a Windows username that contains a space in it such mine such, like "John Doe" (space in between first and last name).
- Add some MP3s to the file list.
- Press "Start" button and choose an .m4b filename and path. Many ffmpeg.exe processes run and then terminate. When they all have terminated the message "Error!" immediately gets displayed in GUI at the top right. I believe the error is happening at the beginning of the "Merge" step.
- In the AudioBookConverter.log file I see the error: "Error opening input: No such file or directory Error opening input file C:\Users\John. Error opening input files: No such file or directory"
My current work around:
- Open cmd.exe
- set tmp=C:\temp
- Run "C:\Program Files\AudioBookConverter\AudioBookConverter.exe"
- Then follow normal steps to create an .m4b and everything works correctly.
As per above, I believe the program is specifically using the TMP environment variable for the user that is running the program which would normally be set to "C:\Users\John Doe\AppData\Local\Temp" (which contains a space in the username part) on my machine. I am overwriting that user environment variable to be a path that does not contain a space which serves as a works around for the issue.
Other people with same issue: https://github.com/yermak/AudioBookConverter/issues/270 Unfortunately they must have missed your responses since neither of them got back to you to confirm that the issue is still occurring.
Other people with the related issue of AudioBookConverter not handling apostrophes: https://github.com/yermak/AudioBookConverter/issues/449 I say this is a "related" issue in the sense that both spaces and apostrophes are valid in Windows paths but cause AudioBookConverter to struggle.
To be clear though, I don't personally need the apostrophes issue fixed, specifically looking for the spaces issue to be fixed.
Side note, I love the program - thank you for creating it and releasing it for free!
Do we know when this is getting fixed as i am experiencing this exact issue. Thanks for the workaround! Confrimed working with the workaround. It was sudden that it stopped working as i was using this for a while before this issue popped up.
@michaelrogers0 looks like setting the temp isnt working for me now for some reason it wont allow me to add files to the program once i have opened it after setting a different temp folder. I can't even click on new book and files \ folder as it doesnt select it. But if i open the nromal way it works fine.
@yermak can we get some movement on this as i cant use it without having to setup a new profile.