• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Scenproc throws file lock exceptons when data in Dropbox folder

Messages
115
Country
australia
When I open .spc files from my dropbox directory, the __SCENPROC_TEMP_RUN.SPC file seems to have a sharing violation with the Dropbox client and throws an unhandled exception error:

upload_2017-5-3_23-54-42.png


Other than not having the files in the dropbox directory tree, is there a configuration for having the temp runtime file be in a custom location or in %TEMP%?

Scenproc version v2.0.0.0 ra36ed4d DEV 29/04/2017

Regards

Braedon

Full Error below:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.IOException: The process cannot access the file 'D:\Data\Dropbox\FSDEVEL\Tas\__SCENPROC_TEMP_RUN.SPC' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at ASToFra.scenProc.MainWindow.bwScan_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1637.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
scenProc
Assembly Version: 1.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///D:/Games/Utils/scenproc/scenProc.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1637.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ASToFra.Interfaces
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///D:/Games/Utils/scenproc/ASToFra.Interfaces.DLL
----------------------------------------
ASToFra.Utils
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///D:/Games/Utils/scenproc/ASToFra.Utils.DLL
----------------------------------------
ASToFra.scenProc.DataModel
Assembly Version: 1.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///D:/Games/Utils/scenproc/ASToFra.scenProc.DataModel.DLL
----------------------------------------
ASToFra.scenProc.Processor
Assembly Version: 1.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///D:/Games/Utils/scenproc/ASToFra.scenProc.Processor.DLL
----------------------------------------
DigitalRune.Windows.TextEditor
Assembly Version: 1.3.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///D:/Games/Utils/scenproc/DigitalRune.Windows.TextEditor.DLL
----------------------------------------
ASToFra.EventLog
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///D:/Games/Utils/scenproc/ASToFra.EventLog.DLL
----------------------------------------
ASToFra.ObjectModel3D
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///D:/Games/Utils/scenproc/ASToFra.ObjectModel3D.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1638.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
ASToFra.FSUtils
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///D:/Games/Utils/scenproc/ASToFra.FSUtils.DLL
----------------------------------------
gdal_csharp
Assembly Version: 1.0.5806.41203
Win32 Version: 1.0.5806.41203
CodeBase: file:///D:/Games/Utils/scenproc/gdal_csharp.DLL
----------------------------------------
ogr_csharp
Assembly Version: 1.0.5806.41203
Win32 Version: 1.0.5806.41203
CodeBase: file:///D:/Games/Utils/scenproc/ogr_csharp.DLL
----------------------------------------
ASToFra.ObjectWriter
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///D:/Games/Utils/scenproc/ASToFra.ObjectWriter.DLL
----------------------------------------
ASToFra.AutogenConfiguration
Assembly Version: 1.0.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Games/Utils/scenproc/ASToFra.AutogenConfiguration.DLL
----------------------------------------
ASToFra.scenProc.Steps
Assembly Version: 1.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///D:/Games/Utils/scenproc/ASToFra.scenProc.Steps.DLL
----------------------------------------
FlightToolkit.SimProp
Assembly Version: 1.0.5.0
Win32 Version: 1.0.5.0
CodeBase: file:///D:/Games/Utils/scenproc/FlightToolkit.SimProp.DLL
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Microsoft.WindowsAPICodePack.Shell
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Games/Utils/scenproc/Microsoft.WindowsAPICodePack.Shell.DLL
----------------------------------------
Microsoft.WindowsAPICodePack
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Games/Utils/scenproc/Microsoft.WindowsAPICodePack.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Hi Braedon,

At the moment not, but I have thought before that I should move it to temp. But if you use relative paths that might not work. Let me check if I can do something about this.
 
Hi,

I have changed scenProc now so that it runs without the temp file. If you grab the new build in 10 minutes you should have the change.

Hopefully I didn't break anything else, my tests still worked :)
 
OK, will have a look tonight after the kids have gone to bed.

Thanks again.

Braedon
 
I'm processing vegetation detection on 55 x 2GB TIF files and it hasn't fallen over so far, or spat an error message at me.

We'll see how we go.

cheers

Bungo
 
Back
Top