Open Side Menu Go to the Top
Register
H2N4 problem when start (( H2N4 problem when start ((

05-13-2024 , 03:36 PM
System.IO.FileNotFoundException: Could not find file 'C:\Users\Avokado\AppData\Roaming\Hand2Note\Databa ses\Hand2Note\stats\stats.data'.
File name: 'C:\Users\Avokado\AppData\Roaming\Hand2Note\Databa ses\Hand2Note\stats\stats.data'
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateF ile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(St ring fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.Strategies.OSFileStreamStrategy..ctor(St ring path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
at Hand2NoteCore.Common.Files.OpenFileForReadWriteSha red(String file)
at Hand2NoteCore.FileFragmentsStream..ctor(String file, IList`1 byteRanges)
at Hand2NoteCore.ChunksHelper.ToFileFragmentsStream[T](PagedObjectPlacement placement, Chunks`1 chunks)
at Hand2NoteCore.ChunksHelper.LoadChunk[T](PagedObjectPlacement pagedObjectPlacement, Chunks`1 chunks)
at Hand2NoteCore.ChunksHelper.TryLoad[T](Chunks`1 chunks, Int64 itemId, T& result)
at Hand2NoteCore.StatsDatabaseHelper.LoadStatsResults (StatisticsDatabase database, Int32 playerId)
at Hand2NoteCore.DatabaseHelper.GetStatResultsByGameT ype(Int32 playerDatabaseId, Database database)
at Hand2NoteCore.DatabaseHelper.GetStatResultsByGameT ype(PlayerId& playerId, Database database)
at Hand2NoteCore.DatabaseHelper.GetStatResultsForGame Type(PlayerId playerId, Int32 gameTypeProfileId, Database database)
at Hand2NoteCore.PlayerPopupHelper.<>c__DisplayClass3 0_0.<GetStatResultById>b__0(PlayerId playerId)
at System.Linq.Enumerable.SelectIListIterator`2.ToLis t()
at Hand2NoteCore.Huds.ComputedHudHelper.GetStatResult ById(IEnumerable`1 statResultById, UInt16 maxStatShortId)
at Hand2NoteCore.PlayerPopupHelper.GetStatResultById( IPlayerOrAlias playerId, PopupContext context, Int32 gameTypeProfileId)
at Hand2NoteCore.Reports.PlayerStatisticsHelper.GetIn itialStatisticsReport(App app, IPlayerOrAlias playerOrAlias, GameTypeProfile gameTypeProfile, StatProfile statProfile, DateFilter dateFilter)
at Hand2NoteCore.Reports.PlayerStatisticsHelper.TryGe tInitialStatisticsReportFromLastOpenedConfig(App app, LastOpenedStatisticsReport lastOpenedReport, StatisticsReport& result)
at Hand2NoteCore.Reports.PlayerStatisticsHelper.GetIn itialStatisticsReport(App app)
at Hand2NoteCore.AppHelper.LoadInitialReports(App app)
at Hand2NoteCore.AppHelper.LoadApplication(AppLoader loader, ILogger logger, IHudIpcChannel hudIpcChannel, ITableWindowsProvider tableWindowsProvider, AppClipboard clipboard, IServiceProvider serviceProvider, AppLoadingObserver observer, Version applicationVersion)
at Hand2NoteApp.Windows.Program.Start(String[] args)
at Hand2NoteApp.Windows.Program.<>c__DisplayClass0_0. <Main>b__0(Object _, StartupEventArgs _)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.Invok eImpl()
at MS.Internal.CulturePreservingExecutionContext.Call backWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run( CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invok e()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(In tPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation( Object o)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeIm pl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl( DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at Hand2NoteApp.Windows.Program.Main(String[] args)
H2N4 problem when start (( Quote
05-13-2024 , 03:46 PM
05-13-2024 , 03:54 PM
Hello,

Could you try to delete these folders ("reports" and "stats") from the folder where your database is stored, by default here C:\Users\AppData\Roaming\Hand2Note\Databases:



Then launch Hand2Note and click on Build Statistics:




If it doesn't help, you'll have to delete the entire database, unfortunately. But you will be able to restore your played hands by importing the following folders C:\Hand2Note4Hh\ and C:\MyHandsArchive_H2N4\ to new database.
H2N4 problem when start (( Quote
05-13-2024 , 04:16 PM
Quote:
Originally Posted by Hand2note
Hello,

Could you try to delete these folders ("reports" and "stats") from the folder where your database is stored, by default here C:\Users\AppData\Roaming\Hand2Note\Databases:



Then launch Hand2Note and click on Build Statistics:




If it doesn't help, you'll have to delete the entire database, unfortunately. But you will be able to restore your played hands by importing the following folders C:\Hand2Note4Hh\ and C:\MyHandsArchive_H2N4\ to new database.

Величезне дякую, допомогло!
H2N4 problem when start (( Quote

      
m