sigprogramming / tyouseisientool

174 stars 6 forks source link

when i open a new midi #19

Closed alicezuber closed 1 year ago

alicezuber commented 1 year ago
2023-10-07 21:01:43.625 ThreadID:1  INFO    NEUTRINOTyouseiSienTool Version: 1.9.0.2
2023-10-07 21:01:44.355 ThreadID:1  INFO    Device: VX239 (NVIDIA High Definition Audio), NVIDIA High Definition Audio, Active
2023-10-07 21:01:44.359 ThreadID:1  INFO    Format: 48000 Hz 32 bit 2 channels
2023-10-07 21:01:44.359 ThreadID:1  INFO    Latency: 200
2023-10-07 21:01:44.371 ThreadID:1  INFO    Initialized audio device.
2023-10-07 21:01:44.493 ThreadID:1  INFO    Loaded config file.
2023-10-07 21:01:44.528 ThreadID:1  INFO    Initialized application.
2023-10-07 21:01:52.182 ThreadID:1  INFO    MIDI file with a resolution of 960 is loaded.
2023-10-07 21:01:52.250 ThreadID:1  INFO    Timing prediction is in progress.
2023-10-07 21:01:52.397 ThreadID:1  FATAL   DispatcherUnhandledException
System.ArgumentOutOfRangeException: '索引超出範圍。必須為非負數且小於集合的大小。
參數名稱: index' at ThrowArgumentOutOfRangeException
System.Collections.ListDictionaryInternal
   於 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   於 NEUTRINOTyouseiSienTool.Entity.NeutrinoContent.<>c__DisplayClass73_0.<Phonemize>b__1(String line)
   於 System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   於 System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   於 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   於 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   於 NEUTRINOTyouseiSienTool.Infrastructure.TimingPredictionTask.<Process>d__2.MoveNext()
--- 先前擲回例外狀況之位置中的堆疊追蹤結尾 ---
   於 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   於 NEUTRINOTyouseiSienTool.Infrastructure.BackgroundProcessRunner.<ProcessTasks>d__29.MoveNext()
--- 先前擲回例外狀況之位置中的堆疊追蹤結尾 ---
   於 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   於 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   於 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2023-10-07 21:01:52.508 ThreadID:1  INFO    Finalized application.
sigprogramming commented 1 year ago

Thank you for the report! I will look into the cause of this problem!

sigprogramming commented 1 year ago

I have looked into it, and I think it is probably due to OneDrive syncing, etc., not reading/writing the temporary files (located in the temp folder in the tool folder) correctly. I think turning off OneDrive syncing or moving the tool folder outside the OneDrive folder will stop the error. If the problem persists, please send me the details.