Author Topic: RadioDj notes plugin problem .NET error (when running multiple instances!)  (Read 3972 times)

argeniosouza

  • New User

  • Offline
  • *
  • 9
Hi, good morning.

I´m new here.
So, I´m starting an evaluation of RadioDJ for our communitary station.

In our tests, a valuable resource is the notes plugin. But, I´m havings some issues with RadioDJ.

When I start the first time RDJ with notes, runs ok. But, in the second start, it shows an error. I´ll report this error.
If I delete notes from plugins, it starts Ok.

So, if you can help me, we´ll probably start to run RadioDJ in our station, and we like so much this software.

Thank you very much.


The dialog box error message:

Code: [Select]
Consulte o final desta mensagem para obter detalhes sobre como chamar a
depuração just-in-time (JIT) em vez desta caixa de diálogo.

************** Texto de Exceção **************
System.ArgumentException: Não é possível adicionar o controle de nível superior a um controle.
   em System.Windows.Forms.Control.ControlCollection.Add(Control value)
   em MdiTabControl.TabControl.TabPageCollection.OnInsertComplete(Int32 index, Object value)
   em System.Collections.CollectionBase.System.Collections.IList.Add(Object value)
   em MdiTabControl.TabControl.TabPageCollection.Add(Form Form)
   em (Object , Form )
   em 䲩ᵑ瑗⬣㌗燖፮⠕.꼥ዀ㤇뽰䀯ꤰ(Object , Form 蕎㮐⊝䔵囃냕ࢻ釳)
   em RadioDJ.MainForm.怡㝅왜ꛒ♀ず鶌ᆿ()
   em RadioDJ.MainForm.ꀙដ듿꫖쑗薶渜쎱()
   em RadioDJ.MainForm.<鍅숟쥲㴫섲夓(Object 餵 澭⎺ꐪ낗, EventArgs 薮ꞽ谀ᗋ犌拀榫)
   em System.EventHandler.Invoke(Object sender, EventArgs e)
   em System.Windows.Forms.Form.OnLoad(EventArgs e)
   em System.Windows.Forms.Form.OnCreateControl()
   em System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   em System.Windows.Forms.Control.CreateControl()
   em System.Windows.Forms.Control.WmShowWindow(Message& m)
   em System.Windows.Forms.Control.WndProc(Message& m)
   em System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   em System.Windows.Forms.ContainerControl.WndProc(Message& m)
   em System.Windows.Forms.Form.WmShowWindow(Message& m)
   em System.Windows.Forms.Form.WndProc(Message& m)
   em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Conjuntos de Módulos (Assemblies) Carregados **************
mscorlib
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
RadioDJ
    Versão do Conjunto de Módulos (Assembly): 1.7.9.0
    Versão do Win32: 1.7.9.0
    Base de Código: file:///C:/RadioDJ/RadioDJ.exe
----------------------------------------
System
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
蛘᫥淸⭡傅栛㚵
    Versão do Conjunto de Módulos (Assembly): 0.0.65535.65535
    Versão do Win32: 1.7.9.0
    Base de Código: file:///C:/RadioDJ/RadioDJ.exe
----------------------------------------
Microsoft.VisualBasic
    Versão do Conjunto de Módulos (Assembly): 8.0.0.0
    Versão do Win32: 8.0.50727.5483 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Bass.Net
    Versão do Conjunto de Módulos (Assembly): 2.4.10.4
    Versão do Win32: 2.4.10.4
    Base de Código: file:///C:/RadioDJ/Bass.Net.DLL
----------------------------------------
System.Windows.Forms
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5488 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
PluginInterface
    Versão do Conjunto de Módulos (Assembly): 1.0.0.0
    Versão do Win32: 1.6.0.0
    Base de Código: file:///C:/RadioDJ/PluginInterface.DLL
