• Welcome to RadioDJ - Free Radio Automation Software Forum. Please log in or sign up.

RadioDJ needs two files as read-only

Started by chrismadog, March 18, 2025, 09:48:32 AM

chrismadog

Hi all,

I had a problem on three machines the same - restarting RadioDJ after changes made it come up with the splash window which freezes in place and Zone 1 is all scrunched up. Clicking on close-window and the "are you sure ?" window is behind the splash window (press enter and it closes).

I've found that if I make "settings_general.xml" and "setting_tabs.xml" read-only (RO), it works perfectly but some setting then cannot be changed.(well, they can but the RO has to be taken off, the settings changed and the RO put back on before closing RadioDJ).

The problem seems to be when RadioDJ is closed.

It happens on my laptop, and both servers at the station.

Regards,
Chris

Presenter - 4SDB - Rose City FM 89.3 - Warwick, QLD Australia.
Station Engineer - http://rosecityfm.org.au
Community Radio - Bringing you the best of local radio.

DJDinkyDiamond

Hi Chris,
Are you using the same database on the 3 machines?
What RDJ version?
Is there something special to mention about your infrastructure?
Normally those setting_ files should be RW.

chrismadog

Quote from: DJDinkyDiamond on March 19, 2025, 07:33:41 PMHi Chris,
Are you using the same database on the 3 machines?
Yep - Maria DB v10.10 and v10.60

QuoteWhat RDJ version?
v2.0.4.5 and v2.0.4.7


QuoteIs there something special to mention about your infrastructure?
Nope. Nothing special;

Laptop 2.7GHz HP Envy i5 16GB RAM
i7, 3.6GHz Gen 12 tower with 32GB RAM,
i7, 3.6GHz Gen 7 Tower with 16GB RAM
Xenon 2.4GHz 24GB RAM

All machines have SSD primary drives with lotsa space on them.

QuoteNormally those setting_ files should be RW.

Yep. Agreed, They should be RW. That is why I reported a problem. :)

I did mean to add the specs of the machines. Thanks for reminding me :)

Chris M
Presenter - 4SDB - Rose City FM 89.3 - Warwick, QLD Australia.
Station Engineer - http://rosecityfm.org.au
Community Radio - Bringing you the best of local radio.

Kiwi

Have you checked the RadioDJ logs and/or Windows Event Viewer to see if anything is noted in them?

chrismadog

Quote from: Kiwi on March 20, 2025, 06:02:14 PMHave you checked the RadioDJ logs and/or Windows Event Viewer to see if anything is noted in them?

Aha. Yes. It's been a while so I made the files RW and opened up RadioDJ, played a couple of songs for good mneasure and then shut it down.
On restart, it threw an exception error and the problem appeared. This was with RDJ v2.0.4.8

RadioDJ writes these two settings files when it exits (and only these two).

1 Apr 2025 18:13:33
Top-level control cannot be added to a control.   at System.Windows.Forms.Control.ControlCollection.Add(Control value)
   at MdiTabControl.TabControl.TabPageCollection.OnInsertComplete(Int32 index, Object value)
   at System.Collections.CollectionBase.System.Collections.IList.Add(Object value)
   at MdiTabControl.TabControl.TabPageCollection.Add(Form Form)
   at \,2l-6jx|Hok8`TG(\]QYJpTI|.�‎�����‮‬�‫��‪‌�‪����‭‭‭���‮�‫‌‌�‬�‏��‎‏‮(TabPageCollection , Form )
   at \,2l-6jx|Hok8`TG(\]QYJpTI|.‎�‫���������‬���‫�‎‏��‭‮�‪‬�‪�‫�‌‏‮‪�‮�‏‮()
   at \,2l-6jx|Hok8`TG(\]QYJpTI|.�‪‭‏‬��‌‎�‌����‎‫��‭‪‫‫�‌‬�‏‏‬�‬‪��‏��‎‮()
   at \,2l-6jx|Hok8`TG(\]QYJpTI|.��‭������‎�‫‏�����‪‪����‭�‭�‎�‌‌�‭��‫‎‪‌‮(Object , EventArgs )
   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.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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)

Regards,
Chris M
Presenter - 4SDB - Rose City FM 89.3 - Warwick, QLD Australia.
Station Engineer - http://rosecityfm.org.au
Community Radio - Bringing you the best of local radio.