rafatsi / serak-tesseract-trainer

Automatically exported from code.google.com/p/serak-tesseract-trainer
0 stars 0 forks source link

FIleNotFound at Test OCR / Recognize #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. TestOCR
2. Recognize

No Output, error pops up: The FIle 
"C:\User\username\Desktop\sevenseg\output.txt" could not be found.

Using Serak tesseract V0.4 on Win7

************** Ausnahmetext **************
System.IO.FileNotFoundException: Die Datei 
"C:\Users\Gabriel\Desktop\sevenseg\output.txt" konnte nicht gefunden werden.
Dateiname: "C:\Users\Gabriel\Desktop\sevenseg\output.txt"
   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
   bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   bei System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   bei System.IO.StreamReader..ctor(String path, Encoding encoding)
   bei System.IO.File.InternalReadAllLines(String path, Encoding encoding)
   bei SerakTesseractTrainer.MainForm.recognize(Object sender, EventArgs e)
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Original issue reported on code.google.com by gabrielh...@gmail.com on 24 Jun 2013 at 10:31