Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Rev9 Data corruption issue and delete from historical manager error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Rev9 Data corruption issue and delete from historical manager error

    This morning I had bad data from midnight until I logged in, in GC 4-10 using zenfire. I tried right clicking and reloading all historical data it did not fix the issue. So I went to the historical data manager (edit tab) and selected GC 04-10 to delete. Keep in mind all this time I am connected to zenfire. This error below was generated. Had to restart Ninja and then it refetched GC data correctly upon connection.

    If there are ever data corruption issues, what is the best way to delete the data and restart without having this exception problems thrown at you?

    thanks and regards

    Alex


    2010-02-11 09:43:57:393 in OnUnhandledThreadException
    2010-02-11 09:43:57:767 ********* exception trapped *********
    2010-02-11 09:43:57:767 The process cannot access the file '20100211.Ask.ntd' because it is being used by another process.
    2010-02-11 09:43:57:767 at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileInfo.Delete()
    at NinjaTrader.Data.HistoricalDataManager.OnDeleteNod e(Object sender, EventArgs e)
    at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.MenuItem.MenuItemData.Execute ()
    at System.Windows.Forms.Command.Invoke()
    at System.Windows.Forms.Command.DispatchID(Int32 id)
    at System.Windows.Forms.Control.WmCommand(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    2010-02-11 09:44:13:079 Gui.WorkspaceOptions.ApplicationExit

    #2
    Please turn of any virus scanner you have installed and try again.

    Comment


      #3
      Also: Please uncheck Tools->Options->Data->Save chart data as historical and try again.

      Comment


        #4
        Thanks for the quick reply Dierk. I have no antivirus running since I am using an ubuntu linux machine with XP on virtualbox emulatation since purchasing my nt license a few years back. I did turn off save data on historical, and tried deleting GC from the database while connected and got the same error after delete. See below. However in this case I was able to click on the reload historical data after and have no issues. I think this solves my issue, just no sure if this unhandled thread exception is normal.

        2010-02-11 11:26:45:641 in OnUnhandledThreadException
        2010-02-11 11:26:45:689 ********* exception trapped *********
        2010-02-11 11:26:45:689 The process cannot access the file '20100211.Ask.ntd' because it is being used by another process.
        2010-02-11 11:26:45:689 at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
        at System.IO.FileInfo.Delete()
        at NinjaTrader.Data.HistoricalDataManager.OnDeleteNod e(Object sender, EventArgs e)
        at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
        at System.Windows.Forms.MenuItem.MenuItemData.Execute ()
        at System.Windows.Forms.Command.Invoke()
        at System.Windows.Forms.Command.DispatchID(Int32 id)
        at System.Windows.Forms.Control.WmCommand(Message& m)
        at System.Windows.Forms.Control.WndProc(Message& m)
        at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
        at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
        at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
        2010-02-11 11:27:34:069 in OnUnhandledThreadException
        2010-02-11 11:27:34:069 ********* exception trapped *********
        2010-02-11 11:27:34:069 The process cannot access the file '20100211.Ask.ntd' because it is being used by another process.
        2010-02-11 11:27:34:069 at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
        at System.IO.FileInfo.Delete()
        at NinjaTrader.Data.HistoricalDataManager.OnDeleteNod e(Object sender, EventArgs e)
        at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
        at System.Windows.Forms.MenuItem.MenuItemData.Execute ()
        at System.Windows.Forms.Command.Invoke()
        at System.Windows.Forms.Command.DispatchID(Int32 id)
        at System.Windows.Forms.Control.WmCommand(Message& m)
        at System.Windows.Forms.Control.WndProc(Message& m)
        at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
        at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
        at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
        2010-02-11 11:28:32:704 (Mirus Alex) Data.Bars.GetBarsNow: instrument='GC 04-10' from='2010-02-08' to='2010-02-11 23:59:59' period=1 Tick splitAdjusted=False dividendAdjusted=False bars=0 session=''

        Comment


          #5
          Sorry I would not know what locks the file on your Ubunutu setup.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          181 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          334 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          258 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          358 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          187 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Working...
          X