2018-09-15, 00:12
(2018-09-14, 23:57)redglory Wrote:No, I'm using this in the command line: -updatetvshows -scrapetvshows newauto all -nowindow(2018-09-14, 23:55)tr0nllam Wrote: Has anyone tried to setup Sonarr to run Ember when it downloads a new episode? I tried setting it up and every time Sonarr launches Ember, it gives a "object reference not set to an instance of an object" error. Oddly, if I have Ember open already, it works fine.Perhaps you are calling ember without -nowindow parameter?
Any ideas?
I used to have it setup this exact same way and I swear it worked, so I don't know what's going on.
Here's the error from the Ember log:
2018-09-14 16:20:13.2274,Ember_Media_Manager.My.MyApplication,Ember_Media_Manager.My.MyApplication.MyApplication_Startup,1,INFO,====Ember Media Manager starting up====,
2018-09-14 16:20:13.2524,Ember_Media_Manager.My.MyApplication,Ember_Media_Manager.My.MyApplication.MyApplication_Startup,1,INFO,====Version 1.4.90 x64,
2018-09-14 16:20:13.2693,Ember_Media_Manager.My.MyApplication,Ember_Media_Manager.My.MyApplication.MyApplication_Startup,1,INFO,"[CommandLine] Using profile ""Default"".",
2018-09-14 16:20:15.0785,EmberAPI.Database,EmberAPI.Database.Connect_MyVideos,1,ERROR,Connect_MyVideos Unable to open media database connection.,"EXCEPTION OCCURRED:System.DllNotFoundException: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEnum op)
at System.Data.SQLite.SQLite3.StaticIsInitialized()
at System.Data.SQLite.SQLiteLog.Initialize()
at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework)
at EmberAPI.Database.Connect_MyVideos()* at System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEnum op)
at System.Data.SQLite.SQLite3.StaticIsInitialized()
at System.Data.SQLite.SQLiteLog.Initialize()
at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework)
at EmberAPI.Database.Connect_MyVideos()"
2018-09-14 16:20:15.0785,Ember_Media_Manager.My.MyApplication,Ember_Media_Manager.My.MyApplication.MyApplication_UnhandledException,1,ERROR,EmberAPI,"EXCEPTION OCCURRED:System.NullReferenceException: Object reference not set to an instance of an object.
at EmberAPI.Database.LoadAllGenres()
at Ember_Media_Manager.frmMain.frmMain_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)* at EmberAPI.Database.LoadAllGenres()
at Ember_Media_Manager.frmMain.frmMain_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)"
2018-09-14 16:21:06.6937,Ember_Media_Manager.frmMain,System.Windows.Forms.Form.OnFormClosed,1,INFO,====Ember Media Manager exiting====,