Author Topic: Notification sound "crashes"  (Read 1571 times)

0 Members and 1 Guest are viewing this topic.

NihongoNooblet

  • Youngling
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
  • Twitch Name: NihongoNooblet
Notification sound "crashes"
« on: January 04, 2015, 05:17:43 AM »
Hello All,

It appears that the coding requires use of Windows Media Player to function for the notification sounds. I uninstalled Windows Media Player and deepbot keeps throwing a crash error.

If the coding can not be modified to use an alternate source, could it at least be set so the dialog box states that Windows Media Player must be installed and functional to use? Although I'd prefer not to be required to have WMP installed to use the notification  :)

See attached image file and logs below:
03 Jan 15:03:11,437 - 0.6.0.8: Crashed Retrieving the COM class factory for component with CLSID {6BF52A52-394A-11D3-B153-00C04F79FAA6} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
03 Jan 15:03:11,453 - 0.6.0.8: Crashed    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at DeepBot.Helper.Player..cctor()
03 Jan 15:03:25,158 - 0.6.0.8: Crashed The type initializer for 'DeepBot.Helper.Player' threw an exception.
03 Jan 15:03:25,164 - 0.6.0.8: Crashed    at DeepBot.Helper.Player.Play(String filename)
   at DeepBot.FollowNotificationConfig.PlayNewFollowerSound()
   at DeepBot.FollowNotificationConfig.btnSubPreview_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Label.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Thanks,
NihongoNooblet

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: Notification sound "crashes"
« Reply #1 on: January 04, 2015, 10:05:09 AM »
Yes - To play MP3 files, it uses a windows media player codec.
I will look to package the required files with DeepBot and register them on install, so you won't need to have WMP installed.

Thanks for the bug report, and investigating the root cause.