Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

train should handle System.IO.DirectoryNotFoundException exception #45

Open
evgeny-k opened this issue Sep 11, 2014 · 0 comments
Open
Labels

Comments

@evgeny-k
Copy link
Contributor

Copyright (c) RemObjects Software, 2013. All rights reserved.
script(c_DA.train) {
  include(c_RO.train) {
    include(c_EW.train) {
      function buildEverwoodDelphiPackage(21) {
        folder.create($(Everwood)/Dcu/D21) {
          Could not find a part of the path 'C:\Program Files (x86)\RemObjects Software\Everwood\Dcu\D21'.
        } folder.create
      } function buildEverwoodDelphiPackage
    } include
  } include
} script

Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\RemObjects Software\Data Abstract for Delphi\log.xml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, St
ring msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
   at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName)
   at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings)
   at System.Xml.Linq.XDocument.Save(String fileName, SaveOptions options)
   at System.Xml.Linq.XDocument.Save(String fileName)
   at RemObjects.Train.XmlLogger.Write()
   at RemObjects.Train.MultiLogger.b__0(ILogger a)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at RemObjects.Train.MultiLogger.Write()
   at RemObjects.Train.ConsoleApp.Main(String[] args)

also it produces

[Window Title]
Train.exe

[Main Instruction]
Train.exe has stopped working

[Content]
Windows can check online for a solution to the problem.

[V] View problem details [Check online for a solution and close the program] [Close the program] [Debug the program]

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: train.exe
Problem Signature 02: 0.5.0.0
Problem Signature 03: 540c3d67
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.30319.18444
Problem Signature 06: 52717edc
Problem Signature 07: 442a
Problem Signature 08: 105
Problem Signature 09: System.IO.DirectoryNotFound
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1049
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

@evgeny-k evgeny-k added the bug label Sep 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant