Giter VIP home page Giter VIP logo

Comments (19)

szentigrad3 avatar szentigrad3 commented on June 12, 2024

2020-08-21 02:45:18.378 +10:00 [ERR] Application crashed
ReactiveUI.UnhandledErrorException: An object implementing IHandleObservableErrors (often a ReactiveCommand or ObservableAsPropertyHelper) has errored, thereby breaking its observable pipeline. To prevent this, ensure the pipeline does not error, or Subscribe to the ThrownExceptions property of the object in question to handle the erroneous case. ---> ModMyFactory.WebApi.ResourceNotFoundException: Remote resource not found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ModMyFactory.WebApi.WebHelper.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ModMyFactory.WebApi.WebHelper.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ModMyFactory.WebApi.Mods.ModApi.d__3.MoveNext()
--- End of inner exception stack trace ---
at ModMyFactory.WebApi.Mods.ModApi.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ModMyFactoryGUI.Caching.Cache2.<QueryAsync>d__4.MoveNext() in C:\projects\modmyfactory-gui\ModMyFactoryGUI\Caching\Cache.cs:line 46 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ModMyFactoryGUI.ViewModels.ManagerViewModel.<UpdateModsAsync>d__46.MoveNext() in C:\projects\modmyfactory-gui\ModMyFactoryGUI\ViewModels\ManagerViewModel.cs:line 315 --- End of inner exception stack trace --- at ReactiveUI.RxApp.<>c__DisplayClass10_0.<.cctor>b__2() in d:\a\1\s\src\ReactiveUI\RxApp.cs:line 104 at System.Reactive.Concurrency.Scheduler.Invoke(IScheduler scheduler, Action action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Simple.cs:line 253 at System.Reactive.Concurrency.Scheduler.<>c.<Schedule>b__74_0(IScheduler s, Action a) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Simple.cs:line 37 at Avalonia.Threading.AvaloniaScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func3 action)
at System.Reactive.Concurrency.LocalScheduler.Schedule[TState](TState state, Func3 action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/LocalScheduler.cs:line 32 at System.Reactive.Concurrency.Scheduler.Schedule(IScheduler scheduler, Action action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Simple.cs:line 37 at ReactiveUI.RxApp.<>c.<.cctor>b__10_1(Exception ex) in d:\a\1\s\src\ReactiveUI\RxApp.cs:line 98 at System.Reactive.AnonymousSafeObserver1.OnNext(T value) in //Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 43
at System.Reactive.Sink1.ForwardOnNext(TTarget value) in /_/Rx.NET/Source/src/System.Reactive/Internal/Sink.cs:line 49 at System.Reactive.ObserveOnObserverNew1.DrainStep(ConcurrentQueue1 q) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 577 at System.Reactive.ObserveOnObserverNew1.DrainShortRunning(IScheduler recursiveScheduler) in /
/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 507
at System.Reactive.ObserveOnObserverNew1.<>c.<.cctor>b__17_0(IScheduler scheduler, ObserveOnObserverNew1 self) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 497
at Avalonia.Threading.AvaloniaScheduler.<>c__DisplayClass2_11.<Schedule>b__1() at Avalonia.Threading.JobRunner.Job.Avalonia.Threading.JobRunner.IJob.Run() at Avalonia.Threading.JobRunner.RunJobs(Nullable1 priority)
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
at ModMyFactoryGUI.Program.d__41.MoveNext() in C:\projects\modmyfactory-gui\ModMyFactoryGUI\Program.cs:line 334
2020-08-21 02:45:18.419 +10:00 [INF] Saving settings...

from modmyfactory2.

szentigrad3 avatar szentigrad3 commented on June 12, 2024

error while trying to input login
2020-08-24 14:57:46.077 +10:00 [ERR] An unknown server error occurred
ModMyFactory.WebApi.ApiException: General API exception
at ModMyFactory.WebApi.Authentication.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ModMyFactoryGUI.CredentialsManager.d__10.MoveNext() in C:\projects\modmyfactory-gui\ModMyFactoryGUI\CredentialsManager.cs:line 106
2020-08-24 14:57:46.081 +10:00 [ERR] An unknown server error occurred

from modmyfactory2.

Artentus avatar Artentus commented on June 12, 2024

Your first error is usually not caused by MMF directly but by MMF and some other application getting in each others way, for example Factorio.

The second error is caused by the mod update feature, which is actually not functional yet so I'm not suprised. Mod updating will work in the next major release.

The last error has been resolved in version 2.1.4.

from modmyfactory2.

szentigrad3 avatar szentigrad3 commented on June 12, 2024

i don't know how it can be factorio since its not open, also only happens when i try and de-select all the mods < the 1st error

from modmyfactory2.

szentigrad3 avatar szentigrad3 commented on June 12, 2024

modpacks.txt

after i close the program it stays open in the processes and can't open it again until i killed the proccess and have to delete the modpacks.json ( attached above )

from modmyfactory2.

Artentus avatar Artentus commented on June 12, 2024

Please check if this is still the case for you with 2.2.0

from modmyfactory2.

szentigrad3 avatar szentigrad3 commented on June 12, 2024

Please check if this is still the case for you with 2.2.0

issue still exists
log_20200902.txt

from modmyfactory2.

Artentus avatar Artentus commented on June 12, 2024

Try version 2.2.2 please

from modmyfactory2.

szentigrad3 avatar szentigrad3 commented on June 12, 2024

when trying to de-select all mods it just closes straight away now

2020-09-14 11:57:53.151 +10:00 [INF] GUI version: 2.2.2.13-alpha
2020-09-14 11:57:53.173 +10:00 [INF] Using ModMyFactory v1.1.1.58-alpha
2020-09-14 11:57:53.173 +10:00 [INF] Using ModMyFactory.BaseTypes v1.1.1.16-alpha
2020-09-14 11:57:53.173 +10:00 [INF] Using ModMyFactory.Export v1.1.0.20-alpha
2020-09-14 11:57:53.173 +10:00 [INF] Using ModMyFactory.Localization v1.0.0.6-alpha
2020-09-14 11:57:53.173 +10:00 [INF] Using ModMyFactory.ModSettings v1.0.0.17-alpha
2020-09-14 11:57:53.173 +10:00 [INF] Using ModMyFactory.WebApi v1.0.2.26-alpha
2020-09-14 11:57:53.174 +10:00 [INF] Using ModMyFactory.Win32 v1.0.0.10-alpha
2020-09-14 11:57:54.477 +10:00 [INF] Language files successfully loaded. Available languages: German, English
2020-09-14 11:57:54.477 +10:00 [INF] Language set to English
2020-09-14 11:57:54.895 +10:00 [INF] Themes successfully loaded; available themes: BaseDark, BaseLight
2020-09-14 11:57:54.899 +10:00 [INF] Theme set to BaseDark
2020-09-14 11:57:58.222 +10:00 [ERR] Application crashed
System.IO.IOException: The process cannot access the file 'E:\JASON\JASON\ModMyFactory2\mods\0.18\mod-list.json' because it is being used by another process.
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)
at System.IO.FileInfo.Open(FileMode mode, FileAccess access)
at ModMyFactory.Mods.ModFamilyStateGrouping.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ModMyFactoryGUI.ViewModels.ModFamilyViewModel.d__39.MoveNext() in C:\projects\modmyfactory-gui\ModMyFactoryGUI\ViewModels\ModFamilyViewModel.cs:line 163
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass5_0.b__0()
at Avalonia.Threading.JobRunner.Job.Avalonia.Threading.JobRunner.IJob.Run()
at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority)
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
at ModMyFactoryGUI.Program.d__46.MoveNext() in C:\projects\modmyfactory-gui\ModMyFactoryGUI\Program.cs:line 348
2020-09-14 11:57:58.230 +10:00 [INF] Saving settings...
2020-09-14 11:57:58.251 +10:00 [INF] Shutting down

