Jump to content
LaunchBox Community Forums

Launchbox Infinetly "Saving Games" after importing...


Recommended Posts

After I import games the status bar at the top will say "Saving Games" forever. Usually the games I import will be there, but sometimes all but one will import. Usually if I wait maybe 5 minutes an error will popup saying "You have an existing process running. Please wait until the existing process completes before importing games.". However I do not perform any actions to warrant this error. If I try to click the red X next to the status bar it turns to a blue circle like something is happening but nothing ever does. Also cannot do anything else in LB until I close it, also I will usually have to go in to processes and kill the LB process or else it just hangs. There is something going on, I can see LB using system resources like memory and cpu but whatever is happening never ends. I'll attach some logs, but any help would be nice.

 

 

Screenshot 2024-10-07 154741.png

Debug 2024-10-07 02-08-36 PM.log

Link to comment
Share on other sites

I wish there was more I could add to this. I ran some tests and can only confirm that this is not a systemic issue with the app.

Based on what you are saying it sounds more like Windows is having a hard time in saving the new file LaunchBox is trying to create. There are many reasons this could happen on a user's computer. The most notable ones would be that you have another program that is fighting for access to the same files/folders as LaunchBox is (eg. something like a cloud sync program, or hard drive backup program), or there's some kind of permission issues going on with your hard drive. That's probably where I would start my investigation if I was having this issue.

Link to comment
Share on other sites

17 hours ago, faeran said:

I wish there was more I could add to this. I ran some tests and can only confirm that this is not a systemic issue with the app.

Based on what you are saying it sounds more like Windows is having a hard time in saving the new file LaunchBox is trying to create. There are many reasons this could happen on a user's computer. The most notable ones would be that you have another program that is fighting for access to the same files/folders as LaunchBox is (eg. something like a cloud sync program, or hard drive backup program), or there's some kind of permission issues going on with your hard drive. That's probably where I would start my investigation if I was having this issue.

Thanks for following up. Is there anyway to get additional info? Like enabling more logging, or anything you'd recommend at the OS level I can do to help me out?

Link to comment
Share on other sites

It's me again...

So I know I might be beating a dead horse, but Id like to run something else by you or anyone else who would like to chime in.

I was trying to add some games today, and again getting the infinite saving thing and one of the games in the list would not get added, just saving forever like before. So I close, restart, same issues, close restart, same issue. I did this a few times. I finally tried to run a scan on the drive, deleted my AV, restarted, etc... just some small things I could think of and there was no change and the drive is fine. It's brand new in fact.

I was using the import from the toolbar, so I tried just dragging the .exe in and this time... no issue and it imported fine. So I check the log files... there is only one difference, the successful import does not contain the following section from previous logs where there was an error...

2024-10-17 09:20:52 PM FIRST CHANCE EXCEPTION: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.ThrowHelper.ThrowArgumentOutOfRange_IndexException()
2024-10-17 09:20:52 PM FIRST CHANCE EXCEPTION: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.ListBatchDefinition(Object reference, IEnumerable`1 visitor, Object helper, Boolean removespec2)
   at PublisherMessage.InitMetaAdapter(RomImportTask reference, IEnumerable`1 visitor, String helper, Boolean removespec2, PublisherMessage )
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.GetBatchDefinition(Object task)
   at StateMessage.InitMetaAdapter(RomImportTask task, StateMessage )
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.Finish(RomImportTask task, Boolean autoImported)
   at ConfigMessage.InitMetaAdapter(RomImportTask task, Boolean autoImported, ConfigMessage )
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.Finish(RomImportTask task)
   at BroadcasterDatabase.InitMetaAdapter(RomImportTask task, BroadcasterDatabase )
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.<>c__DisplayClass1_0.ViewBatchTask()
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass1_0.QueryDrivenRepository(Object )
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass1_0.AssetReadableInterceptor()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)

I'd like to get some insight on specifically what this section of the log means to better troubleshoot. I'm having trouble seeing how this could be a problem on my end if LB will import using drag and drop just fine but have issues when using import through the menu bar. I would really like to solve this issue. I don't want to exaggerate, but I feel I've put at least 100 hours in to the setup over months of work, and without knowing whats causing this, if I had to start over, I would never pick it up again.

Edited by spiritedusual
Link to comment
Share on other sites

15 hours ago, spiritedusual said:

It's me again...

So I know I might be beating a dead horse, but Id like to run something else by you or anyone else who would like to chime in.

I was trying to add some games today, and again getting the infinite saving thing and one of the games in the list would not get added, just saving forever like before. So I close, restart, same issues, close restart, same issue. I did this a few times. I finally tried to run a scan on the drive, deleted my AV, restarted, etc... just some small things I could think of and there was no change and the drive is fine. It's brand new in fact.

I was using the import from the toolbar, so I tried just dragging the .exe in and this time... no issue and it imported fine. So I check the log files... there is only one difference, the successful import does not contain the following section from previous logs where there was an error...

