Page 1 of 1

Error edit tag.

Posted: 12 Mar 2025 20:11
by Andre Kroon
Hello, Bernd after the last update i get this error when i want to edit a tag in the explorer.

12-3-2025 20:07:41 [v4.5.0.7]:********** Error/Exception Information **********
Error Message: The TokenEdit cannot display tokens with the same TokenEditToken.Value property values. Please set a unique value for the '' token.
Error Type: System.InvalidOperationException
Error Source: DevExpress.XtraEditors.v24.2.Void ThrowInvalidTokenException(DevExpress.XtraEditors.TokenEditToken, System.String, System.Exception)
Inner Exception: Item has already been added. Key in dictionary: '' Key being added: ''
********** System Stack Trace **********
at DevExpress.XtraEditors.TokenEditExceptionHelper.ThrowInvalidTokenException(TokenEditToken token, String propertyName, Exception innerException)
at DevExpress.XtraEditors.TokenEditTokenCacheBase.AddItem(TokenEditToken token)
at DevExpress.XtraEditors.TokenEditTokenCacheBase.DoUpdate(RepositoryItemTokenEdit properties)
at DevExpress.XtraEditors.Repository.RepositoryItemTokenEdit.OnTokenListChanged(Object sender, ListChangedEventArgs e)
at DevExpress.XtraEditors.TokenEditTokenCollectionBase.RaiseListChanged(ListChangedEventArgs e)
at System.Collections.CollectionBase.System.Collections.IList.Add(Object value)
at ProppFrexx.TAGEditor.wZQB()
at ProppFrexx.TAGEditor..ctor(MediaEntry track)
at ProppFrexx.BrowserTree.bO0V(TreeListNode )
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.XtraControl.WndProc(Message& m)
at DevExpress.XtraBars.Controls.CustomControl.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Error Message: Item has already been added. Key in dictionary: '' Key being added: ''
Error Type: System.ArgumentException
Error Source: mscorlib.Void Insert(System.Object, System.Object, Boolean)
********** System Stack Trace **********
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at DevExpress.XtraEditors.TokenEditTokenCacheBase.AddItem(TokenEditToken token)
********** End **********

Re: Error edit tag.

Posted: 12 Mar 2025 21:14
by radio42
Are you in the ProppFrexy Tagger or OnAir?

However, it sounds,like a specific audio file has an invalid TAG? Incan not see from the message, which TAG exactl it is, but it is probably the new Gender or Country?
These are multi value fields (separated by either a semicolon or slash character). However, each of those values must be unique.
And in you case that particular TAG field seems to be not unique.

I assume, that the ‚error‘ is not happening with all audio files, but only a very specific one.
So this audio file needs to be corrected first - so that no invalid TAG data should be present.

Re: Error edit tag.

Posted: 13 Mar 2025 15:46
by Andre Kroon
In Onair and the error is with all audio files.
In tagger is everything fine.
The new Gender or Country tag is empty, i didn't change anything.

Re: Error edit tag.

Posted: 13 Mar 2025 16:43
by Andre Kroon
Just select a random track in the explorer is the error comes up. have anyone else here this problem ?

Re: Error edit tag.

Posted: 13 Mar 2025 20:37
by radio42
I am currently on holiday, so I can not reproduce that right now. I’ll take a look next week when I am back.

Re: Error edit tag.

Posted: 14 Mar 2025 15:31
by Andre Kroon
Oké no problem at all, enjoy your vacation.

Re: Error edit tag.

Posted: 19 Mar 2025 18:06
by Andre Kroon
The problem is solved, i'd run back to an older version and update to the latest version again.
Greetings, Andre.