Author Topic: Add-on Manager  (Read 69646 times)

Mephisto

  • Jr. Member
  • **
  • Posts: 33
Hi, I have the following error when I try to uninstall plugins (I tried with Last.fm Playing Track Data (not a dll plugin, but still has the problem), Last.fm Playlist generator, and Last.fm Similar tracks.



MusicBee v2.5.5721.12459 (Win6.1), 8 sept. 2015 12:12:

System.NullReferenceException: Object reference not set to an instance of an object.
   at MusicBeePlugin.MainWindow.UninstallItem(String sectionName, CustomizationEntry entry)
   at MusicBeePlugin.MainWindow.applyButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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)


WannaBee

  • Full Member
  • ***
  • Posts: 162
Thank you very much for your plugin, Add-on Manager, which I installed for the first time a little while ago.

I have yet to get it running properly, as retrieving the metadata does not progress beyond about 50%, leading me to cancel the process. Repeated starts delivers the same result.

I appreciate any advice given.

[EDIT] Please ignore. It eventually passed the 50% mark.
Last Edit: September 08, 2015, 12:24:18 PM by WannaBee

boroda

  • Hero Member
  • *****
  • Posts: 3803
retrieving metadata for the 1st time should be much faster with *clean* install of plugin latest version (suggest that you tried to use previous version of plugin). but as you solved this, i wont give instructions how to make clean install. for 1st time users this is not a problem.

WannaBee

  • Full Member
  • ***
  • Posts: 162
retrieving metadata for the 1st time should be much faster with *clean* install of plugin latest version (suggest that you tried to use previous version of plugin). but as you solved this, i wont give instructions how to make clean install. for 1st time users this is not a problem.

Actually mine was a first install of the latest version of Add-on Manager. Does it usually slow down retrieval at about the 50% mark?
Last Edit: September 08, 2015, 03:02:44 PM by WannaBee

boroda

  • Hero Member
  • *****
  • Posts: 3803
Does it usually slow down retrieval at about the 50% mark?
yes. its because progressbar shows (roughly) percentage of processed online repostories, and only 1 of 3 repositories stores much data.
Last Edit: September 08, 2015, 04:22:14 PM by boroda74

Mr. Trev

  • Sr. Member
  • ****
  • Posts: 422
Just want to say thanks for the plugin, but I can't get it running.
Using the latest update, I get this error:


MusicBee v2.5.5721.12459 (Win6.1), 8 Sep 2015 10:37:

