Skip to content
This repository has been archived by the owner on Aug 9, 2018. It is now read-only.

DirectoryNotFoundException #5

Open
ibuckshot5 opened this issue Oct 3, 2016 · 1 comment
Open

DirectoryNotFoundException #5

ibuckshot5 opened this issue Oct 3, 2016 · 1 comment

Comments

@ibuckshot5
Copy link

Every time I use stellarator and select the name and stuff, it opens in Microsoft Visual Studio and says there is a DirectoryNotFoundException.

Exception detail:

System.IO.DirectoryNotFoundException was unhandled HResult=-2147024893 Message=Could not find a part of the path 'C:\Stellarator-master\Stellarator-master\Distribution\data\starnames'. Source=mscorlib StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator1.CommonInit()
at System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
at Stellarator.Utility.Load(String foldername) in C:\Stellarator-master\Stellarator-master\Source\Utility.cs:line 160
at Stellarator.Utility.GenerateStarName() in C:\Stellarator-master\Stellarator-master\Source\Utility.cs:line 246
at Stellarator.Generator.GenerateSun(SolarSystem system, String folder, Boolean systematicNames) in C:\Stellarator-master\Stellarator-master\Source\Generator.cs:line 126
at Stellarator.Generator.Generate(String seed, String folder, Boolean systematicNames) in C:\Stellarator-master\Stellarator-master\Source\Generator.cs:line 72
at Stellarator.Program.Main(String[] args) in C:\Stellarator-master\Stellarator-master\Source\Program.cs:line 50
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
`

@MartinX3
Copy link
Contributor

MartinX3 commented Aug 5, 2017

Do you still get this error?
I checked out my fork, compiled it and generated a system.
I don't get this error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants