Forum_general

General

At this page you can post questions or start discussions on general topics related to Delft3D Flexible Mesh.

Please select a proper category below (if possible), to post your message or reply to an existing post. Please add tags to your posts to simplify searching.

 

** PLEASE TAG YOUR POST! **

 

 

 

 


Message Boards

Delatshell and wind files: access denied to arguably accessible files

Giordano Lipari, modified 3 Years ago.

Delatshell and wind files: access denied to arguably accessible files

Youngling Posts: 0 Join Date: 3/23/11 Recent Posts
Definitions
dflowm: version 1.1.113
delta shell: version 1.0
windows: Windows 7 Pro (64-bit instruction set)

Action
I want to impose a uniform wind field on my water body.
I specifiy the paths to the files containing the X/Y components of the wind field information.
I select either a pair of wnd files for the uniform wind case (FILETYPE=1 METHOD=1) or a pair of amu/amv files to simulate the uniform wind case with an unchanging time-varying wind (FILETYPE=4 METHOD=2).

Outcome
In both cases as I try to save the project the program throws the error:

2014-10-21 11:44:08,437 [4] ERROR DeltaShell.Plugins.Data.NHibernate.DelftTools.Shell.Core.Dao.NHibernateObjectRepository`2[[DelftTools.Shell.Core.Project, DelftTools.Shell.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cef13554f3ca1f2d],[System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SaveOrUpdate - Can't save Project:
System.IO.IOException: Kan geen toegang krijgen tot het bestand C:\Users\gebruiker\Desktop\dflowfm\01SobeySTD3.dsproj_data\Water Flow FM Model\windxdir.wnd omdat het wordt gebruikt door een ander proces.

For non Dutch readers the underlined text means: It can get no access to the file <path> because it is being used by another process.

Evidence
To my recognition, no other program is using those files (whether they are of wnd or amu/amv type), neither an editor nor a file manager. Incidentally I have used Notepad++ and Total Commander respectively, which seem to work regularly.
The outcome is the same upon
* creating the ext file manually
* saving the ext file in both <project directory>\Water Flow FM Model\ and <project directory>\Water_Flow_FM_Model_output
* declaring it to the mdu file
* save or run the project

The situation is solved if I then restart the computer, restart DeltaShell (without opening any text editor and file manager for good measure) but I would like to avoid this [NB this line has been re edited].
Has anyone come across this sort of problems? Is there anything I may have been overlooking? Is this occurrence worth to be addressed in a future release?

Giordano
MK
Michal Kleczek, modified 3 Years ago.

RE: Delatshell and wind files: access denied to arguably accessible files

Padawan Posts: 53 Join Date: 10/23/14 Recent Posts
Dear Giordano

I believe your issue was resolved in the released in November 2015 version of the Delft3D Flexible Mesh.
In case you still have problems please let us know.

Kind regards,
Michal
LH
Liv Herdman, modified 3 Years ago.

RE: Delatshell and wind files: access denied to arguably accessible files

Youngling Posts: 9 Join Date: 6/15/15 Recent Posts
This issue still exists. I get this error regularly if I copy an old set up to a new folder for modification. If I reselect the wind file the error goes away, but I cannot figure out what is triggering it in the first place.