adrianmteo / Luna

Automatic dark mode for Windows 10
MIT License
279 stars 12 forks source link

Luna 1.1.6 does NOT run! #34

Closed matsuda0707 closed 4 years ago

matsuda0707 commented 4 years ago

Today I received 1.1.6 is released, but it could be installed normally(/), but it does not run after installation! It doees not run by clicking the desktop icon also! Please check the 1.1.6 and re-release the new version.

adrianmteo commented 4 years ago

Can you attach the log file from %localappdata%\Luna\application.log? Also from which version did you update?

matsuda0707 commented 4 years ago

No updates. Just newly installed. I sent the log already.

adrianmteo commented 4 years ago

There is no log attached

andrei-dragusanu commented 4 years ago

Indeed, the app only starts in Admin mode for me as well (however the release notes do mention that admin rights are required).

matsuda0707 commented 4 years ago

I send the log by separate mail. Did you receive it? As for the admin mode, I think it should run in norml user mode.

adrianmteo commented 4 years ago

I didn't receive it. Attach it here in the comments. Admin mode is required by Windows to create the startup task,

matsuda0707 commented 4 years ago

Here I attach the log as follows;

[2020/04/24 18:12:24] (ERROR) AutoFileSaver1: file 'C:\Users\matsu\AppData\Local\Luna\settings.xml' was not found. [2020/04/24 18:12:24] (ERROR) AutoFileSaver1: file 'C:\Users\matsu\AppData\Local\Luna\update.xml' was not found. [2020/04/24 18:12:24] (INFO) AutoUpdater: Checking for updates... [2020/04/24 18:12:24] (WARNING) SettingsWindow: Running settings migration... [2020/04/24 18:12:24] (WARNING) SettingsWindow: Settings upgrade done [2020/04/24 18:12:24] (SEVERE) App: System.Windows.Markup.XamlParseException: 指定されたバインディング制約に一致する型 'Luna.Windows.SettingsWindow' のコンストラクターの呼び出しで例外がスローされました。 ---> System.InvalidOperationException: 以前に表示されていない Window に Owner プロパティを設定することはできません。 [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Window.set_Owner(Window value) [2020/04/24 18:12:24] (SEVERE) App: location Luna.Windows.SettingsWindow.SettingsModel_ShouldChangeProperty(Object sender, PropertyChangedEventArgs e) location D:\Development\Luna\Luna\Windows\SettingsWindow.xaml.cs:line 84 [2020/04/24 18:12:24] (SEVERE) App: location Luna.Utils.NotifyPropertyChanged.CanChangeProperty(String propertyName) location D:\Development\Luna\Luna\Utils\NotifyPropertyChanged.cs:line 15 [2020/04/24 18:12:24] (SEVERE) App: location Luna.Models.SettingsModel.set_Enabled(Boolean value) location D:\Development\Luna\Luna\Models\SettingsModel.cs:line 53 [2020/04/24 18:12:24] (SEVERE) App: location Luna.Windows.SettingsWindow.MigrateSettingsModel() location D:\Development\Luna\Luna\Windows\SettingsWindow.xaml.cs:line 53 [2020/04/24 18:12:24] (SEVERE) App: location Luna.Windows.SettingsWindow..ctor() location D:\Development\Luna\Luna\Windows\SettingsWindow.xaml.cs:line 39 [2020/04/24 18:12:24] (SEVERE) App: --- 内部例外スタック トレースの終わり --- [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Application.DoStartup() [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Application.<.ctor>b__1_0(Object unused) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.DispatcherOperation.InvokeImpl() [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) [2020/04/24 18:12:24] (SEVERE) App: location MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) [2020/04/24 18:12:24] (SEVERE) App: location System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) [2020/04/24 18:12:24] (SEVERE) App: location System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) [2020/04/24 18:12:24] (SEVERE) App: location System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) [2020/04/24 18:12:24] (SEVERE) App: location MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.DispatcherOperation.Invoke() [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.Dispatcher.ProcessQueue() [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) [2020/04/24 18:12:24] (SEVERE) App: location MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) [2020/04/24 18:12:24] (SEVERE) App: location MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) [2020/04/24 18:12:24] (SEVERE) App: location MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) [2020/04/24 18:12:24] (SEVERE) App: location MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Application.RunDispatcher(Object ignore) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Application.RunInternal(Window window) [2020/04/24 18:12:24] (SEVERE) App: location System.Windows.Application.Run(Window window) [2020/04/24 18:12:24] (SEVERE) App: location Luna.App.Main(String[] args) location D:\Development\Luna\Luna\App.xaml.cs:line 74

adrianmteo commented 4 years ago

Found and fixed the issue in the latest release. Closing this.