Author Topic: [6302] Error message when trying to visit a weblink via right-click menu  (Read 2137 times)

theta_wave

  • Sr. Member
  • ****
  • Posts: 680
The error message below pops up whenever I try to the visit a particular weblink (also see below) via the track information panel's right-click menu ("open in web browser:").  I usually choose not to display weblinks directly in the track information panel, but I chose to display this particular weblink on the panel after the right-click menu route kept failing.  When checking this weblink link as displayed on the track information panel, I did not encounter any error.

Code: "Error Message"
MusicBee v3.1.6302.41952 (Win6.1), 4 Apr 2017 10:06:

System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at #=qpp1jbwGpDtiXRsREZ1Im3bNprlKdXX01dlYz9IJam$8=.#=qr$DpbXnumFy4PY$ZezuB2A==(#=qefA7yOWPmqu1q0nkmvNXnA== #=qtISN74lu0$vbTfUTE_$rBA==, Boolean #=q6zP1Ew4vvWBBpSRtcgDjcQ==)
   at #=qW2uuxSW$8hKerISGBxNauRav6YQ7dJp5ee5S5g_th6A=.#=qlCFBpfsERb9amCEtZtbjV5SPzp_eN8Y2sf21LH2rf2s=(Object #=qehZ3zczakiz__JDqGPdMqw==, EventArgs #=qP2v$93GVCle37u7MvJMFxQ==)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.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)

Code: "Web Link Code"
$IsNull(<Catalog#>,http://vgmdb.net/search?q=<Album>,http://vgmdb.net/search?q=<Catalog#>)
Last Edit: April 04, 2017, 06:18:16 PM by theta_wave

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34359
i will see what i can do but it gets a bit tricky
this should work:
http://vgmdb.net/search?q=$IsNull(<Catalog#>,<Album>,<Catalog#>)

theta_wave

  • Sr. Member
  • ****
  • Posts: 680
i will see what i can do but it gets a bit tricky
this should work:
http://vgmdb.net/search?q=$IsNull(<Catalog#>,<Album>,<Catalog#>)
Oh, thanks for the new formula Steven.  Sorry, I should have known that a url query address embedded within a function could trip up MB's parser with respect to templates.  Looking back at some of my other web link templates, I see half of them begins with $IsNull and the other half begins with the url query address properly.  The latter obviously worked fine with right-click.  

No need to change anything Steven.  I see the light now.  Thanks!  :)

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34359
i made a recent change for handling other special characters for web links.
The next v3.1 update should now work with your existing templates


theta_wave

  • Sr. Member
  • ****
  • Posts: 680