Cannot access temp file on a shared cloud drive

Issue #7333 new
Paul Galbraith created an issue

This happens quite often when trying to run out of a dropbox folder. Can we write temp files to the standard Windows temp folder?

UPDATE: I notice this happens very frequently (about once every 10-15 minutes LB is open) on a machine that is keeping the cloud folder on an older, slower, magnetic drive. On my laptop where it’s storing the same cloud data on SSD, this error does still occur but much less frequently.

The process cannot access the file 'E:\Users\Paul\Dropbox\LaunchBox\Metadata\Temp\1f591f35-44b8-4521-a660-1a19d2582cda' because it is being used by another process.

App:     LaunchBox
Version: 12.15
Type:    System.IO.IOException
Site:    Void InterruptAspectInitializer(System.Object, System.Object)
Source:  Unbroken.LaunchBox.Windows

   at Unbroken.LaunchBox.Windows.Data.DataManager.InterruptAspectInitializer(Object last, Object b)
   at FilterServiceAlgo.NewDistributedComposer(DataSet last, String b, FilterServiceAlgo )
   at Unbroken.LaunchBox.Windows.Data.DataManager.PrepareAspectInitializer(String res)
   at ListenerSpecificationAlgo.NewDistributedComposer(Object , String res, ListenerSpecificationAlgo )
   at Unbroken.LaunchBox.Windows.Data.DataManager.<>c__DisplayClass167_0.VisitAspectIdentifier()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

Recent Log:

   9:20:48 PM Exception

Comments (7)

  1. Christian

    Metadata folder doesn’t ever need backed up. Easier to just tell your sync software not to sync that folder.

  2. Paul Galbraith reporter

    Are you saying that folder can be deleted and it will be recreated every time I run LB? Regardless, I don’t think dropbox has a way to selectively exclude specific child folders.

  3. Christian

    No the folder and MOST of it’s contents are put there during the install. The local GamesDB file gets updated in that directory, and as you saw all temp files placed there. I was thinking DropBox had that functionality but I admit it’s been a long while since I’ve used it last so I could very easily be wrong.

  4. Paul Galbraith reporter

    Ah ok thanks Christian. This directory definitely needs to be included in Dropbox for a portable distribution to work, then. I think the best solution here is to have a Dropbox config option to write temp files to another location, ideally the standard windows temp file location.

  5. Paul Galbraith reporter

    I hope this can get some honest attention. I cannot use LB anymore for much more than 2 or 3 minutes without it crashing, and I suspect the solution is very easy. Since having a portable front-end solution that I can run directly from a cloud drive is a first class priority for me, I’m now unfortunately having to evaluate alternatives to LB, after having been a happy LB user for about 7 years.

  6. Log in to comment