You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error and crash when trying to create a folder with trailing spaces #11940
Obs should not crash when attempting to record, even if the formatting string is malformed.
Current Behavior
If the formatting includes creating a folder with trailing spaces in its name, obs errors on the first attempt at recording, and crashes on the second.
Steps to Reproduce
Change filename formatting to include a folder with trailing spaces (for example %CCYY-%MM-%DD /%hh-%mm-%ss)
Press Start recording, get the error shown below.
Press Start recording again, crash.
...
Anything else we should know?
error in question :
The crash report and the log do not correspond exactly because whether or not a crash report is generated by the crash is unreliable
Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows shell and user interface does not.
Activity
S1NJED commentedon Mar 12, 2025
The issue is only on windows 10 and 11 but it work well on ubuntu 24.04, the issue might be caused due to a bad path formatting.
Penwy commentedon Mar 12, 2025
As far as I can see it is not an issue with the formatting, but a restriction of fileio, that obs does not sanitise for.
https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file