----------------------------------------
囏┕礽皅濱建뜏
    Versão do Conjunto de Módulos (Assembly): 0.0.65535.65535
    Versão do Win32: 1.6.0.0
    Base de Código: file:///C:/RadioDJ/PluginInterface.dll
----------------------------------------
System.Data
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Devart.Data.MySql
    Versão do Conjunto de Módulos (Assembly): 6.60.268.0
    Versão do Win32: 6.60.268.0
    Base de Código: file:///C:/RadioDJ/Devart.Data.MySql.DLL
----------------------------------------
Devart.Data
    Versão do Conjunto de Módulos (Assembly): 5.0.367.0
    Versão do Win32: 5.0.367.0
    Base de Código: file:///C:/RadioDJ/Devart.Data.DLL
----------------------------------------
System.Transactions
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
VU_MeterLibrary
    Versão do Conjunto de Módulos (Assembly): 1.0.0.0
    Versão do Win32: 1.0.0.0
    Base de Código: file:///C:/RadioDJ/VU_MeterLibrary.DLL
----------------------------------------
MdiTabControl
    Versão do Conjunto de Módulos (Assembly): 1.1.4874.26969
    Versão do Win32: 1.1.4874.26969
    Base de Código: file:///C:/RadioDJ/MdiTabControl.DLL
----------------------------------------
JCS.Components.NeroBar
    Versão do Conjunto de Módulos (Assembly): 1.3.0.0
    Versão do Win32: 1.3.0.0
    Base de Código: file:///C:/RadioDJ/JCS.Components.NeroBar.DLL
----------------------------------------
Plugin_AuxPlayers
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_AuxPlayers.dll
----------------------------------------
Plugin_Carts
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_Carts.dll
----------------------------------------
Plugin_History
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_History.dll
----------------------------------------
Plugin_Notes
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_Notes%20(2).dll
----------------------------------------
Plugin_Notes
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_Notes%20(3).dll
----------------------------------------
Plugin_Notes
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_Notes%20(4).dll
----------------------------------------
Plugin_Notes
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_Notes.dll
----------------------------------------
Plugin_PlayingInfo
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_PlayingInfo.dll
----------------------------------------
Plugin_Playlist
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_Playlist.dll
----------------------------------------
Plugin_PlaylistBuilder
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_PlaylistBuilder.dll
----------------------------------------
Plugin_Search
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_Search.dll
----------------------------------------
Plugin_SongDetails
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_SongDetails.dll
----------------------------------------
Plugin_SoundProcessing
    Versão do Conjunto de Módulos (Assembly): 4.0.0.0
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_SoundProcessing.dll
----------------------------------------
Plugin_TracksManager
    Versão do Conjunto de Módulos (Assembly): 4.1.0.0
    Versão do Win32: 4.1.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_TracksManager.dll
----------------------------------------
Plugin_Utilities
    Versão do Conjunto de Módulos (Assembly): 4.1.0.0
    Versão do Win32: 4.1.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_Utilities.dll
----------------------------------------
System.Web
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
mscorlib.resources
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    Base de Código: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ﭮ놂葎䗅㛔㙻嵧
    Versão do Conjunto de Módulos (Assembly): 0.0.65535.65535
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_History.dll
----------------------------------------
System.Windows.Forms.resources
    Versão do Conjunto de Módulos (Assembly): 2.0.0.0
    Versão do Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
    Base de Código: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_pt-BR_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
堚䈺ૻထゞ盬 
    Versão do Conjunto de Módulos (Assembly): 0.0.65535.65535
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_Notes%20(2).dll
----------------------------------------
믤䢲ᅠ◻࠱灊꧗
    Versão do Conjunto de Módulos (Assembly): 0.0.65535.65535
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_PlayingInfo.dll
----------------------------------------
⇟㹃鯧ၥᛥ妿䰊Ǻ
    Versão do Conjunto de Módulos (Assembly): 0.0.65535.65535
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_Playlist.dll
----------------------------------------
Ͽ嗩䕯㲎㢫瘍ऐ龷
    Versão do Conjunto de Módulos (Assembly): 0.0.65535.65535
    Versão do Win32: 4.0.0.0
    Base de Código: file:///C:/RadioDJ/Plugins/Plugin_PlaylistBuilder.dll
