Search found 6 matches
- November 1st, 2022, 7:39 pm
- Forum: Bug Reports
- Topic: Potential race condition in Windows create_all_dirs
- Replies: 11
- Views: 6063
Re: Potential race condition in Windows create_all_dirs
Ha. Always good to find a novel issue 
- November 1st, 2022, 8:20 am
- Forum: Bug Reports
- Topic: Potential race condition in Windows create_all_dirs
- Replies: 11
- Views: 6063
Re: Potential race condition in Windows create_all_dirs
The current line from create_all_dirs is: if not os.path.exists(path): os.makedirs(path) If this were changed to: if not os.path.exists(path) and check_mount(path): os.makedirs(path) The "and" is a short circuit operator, so "check_mount(path)" would only be evaluated if the firs...
- October 31st, 2022, 8:08 pm
- Forum: Bug Reports
- Topic: Potential race condition in Windows create_all_dirs
- Replies: 11
- Views: 6063
Re: Potential race condition in Windows create_all_dirs
Sorry yes, should've been clearer.
Temp download is a local SSD.
Completed directory is the NAS.
Temp download is a local SSD.
Completed directory is the NAS.
- October 31st, 2022, 3:03 pm
- Forum: Bug Reports
- Topic: Potential race condition in Windows create_all_dirs
- Replies: 11
- Views: 6063
Re: Potential race condition in Windows create_all_dirs
I have that value set to 10 (default is 5 I believe). It happened again this morning. The only reference to wait_ext_drive is in check_mount, which is referenced by get_unique_dir which is referenced by nzbstuff . py and postproc . py. I may be reading this wrong of course, but does check_mount (whi...
- October 30th, 2022, 8:05 am
- Forum: Bug Reports
- Topic: Potential race condition in Windows create_all_dirs
- Replies: 11
- Views: 6063
Re: Potential race condition in Windows create_all_dirs
Sorry, it wouldn't let me poste the error because I'm a newb. When Windows wakes up from sleep with Sabnzbd running as an app I am seeing the following error appear in the console: 2022-10-29 09:05:02,328::INFO::[filesystem:703] Creating directories: n:\Downloads 2022-10-29 09:05:02,344::INFO::[noti...
- October 29th, 2022, 12:06 pm
- Forum: Bug Reports
- Topic: Potential race condition in Windows create_all_dirs
- Replies: 11
- Views: 6063
Potential race condition in Windows create_all_dirs
Latest Windows version. Problem exists only when waking from sleep. I believe it's this part of the code from create_all_dirs: if sabnzbd.WIN32: if not os.path.exists(path): os.makedirs(path) I think this is happening before the drive can be mounted (from a Synology DS220+). I don't believe it's a p...