- changed status to open
Having multiple large drives causes CaVE Database Manager to hang
-
What version of CaVE? (Include the file Modified date of the exe for Alpha)
- 1.5.0.3
-
What Locale of Windows/NSO or is selected in CaVE?
- English
-
What version of the NSO app is installed? (Platform and version number)
- SNES 3.9.0.0
-
Do you have mods installed, and if so what?
- Full Unlock
-
How exactly can this issue be reproduced so others can do so in order to understand what is broken.
- I found that cave was hanging for a while when trying to load the main window.
- It seems that having multiple large internal drives is causing the program to appear to be frozen. Limiting the drives it has access to allows it to load significantly faster.
Comments (6)
-
-
How many internal drives do you have @HeyItsFalcon CaVE seems to work fine for me with these 2. I did have a third external drive plugged in at one point and it still loaded normal
-
reporter 6 internal drives with a mixture of SSD and HDD, 7 total if you include the SD card. I’ve tested a fresh install in each drive, sadly to no avail.
-
I don't quite have that many, but I do have 2 1TB drives, 1 2.7TB drive, a 100GB drive, and while I don't know why… a 600MB drive…
I don't see any issues. Granted, some of those are partitions. Not completely different drives.
That said… I am not sure where this issue would even come from. Is it trying to load the save data from MTP, as if you had your switch hooked up with DBI? That is the only thing that checks drives. If its recognizing one as a USB Mass Storage Device, if very well could be trying to locate a Saves folder on it.
Thinking more on it… I do know that CaVE can be a bit spammy in the logs at times as it tries to connect with and check USBMSDs. Perhaps with more than one, that is compounding the issue?
Actually, how long does it hang? It might just be because its spamming the debug log itself… Accessing and adding to output like that, many times in a short span of time can certainly cause issues.
-
reporter It hangs at this moment for almost 4 minutes and a few seconds each time if the SD card is present or not before loading up. It does look like it’s found multiple potential devices, but all I can think is my C drive with partitions.
Additionally, here is the snippit of the debug log with the SD card in.
[8/4/2024 1:02:15 AM] -- New Session Initalized -- [8/4/2024 1:02:15 AM] Loading: D:\CaVE\settings [8/4/2024 1:02:16 AM] The remote server returned an error: (404) Not Found. [8/4/2024 1:02:17 AM] Entering Main [8/4/2024 1:02:17 AM] Using "D:/CaVE/01008D300C50C000" as default database. [8/4/2024 1:02:17 AM] Entering SetupPlatform [8/4/2024 1:02:17 AM] Database Type detected as "NSO". [8/4/2024 1:02:18 AM] Entering Database Initalize [8/4/2024 1:02:18 AM] Entering GetDatabasePlatform [8/4/2024 1:02:18 AM] Platform detected as SNES [8/4/2024 1:02:18 AM] Selected Platform: SNES [8/4/2024 1:02:18 AM] LClassicsTitlesDB_Load [8/4/2024 1:02:18 AM] GetStreamReader [8/4/2024 1:02:18 AM] ClearStageFolder [8/4/2024 1:02:18 AM] LClassicsTitlesDB_ParseTitles [8/4/2024 1:02:18 AM] Loading "D:/CaVE/01008D300C50C000\romfs\bootapp\resources\strings\en\strings.lng". [8/4/2024 1:02:18 AM] 1 language strings loaded. [8/4/2024 1:02:18 AM] Entering StringsLng_GetMetaComments [8/4/2024 1:02:18 AM] Entering ReplaceMainTitlesList [8/4/2024 1:02:18 AM] Hiding stock games from the list. [8/4/2024 1:02:19 AM] SAVED [8/4/2024 1:02:19 AM] Checking for SD Card device... [8/4/2024 1:02:19 AM] 3 total potential devices... [8/4/2024 1:06:40 AM] SD Card device found: SWITCH SD, STORAGE DEVICE , Generic [8/4/2024 1:06:40 AM] UpdateRecentDatabasesMenu [8/4/2024 1:06:40 AM] Listing versions available in NewDatabase menu.
Here it is without.
[8/4/2024 12:49:21 AM] -- New Session Initalized -- [8/4/2024 12:49:21 AM] Loading: D:\CaVE\settings [8/4/2024 12:49:22 AM] The remote server returned an error: (404) Not Found. [8/4/2024 12:49:23 AM] Entering Main [8/4/2024 12:49:24 AM] Using "D:/CaVE/01008D300C50C000" as default database. [8/4/2024 12:49:24 AM] Entering SetupPlatform [8/4/2024 12:49:24 AM] Database Type detected as "NSO". [8/4/2024 12:49:24 AM] Entering Database Initalize [8/4/2024 12:49:24 AM] Entering GetDatabasePlatform [8/4/2024 12:49:24 AM] Platform detected as SNES [8/4/2024 12:49:24 AM] Selected Platform: SNES [8/4/2024 12:49:24 AM] LClassicsTitlesDB_Load [8/4/2024 12:49:24 AM] GetStreamReader [8/4/2024 12:49:24 AM] ClearStageFolder [8/4/2024 12:49:24 AM] LClassicsTitlesDB_ParseTitles [8/4/2024 12:49:24 AM] Loading "D:/CaVE/01008D300C50C000\romfs\bootapp\resources\strings\en\strings.lng". [8/4/2024 12:49:24 AM] 1 language strings loaded. [8/4/2024 12:49:24 AM] Entering StringsLng_GetMetaComments [8/4/2024 12:49:24 AM] Entering ReplaceMainTitlesList [8/4/2024 12:49:24 AM] Hiding stock games from the list. [8/4/2024 12:49:25 AM] SAVED [8/4/2024 12:49:25 AM] Checking for SD Card device... [8/4/2024 12:49:25 AM] 1 total potential devices... [8/4/2024 12:53:42 AM] No SD Card device found. [8/4/2024 12:53:42 AM] UpdateRecentDatabasesMenu [8/4/2024 12:53:42 AM] Listing versions available in NewDatabase menu. [8/4/2024 12:55:23 AM] SaveSettings
-
That is very different from what I was expecting.
I was not expecting this to happen on the loading splash window. I thought it would be when the main CaVE window was already open, and you selected to load a database.
And I can’t help but notice the “
The remote server returned an error: (404) Not Found.
“ line in both. THAT could explain a long delay, as I am pretty certain that error comes from it trying to connect to the server to check if there is are new updates or not. Not connecting to the server is generally a firewall type of issue. CaVE needs to connect to https://darkakumasprojects.bitbucket.io in order to check to know what the latest versions of the NSO app are and if it needs those updates. You didn’t mention anything about not having the latest updates, or having to do something with your firewall software/connection to be able to download them.The spammy USBMSD check issue I mentioned happens when the main CaVE window is loaded, and would present something like…
[8/4/2024 12:49:25 AM] Checking for SD Card device... [8/4/2024 12:53:42 AM] No SD Card device found. [8/4/2024 12:49:25 AM] Checking for SD Card device... [8/4/2024 12:53:42 AM] No SD Card device found. [8/4/2024 12:49:25 AM] Checking for SD Card device... [8/4/2024 12:53:42 AM] No SD Card device found. [8/4/2024 12:49:25 AM] Checking for SD Card device... [8/4/2024 12:53:42 AM] No SD Card device found. [8/4/2024 12:49:25 AM] Checking for SD Card device... [8/4/2024 12:53:42 AM] No SD Card device found. [8/4/2024 12:49:25 AM] Checking for SD Card device... [8/4/2024 12:53:42 AM] No SD Card device found.
… in the log.
- Log in to comment