----------------------------------------
SPB
    Versão do Conjunto de Módulos (Assembly): 1.0.3529.753
    Versão do Win32: 1.0.3529.753
    Base de Código: file:///C:/RadioDJ/SPB.DLL
----------------------------------------

************** Depuração JIT **************
Para habilitar a depuração just-in-time (JIT), o arquivo .config deste
aplicativo ou computador (machine.config) deve ter o valor
jitDebugging definido na seção system.windows.forms.
O aplicativo também deve ser compilado com a depuração
habilitada.

Por exemplo:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Quando a depuração JIT está habilitada, qualquer exceção não tratada
será enviada ao depurador JIT registrado no computador,
em vez de ser tratada nesta caixa de diálogo.


argeniosouza

  • New User

  • Offline
  • *
  • 9
Re: RadioDj notes plugin problem .NET error
« Reply #1 on: April 02, 2015, 02:56:50 PM »
Another information:

a-It´s a totally fresh install

b-I tried something based in changing zones. Take a look a this:


1)started RDJ with notes in the zone 0 -> the issue starts
2)changed the notes zone to 3. ok! Works.
3)ended RDJ
4)started RDJ. starts ok. changed the notes zone to 2. Ok. Works!
5)ended RDJ
6)started RDJ. Issue again. If I change the zone 3, end RDJ, starts again and change the zone, it Works.

Strange. It happens in two machines with Windows 7 (one Ultimate x32 other Home Basic x64).

Very strange. When it starts with issue, the first notes appears in the upper-left corner.

AndyDeGroo

  • Guest
Re: RadioDj notes plugin problem .NET error
« Reply #2 on: April 03, 2015, 11:20:14 AM »
I can see from the exception trace list that you have four notes plugin dll files. That could be the cause.
Code: [Select]
C:/RadioDJ/Plugins/Plugin_Notes.dll
C:/RadioDJ/Plugins/Plugin_Notes (2).dll
C:/RadioDJ/Plugins/Plugin_Notes (3).dll
C:/RadioDJ/Plugins/Plugin_Notes (4).dll

argeniosouza

  • New User

  • Offline
  • *
  • 9
Re: RadioDj notes plugin problem .NET error
« Reply #3 on: April 03, 2015, 04:21:42 PM »
@AndyDeGroo @Marius

Hi!

So, I tested again.
It Works flawlessly if I run just one notes instance. But, why in 1.7.6 i run 5 instances of notes flawlessly and now just 1?

This really bothers me, because we need on screen more than 1 notes plugin. And: why not each Notes has its own configuration? For example: run on notes in zone 3 and one or 2 in zone 2?

A strange thing: when I start with 2 notes, RDJ returns that error. If I continue running, and change the notes to plugin zone 3, close RDJ and run again, and change to zone 2, it Works flawlessly. If I close, open again in zone 2, it returns the error. So: probably there´s an issue on RDJ.

Another importante information: on setting_tabs.xml - if I configure, without having two instances of notes running, a second Notes Plugin on <Value> string, it returns the same error. For example:

<Settings>
    <Key>zone2</Key>
    <Value>Song Search;Cart Players;Notes Plugin; Notes Plugin;</Value>
  </Settings>



Thank you.

Regards.

argeniosouza

  • New User

  • Offline
  • *
  • 9
Re: RadioDj notes plugin problem .NET error
« Reply #4 on: April 03, 2015, 04:52:25 PM »
One other interesting information about this bug: if put two copies of notes and two copies of search.

In the first time I run (with stock setting_tabs.xml file), there´s no issue and starts ok.

If I close RDJ and start again, the issue appears. If I close RDJ, back the stock setting_tabs.xlm file and runs again, the issue disappears.

