Radio Toolbox crashes on Add Stream

Ask questions, request features, or just complement us about our software and services.
Post Reply
qcindie
Posts: 3
Joined: Mon Dec 19, 2016 3:12 pm

Radio Toolbox crashes on Add Stream

Post by qcindie » Mon Dec 19, 2016 4:00 pm

Hi,

Everytime I try to add a stream, the program crashes. Here is the log:

10:52:14 PM December 19, 2016
:RadioToolbox.mainWnd.openFile
:ERROR
:System.IO.FileNotFoundException: Could not find file 'C:\Users\Administrator\AppData\Local\RadioToolbox\RadioToolbox.rtbx'.
: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamReader..ctor(String path)
at RadioToolbox.Storage.Open(Boolean merge)
at RadioToolbox.Interface.OpenFile(String filePath, Station stationInst, Boolean merge)
at RadioToolbox.mainWnd.openFile(String filePath, Boolean merge)
-------------------------------
10:52:24 PM December 19, 2016
:RadioToolbox.Interface.UnhandledException
:ERROR
:System.UriFormatException: Invalid URI: The hostname could not be parsed.
: at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at RadioToolbox.Station.GetFavicon()
at RadioToolbox.SequenceThread.doTask(Object stateInfo)
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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
-------------------------------
10:54:01 PM December 19, 2016
:RadioToolbox.Interface.UnhandledException
:ERROR
:System.UriFormatException: Invalid URI: The hostname could not be parsed.
: at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at RadioToolbox.Station.GetFavicon()
at RadioToolbox.SequenceThread.doTask(Object stateInfo)
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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
-------------------------------

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Radio Toolbox crashes on Add Stream

Post by Jay » Mon Dec 19, 2016 4:53 pm

Which version are you running?
- Jay

qcindie
Posts: 3
Joined: Mon Dec 19, 2016 3:12 pm

Re: Radio Toolbox crashes on Add Stream

Post by qcindie » Mon Dec 19, 2016 5:45 pm

It's v2.1.1.

I just noticed this is a 64-bit version. I'm using a VPS, is there a 32-bit version I can try?

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Radio Toolbox crashes on Add Stream

Post by Jay » Mon Dec 19, 2016 5:50 pm

It's a C# universal build so it will run on either platform. If your system is 32bit it should claim to be running in 32bit mode. Try completely uninstalling and reinstalling the build.

Also how are you adding the stream? Are you using context menu, pasting or loading a playlist?
- Jay

qcindie
Posts: 3
Joined: Mon Dec 19, 2016 3:12 pm

Re: Radio Toolbox crashes on Add Stream

Post by qcindie » Mon Dec 19, 2016 6:34 pm

I've uninstalled and reinstall several times. I'm adding the stream by creating a new station, double clicking it and right clicking and going to Add Stream. What happened was I accidentally pasted an SQL query instead of the IP address (oops) into the stream field. Since then it crashes the moment I try adding a stream. I've reinstalled and deleted my profile, no luck.

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Radio Toolbox crashes on Add Stream

Post by Jay » Wed Jan 04, 2017 12:47 pm

Interesting. Try uninstalling and then deleting the directory

%USERPROFILE%\AppData\Local\RadioToolbox

Then reinstall. That should clear out any old profiles that might have gotten you in a loop. I will definitely try putting more checks on input there.
- Jay

Post Reply