YetAnotherPomodoroApp / YAPA-2

Minimalistic desktop timer app for Pomodoro Technique users
https://yapa2.app/
MIT License
512 stars 58 forks source link

2.0.159 won't run on windows 7 #87

Closed dotus-ru closed 2 years ago

dotus-ru commented 2 years ago

After updating the application to version 2.0.159, it stopped running on windows 7 / The folder with version 2.0.143 remained in the application folder - it continues to work on windows 7.

log.log

2022-02-06 10:58:26.6505 FATAL Unhandled exception: Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SaveApplicationPositionOnScreen (ReflectionActivator), Services = [YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreen], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(YAPA.Shared.Contracts.IApplication, YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreenSettings)' on type 'SaveApplicationPositionOnScreen'. ---> Не удается загрузить DLL "shcore.dll": Не найден указанный модуль. (Исключение из HRESULT: 0x8007007E) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(YAPA.Shared.Contracts.IApplication, YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreenSettings)' on type 'SaveApplicationPositionOnScreen'. ---> Не удается загрузить DLL "shcore.dll": Не найден указанный модуль. (Исключение из HRESULT: 0x8007007E) (See inner exception for details.) ---> System.DllNotFoundException: Не удается загрузить DLL "shcore.dll": Не найден указанный модуль. (Исключение из HRESULT: 0x8007007E) в WpfScreenHelper.NativeMethods.GetDpiForMonitor(IntPtr hmonitor, DpiType dpiType, UInt32& dpiX, UInt32& dpiY) в WpfScreenHelper.Screen..ctor(IntPtr monitor, IntPtr hdc) в WpfScreenHelper.Screen.get_AllScreens() в YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreen.GetActiveScreen() в YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreen.App_Loaded() в YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreen..ctor(IApplication app, SaveApplicationPositionOnScreenSettings settings) в lambda_method(Closure , Object[] ) в Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() --- Конец трассировки внутреннего стека исключений --- в Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() в Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) в Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) --- Конец трассировки внутреннего стека исключений --- в Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) в Autofac.Core.Resolving.InstanceLookup.<Execute>b__5_0() в Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 creator) в Autofac.Core.Resolving.InstanceLookup.Execute() в Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) в Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) в Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) в Autofac.Core.Container.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) в Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) в Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable1 parameters) в YAPA.WPF.Specifics.DependencyInjector.Resolve(Type type) в YAPA.WPF.PluginManager.PluginManager.<>cDisplayClass18_0.b__1(IPluginMeta plugin) в System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() в System.Collections.Generic.List1..ctor(IEnumerable1 collection) в System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) в YAPA.WPF.PluginManager.PluginManager.RegisterPlugins(IDependencyInjector container) в YAPA.WPF.PluginManager.PluginManager.InitPlugins() в YAPA.WPF.DependencyContainer..ctor() в YAPA.App.Main()
2022-02-06 10:58:35.9861 FATAL Unhandled exception: Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SaveApplicationPositionOnScreen (ReflectionActivator), Services = [YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreen], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(YAPA.Shared.Contracts.IApplication, YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreenSettings)' on type 'SaveApplicationPositionOnScreen'. ---> Не удается загрузить DLL "shcore.dll": Не найден указанный модуль. (Исключение из HRESULT: 0x8007007E) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(YAPA.Shared.Contracts.IApplication, YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreenSettings)' on type 'SaveApplicationPositionOnScreen'. ---> Не удается загрузить DLL "shcore.dll": Не найден указанный модуль. (Исключение из HRESULT: 0x8007007E) (See inner exception for details.) ---> System.DllNotFoundException: Не удается загрузить DLL "shcore.dll": Не найден указанный модуль. (Исключение из HRESULT: 0x8007007E) в WpfScreenHelper.NativeMethods.GetDpiForMonitor(IntPtr hmonitor, DpiType dpiType, UInt32& dpiX, UInt32& dpiY) в WpfScreenHelper.Screen..ctor(IntPtr monitor, IntPtr hdc) в WpfScreenHelper.Screen.get_AllScreens() в YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreen.GetActiveScreen() в YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreen.App_Loaded() в YAPA.Plugins.SaveApplicationPossitionOnScreen.SaveApplicationPositionOnScreen..ctor(IApplication app, SaveApplicationPositionOnScreenSettings settings) в lambda_method(Closure , Object[] ) в Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() --- Конец трассировки внутреннего стека исключений --- в Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() в Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) в Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) --- Конец трассировки внутреннего стека исключений --- в Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) в Autofac.Core.Resolving.InstanceLookup.b
5_0() в Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 creator) в Autofac.Core.Resolving.InstanceLookup.Execute() в Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) в Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) в Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) в Autofac.Core.Container.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) в Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) в Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable1 parameters) в YAPA.WPF.Specifics.DependencyInjector.Resolve(Type type) в YAPA.WPF.PluginManager.PluginManager.<>c__DisplayClass18_0.<RegisterPlugins>b__1(IPluginMeta plugin) в System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() в System.Collections.Generic.List1..ctor(IEnumerable1 collection) в System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) в YAPA.WPF.PluginManager.PluginManager.RegisterPlugins(IDependencyInjector container) в YAPA.WPF.PluginManager.PluginManager.InitPlugins() в YAPA.WPF.DependencyContainer..ctor() в YAPA.App.Main()

floatas commented 2 years ago

Thank you for letting me know, I pulled 159 version from auto updates, while I figure out what is happening.

floatas commented 2 years ago

New release has been made v2.0.167, please let me know if there are issues or any errors

floatas commented 2 years ago

Should be fixed, please reopen or create new issue if this happens again.