2024-10-17 09:20:52 PM FIRST CHANCE EXCEPTION: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.ThrowHelper.ThrowArgumentOutOfRange_IndexException()
2024-10-17 09:20:52 PM FIRST CHANCE EXCEPTION: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.ListBatchDefinition(Object reference, IEnumerable`1 visitor, Object helper, Boolean removespec2)
   at PublisherMessage.InitMetaAdapter(RomImportTask reference, IEnumerable`1 visitor, String helper, Boolean removespec2, PublisherMessage )
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.GetBatchDefinition(Object task)
   at StateMessage.InitMetaAdapter(RomImportTask task, StateMessage )
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.Finish(RomImportTask task, Boolean autoImported)
   at ConfigMessage.InitMetaAdapter(RomImportTask task, Boolean autoImported, ConfigMessage )
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.Finish(RomImportTask task)
   at BroadcasterDatabase.InitMetaAdapter(RomImportTask task, BroadcasterDatabase )
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.<>c__DisplayClass1_0.ViewBatchTask()
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass1_0.QueryDrivenRepository(Object )
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass1_0.AssetReadableInterceptor()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)

I'd like to get some insight on specifically what this section of the log means to better troubleshoot. I'm having trouble seeing how this could be a problem on my end if LB will import using drag and drop just fine but have issues when using import through the menu bar. I would really like to solve this issue. I don't want to exaggerate, but I feel I've put at least 100 hours in to the setup over months of work, and without knowing whats causing this, if I had to start over, I would never pick it up again.

If your not up on the latest beta, can you update and let me know if you are still seeing this?

Link to comment
Share on other sites

22 hours ago, faeran said:

If your not up on the latest beta, can you update and let me know if you are still seeing this?

Hi Faeran,

First thanks for following up on this. I do really appreciate it!

I have updated to the latest beta, 13.17-beta-5

I attempted to add Mechwarrior 5 Clans using the import method after update and again the "infinite save" occurred. I closed and re opened, and then tried drag and drop which worked no problem. I've attached both log files labeled as such and again the one that I attempted import using the tool>import contains the index error.

If you'd like you can also reach me on discord or email, if it makes things easier. Please let me know anything I can do to help on this.

Thanks!

(IMPORT FROM TOOLBAR) Debug 2024-10-19 11-04-51 AM.log(DRAG AND DROP) Debug 2024-10-19 11-13-30 AM.log

Link to comment
Share on other sites

On 10/19/2024 at 11:31 AM, spiritedusual said:

Hi Faeran,

First thanks for following up on this. I do really appreciate it!

I have updated to the latest beta, 13.17-beta-5

I attempted to add Mechwarrior 5 Clans using the import method after update and again the "infinite save" occurred. I closed and re opened, and then tried drag and drop which worked no problem. I've attached both log files labeled as such and again the one that I attempted import using the tool>import contains the index error.

If you'd like you can also reach me on discord or email, if it makes things easier. Please let me know anything I can do to help on this.

Thanks!

(IMPORT FROM TOOLBAR) Debug 2024-10-19 11-04-51 AM.log 132.28 kB · 2 downloads (DRAG AND DROP) Debug 2024-10-19 11-13-30 AM.log 143.29 kB · 2 downloads

From the looks of things it's less specific to how you imported and more specific to a timing thing when upgrading metadata information from the server. We made some indexing changes that may help and you'll find it in the next official release.

Link to comment
Share on other sites

38 minutes ago, faeran said:

From the looks of things it's less specific to how you imported and more specific to a timing thing when upgrading metadata information from the server. We made some indexing changes that may help and you'll find it in the next official release.

Ok sounds good. I was having this problem for weeks, it's just gotten to the point where I needed to do something and I was lost.

When the update comes out I will test again and reach out if the problem persists.

Link to comment
Share on other sites

On 10/21/2024 at 2:45 PM, faeran said:

From the looks of things it's less specific to how you imported and more specific to a timing thing when upgrading metadata information from the server. We made some indexing changes that may help and you'll find it in the next official release.

Hello again Faeran and thank you as always taking the time to respond,

I have updated to 13.17 and tried to add a game today using import, and the same issue occurs.

Using the drag and drop method works fine.

Essentially no change with the version update.

Link to comment
Share on other sites

On 10/27/2024 at 2:10 PM, spiritedusual said:

Hello again Faeran and thank you as always taking the time to respond,

I have updated to 13.17 and tried to add a game today using import, and the same issue occurs.

Using the drag and drop method works fine.

Essentially no change with the version update.

Thanks for letting us know. 

If you run Tools > Download > Force Update Games Metadata

Then you go through a ROM Import Wizard, does it still stop at Saving Games...?

Link to comment
Share on other sites

  • 2 weeks later...
On 10/29/2024 at 2:17 PM, faeran said:

Thanks for letting us know. 

If you run Tools > Download > Force Update Games Metadata

Then you go through a ROM Import Wizard, does it still stop at Saving Games...?

Its been a few days,

This did not resolve the issue. I did import a full rom set using the same method and had no issue so it makes me think it's only with Windows platform.

Anyway, I do want to get this resolved, but since I can drag and drop still the issue isn't as big as it was in the begining.

If you have any additional troubleshooting for me I'd be happy to do it.

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...