from modmyfactory2.

Artentus avatar Artentus commented on June 12, 2024

May have fixed it this time in 2.2.3

from modmyfactory2.

szentigrad3 avatar szentigrad3 commented on June 12, 2024

what a pain to fix

2020-09-16 10:37:29.389 +10:00 [INF] GUI version: 2.2.3.14-alpha
2020-09-16 10:37:29.412 +10:00 [INF] Using ModMyFactory v1.2.0.59-alpha
2020-09-16 10:37:29.413 +10:00 [INF] Using ModMyFactory.BaseTypes v1.1.1.16-alpha
2020-09-16 10:37:29.413 +10:00 [INF] Using ModMyFactory.Export v1.2.0.21-alpha
2020-09-16 10:37:29.413 +10:00 [INF] Using ModMyFactory.Localization v1.0.0.6-alpha
2020-09-16 10:37:29.413 +10:00 [INF] Using ModMyFactory.ModSettings v1.0.0.17-alpha
2020-09-16 10:37:29.413 +10:00 [INF] Using ModMyFactory.WebApi v1.0.2.26-alpha
2020-09-16 10:37:29.413 +10:00 [INF] Using ModMyFactory.Win32 v1.0.0.10-alpha
2020-09-16 10:37:41.900 +10:00 [INF] Language files successfully loaded. Available languages: German, English
2020-09-16 10:37:41.900 +10:00 [INF] Language set to English
2020-09-16 10:37:42.893 +10:00 [INF] Themes successfully loaded; available themes: BaseDark, BaseLight
2020-09-16 10:37:42.896 +10:00 [INF] Theme set to BaseDark
2020-09-16 10:37:53.704 +10:00 [ERR] Application crashed
System.IO.IOException: The process cannot access the file 'E:\JASON\JASON\ModMyFactory2\mods\0.18\mod-list.json' because it is being used by another process.
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)
at ModMyFactory.Mods.ModFamilyStateGrouping.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ModMyFactoryGUI.ViewModels.ModFamilyViewModel.d__39.MoveNext() in C:\projects\modmyfactory-gui\ModMyFactoryGUI\ViewModels\ModFamilyViewModel.cs:line 163
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass5_0.b__0()
at Avalonia.Threading.JobRunner.Job.Avalonia.Threading.JobRunner.IJob.Run()
at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority)
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
at ModMyFactoryGUI.Program.d__46.MoveNext() in C:\projects\modmyfactory-gui\ModMyFactoryGUI\Program.cs:line 348
2020-09-16 10:37:53.745 +10:00 [INF] Saving settings...
2020-09-16 10:37:53.762 +10:00 [INF] Shutting down

