rscustom / rocksmith-custom-song-toolkit

Custom song toolkit for Rocksmith and Rocksmith 2014
http://www.rscustom.net/
343 stars 80 forks source link

Sequence contains more than one matching element #364

Closed Roabs closed 2 years ago

Roabs commented 3 years ago

When I try to generate the project, regardless of the file, it pops up an error: Sequence contains more than one matching element. I use version 2.9.2.1 image 2021-02-05` 18:31:27.1592 | RocksmithToolkitGUI.Program (INFO) : RocksmithToolkitGUI.Program.Main

2021-02-05 18:31:27.9827 | RocksmithToolkitGUI.Program (INFO) : RocksmithToolkitGUI.MainForm.MainForm_Shown

2021-02-05 18:31:29.2832 | RocksmithToolkitGUI.Program (ERROR) : RocksmithToolkitGUI.Program+<>c__DisplayClass0_0.

b__1

  • Application.ThreadException

Source: System.Core Target: TSource GetOneWithPossibleDefault[TSource](System.Linq.Parallel.QueryOperator1[TSource], Boolean, Boolean) System.InvalidOperationException: Sequence contains more than one matching element at System.Linq.ParallelEnumerable.GetOneWithPossibleDefault[TSource](QueryOperator1 queryOp, Boolean throwIfTwo, Boolean defaultIfEmpty) at System.Linq.ParallelEnumerable.SingleOrDefault[TSource](ParallelQuery1 source, Func2 predicate) at RocksmithToolkitLib.Ogg.Wwise.GetWwisePath() at RocksmithToolkitGUI.DLCPackageCreator.DLCPackageCreator.btnPackageGenerate_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)

2021-02-05 18:33:29.9364 | RocksmithToolkitGUI.Program (ERROR) : RocksmithToolkitGUI.Program+<>c__DisplayClass0_0.

b__1

  • Application.ThreadException

Source: System.Core Target: TSource GetOneWithPossibleDefault[TSource](System.Linq.Parallel.QueryOperator1[TSource], Boolean, Boolean) System.InvalidOperationException: Sequence contains more than one matching element at System.Linq.ParallelEnumerable.GetOneWithPossibleDefault[TSource](QueryOperator1 queryOp, Boolean throwIfTwo, Boolean defaultIfEmpty) at System.Linq.ParallelEnumerable.SingleOrDefault[TSource](ParallelQuery1 source, Func2 predicate) at RocksmithToolkitLib.Ogg.Wwise.GetWwisePath() at RocksmithToolkitGUI.DLCPackageCreator.DLCPackageCreator.btnPackageGenerate_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)

L0FKA commented 3 years ago

Hello, It seems someting wrong with your wwise config, or you've got some weird edgecase bug? please let me know what wwise version you've got and show me screenshot of your config window, main issue here is it trying to get wwise exe path and has controversy what to return as such

Roabs commented 3 years ago

Yes thank you but I managed to fix it. I had the wrong version of wwise (2019.2 I think) so I installed the 2013 version and now it works