Happens all the time the search, or notes, or any plugin is repeated on file.

Jhonny

  • Hero Member

  • Offline
  • *****
  • 4115
  • Personal Text
    Peace, enjoy life, last sleep is longer than live!
    • Jhonny's RadioDJ tutorials.
Re: RadioDj notes plugin problem .NET error
« Reply #5 on: April 03, 2015, 05:06:12 PM »
You can have only have one search and note plugin in rdj else it will messup rdj on a new start.
R.T.F.M. means to me, Read The Fantastic Messages.
Einstein says: Make things simple, but don't make simple things simpler! (wise) this is just my life lesson you know.

I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit  https://radiodj.info

Testing RadioDJ v2.0.3.4 Beta

Marius

  • Administrator
  • Hero Member

  • Offline
  • *****
  • 5721
    • Radio DJ
Re: RadioDj notes plugin problem .NET error
« Reply #6 on: April 03, 2015, 05:38:15 PM »
I really don't remember where i wrote that the plugin files can be copied multiple times and will work.
If you want to do experiments, that's fine for me, but at least when you test the program and send feedback, do it like it supposed to without any hacks. Or at least make it clear for the users who are trying to help you what you did, because i thought that is a problem with the plugin itself and i was trying to reproduce the error instead of focusing to more important problems!

Conclusion: No, you cannot just copy plugin files and expect to work, because they have a unique internal name and more instances will lead to conflicts.
DOWNLOADS PAGE

HOW TO FIX RADIODJ DATABASE
----------------
Please don't PM me for support requests. Use the forums instead.

argeniosouza

  • New User

  • Offline
  • *
  • 9
It just proves, that not all upgrades brings upgrades.

Older versions, works flawlessly multiple instances of plugins. I imagined it was common - more people here does this.

Yes, I'm trying different things - and I think it's how things evolutes.

So, I'm sorry if I supposed RDJ and better than it are.

Marius

  • Administrator
  • Hero Member

  • Offline
  • *****
  • 5721
    • Radio DJ
That's fine and thanks for the support argeniosouza. It looks that for us progress has a different meaning.
DOWNLOADS PAGE

HOW TO FIX RADIODJ DATABASE
----------------
Please don't PM me for support requests. Use the forums instead.

argeniosouza

  • New User

  • Offline
  • *
  • 9
@Marius

I'm sorry for beeing rude and harsh at my reply.

Really, we are loving to evaluate RDJ, it's a masterpiece of software, great design.

But, as I told, we are testing since november in a paralel machine. We pretend to colaborate and make donations, etc.

This issue, for us, will be a great punch in face. Notes plugin in 4 instances is something we really need. Reading the forum, I know there are more people which needs more instances of notes and search plugin.

My solution, now, when we need to restart RDJ, is a batch file which delete the setting_tabs.xml file and copies a new clean version. It's now what we want to work, it's sound a little bit strange to do this kind of .bat files.

So, I hope you add this issue in your buglist and correct it. I knows its your most important issue to correct, but, for many user could be important.

May this could be a simple string treatment. So, thanks for your comprehension and for developing RDJ.

AndyDeGroo

  • Guest
I think it is much better to have two monitors attached to the studio computer so you can use RadioDJ on one screen and document with notes, web browser, Skype or any other application on the second screen. Computer screens have become cheap nowadays and second screen can give you more flexibility than a single-purpose feature like notes plugin. Speaking from experience - once you go multi-screen, you can't go back.
IMHO, notes plugin is too limited in its functionality and adds unnecessary clutter to RadioDJ window.

I've seen some using studios tablets for reading notes and checking social media accounts. Even better if the tablet is attached to a flexible stand. Seems like a good solution for notes or any other secondary tasks.

Quote
We pretend to colaborate and make donations, etc.
I don't want to appear rude but you are using an obscure meaning of pretend in a strange context.