from modmyfactory2.

Artentus avatar Artentus commented on June 12, 2024

It's such a pain because I'm completely unable to reproduce this.

from modmyfactory2.

szentigrad3 avatar szentigrad3 commented on June 12, 2024

anything i can do on my end to help?

from modmyfactory2.

Artentus avatar Artentus commented on June 12, 2024

Well, short of debugging yourself not really.
You'd have to load the project into Visual Studio and possibly perform a number of debug steps.

from modmyfactory2.

szentigrad3 avatar szentigrad3 commented on June 12, 2024

if you can read thru the steps for me or we can chat on my discord > https://discord.gg/kShyuZc

from modmyfactory2.

Artentus avatar Artentus commented on June 12, 2024

It's actually time to go to bed for me, we can take a look at it tomorrow.

from modmyfactory2.

Artentus avatar Artentus commented on June 12, 2024

Another day another attempt to fix this. If 2.2.4 works it means my PC is too fast for my own good.

from modmyfactory2.

szentigrad3 avatar szentigrad3 commented on June 12, 2024

Another day another attempt to fix this. If 2.2.4 works it means my PC is too fast for my own good.

that fixed it YAY!

from modmyfactory2.

Artentus avatar Artentus commented on June 12, 2024

Oh my.
So the issue was that this file was accessed again before the previous access was complete. It was of course an oversight in my code but I never discovered it because my SSD is too fast for it to happen.

from modmyfactory2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.