System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at StorageApi.GoogleDrive.DownloadFile(String fileId, String downloadFilePathName)
   at StorageApi.StorageApiFile.DownloadFile(String filePathName)
   at MusicBeePlugin.MainWindow.DownloadRepositorySection(String repositoryName, String sectionName, StorageApiFile root, SortedDictionary`2 lastUpdatedDates)
   at MusicBeePlugin.MainWindow.DownloadRepository(String repositoryName)
   at MusicBeePlugin.MainWindow.RetreiveMatadata(Object obj)
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)
---> (Inner Exception #0) System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).<---

boroda

  • Hero Member
  • *****
  • Posts: 3803
google drive api is very buggy (i've tired of making workarounds for it, especially retrying failed requests dozens of times waiting for success). just restart mb and try again (i think all be without errors next time).

pieralessandro

  • Guest
Good afternoon everybody,
today I got the following error when I tried to use this Add-on Manager:

MusicBee v3.0.5895.37007 (Win6.1), 24 feb 2016 14:42:

System.ObjectDisposedException: Impossibile accedere a un oggetto eliminato.
Nome oggetto: '#=qCsb01OcKbR$AufYeib1k5wY7FyIurbHu7KBANQ63Cbc='.
   in System.Windows.Forms.Control.CreateHandle()
   in System.Windows.Forms.Form.CreateHandle()
   in System.Windows.Forms.Control.get_Handle()
   in System.Windows.Forms.Form.UpdateHandleWithOwner()
   in System.Windows.Forms.Form.CreateHandle()
   in System.Windows.Forms.Control.get_Handle()
   in System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   in System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   in MusicBeePlugin.PluginWindowTemplate.Display(Boolean modal)
   in MusicBeePlugin.Plugin.CommandEventHandler(Object sender, EventArgs e)
   in #=qxdSUzfnYT5wAyjItYrr67wr0iChKLekiOM3Uy3Spzd8Si$sygsaIXDHWRYtqeKsq.#=qwOmjiq7WkRmsGLi5mqqEoQ==(Object #=qNA975iityFaJ4HZKdiYFZg==, EventArgs #=q6se_n9RE9uLNPeOKJhpr6g==)
   in System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   in System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   in System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   in System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   in System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   in System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   in System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   in System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   in System.Windows.Forms.ToolStrip.WndProc(Message& m)
   in System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Have you got any idea about this error?
Thanks for your kind support.

boroda

  • Hero Member
  • *****
  • Posts: 3803
suggest that have switched view (e.g. to mini player or compact player), may be then have switched view back, then have tried to open plugin window. can you reproduce this bug?

pieralessandro

  • Guest
Hi Boroda
I tried to deactivate mini player view and Add-on manager Plugin started working again properly.

pieralessandro

  • Guest
No I get the following error:

25/02/2016 12:35:05 - 6.1.7601.65536 - 3.0.5895.37007 - The service drive has thrown an exception: Google.GoogleApiException: Google.Apis.Requests.RequestError
Internal Error [500]
Errors [
   Message[Internal Error] Location[ - ] Reason[internalError] Domain[global]
]

   in Google.Apis.Requests.ClientServiceRequest`1.Execute()
   in StorageApi.GoogleDrive.DownloadFile(String fileId, String downloadFilePathName)
   in StorageApi.StorageApiFile.DownloadFile(String filePathName)
   in MusicBeePlugin.MainWindow.DownloadRepositorySection(String repositoryName, String sectionName, StorageApiFile root, SortedDictionary`2 lastUpdatedDates)
   in MusicBeePlugin.MainWindow.DownloadRepository(String repositoryName)
   in MusicBeePlugin.MainWindow.RetreiveMatadata(Object obj)
   in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading.ThreadHelper.ThreadStart(Object obj)


boroda

  • Hero Member
  • *****
  • Posts: 3803
Hi Boroda
I tried to deactivate mini player view and Add-on manager Plugin started working again properly.
this was a known bug for additional tagging tools plugin and it has been fixed for this plugin. add-on manager shares part of source code with tag tools, so i'm surprised that this is present in add-on manager. if its very important for you i can fix it, or just start mb in full player mode and use plugin before switching to another view. probably i'll fix this bug anyway, but now it's not my priority task.

boroda

  • Hero Member
  • *****
  • Posts: 3803
No I get the following error:

25/02/2016 12:35:05 - 6.1.7601.65536 - 3.0.5895.37007 - The service drive has thrown an exception: Google.GoogleApiException: Google.Apis.Requests.RequestError
Internal Error [500]
Errors [
   Message[Internal Error] Location[ - ] Reason[internalError] Domain[global]
]

   in Google.Apis.Requests.ClientServiceRequest`1.Execute()
   in StorageApi.GoogleDrive.DownloadFile(String fileId, String downloadFilePathName)
   in StorageApi.StorageApiFile.DownloadFile(String filePathName)
   in MusicBeePlugin.MainWindow.DownloadRepositorySection(String repositoryName, String sectionName, StorageApiFile root, SortedDictionary`2 lastUpdatedDates)
   in MusicBeePlugin.MainWindow.DownloadRepository(String repositoryName)
   in MusicBeePlugin.MainWindow.RetreiveMatadata(Object obj)
   in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading.ThreadHelper.ThreadStart(Object obj)



my related earlier answer (for similar bug reported not by you):
google drive api is very buggy (i've tired of making workarounds for it, especially retrying failed requests dozens of times waiting for success). just restart mb and try again (i think all be without errors next time).

i've tried to move plugin from google drive to microsoft one drive (which seems to be faster and more stable/reliable), but there is some problems. not sure when (and if) i complete this work.

boroda

  • Hero Member
  • *****
  • Posts: 3803
IMPORTANT NOTE: I don't have enough time to maintain online repositories up to date. Let me know if somebody is willing to do this.