Code Monkey home page Code Monkey logo

Comments (16)

PiotrMachowski avatar PiotrMachowski commented on June 16, 2024

Can you try starting "DEBUG" exe?

from home-assistant-taskbar-menu.

vsxed avatar vsxed commented on June 16, 2024

The debug exe does not start aswell.

Here's the log:

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'CefSharp.Core.dll' or one of its dependencies. The specified module could not be found.
   at Home_Assistant_Taskbar_Menu.Views.BrowserWindow..ctor(Configuration configuration)
   at Home_Assistant_Taskbar_Menu.MainWindow..ctor(Configuration configuration, ViewConfiguration viewConfiguration) in D:\Files\Programowanie\PycharmProjects\Home Assistant\Other\Home Assistant Taskbar Menu\Home Assistant Taskbar Menu\Views\MainWindow.xaml.cs:line 40
   at Home_Assistant_Taskbar_Menu.AuthWindow.SaveButtonClick(Object sender, RoutedEventArgs e) in D:\Files\Programowanie\PycharmProjects\Home Assistant\Other\Home Assistant Taskbar Menu\Home Assistant Taskbar Menu\Views\AuthWindow.xaml.cs:line 37
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr 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.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(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.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at Home_Assistant_Taskbar_Menu.App.Main()

[process exited with code 3762504530]

from home-assistant-taskbar-menu.

PiotrMachowski avatar PiotrMachowski commented on June 16, 2024

Can you try to install Microsoft .NET Framework 4.6.1 and check again?

from home-assistant-taskbar-menu.

vsxed avatar vsxed commented on June 16, 2024

Looks like it is already installed:

image

from home-assistant-taskbar-menu.

PiotrMachowski avatar PiotrMachowski commented on June 16, 2024

Have you used the exe installer or zip archive?

from home-assistant-taskbar-menu.

vsxed avatar vsxed commented on June 16, 2024

I used the exe installer (with admin privileges)

from home-assistant-taskbar-menu.

PiotrMachowski avatar PiotrMachowski commented on June 16, 2024

Can you verify that all files are present? (compared to zip version)

from home-assistant-taskbar-menu.

vsxed avatar vsxed commented on June 16, 2024

Thanks for your help so far @PiotrMachowski!

As far as i can see, the files are the same in both directories (installation vs zip).
Also tried to run the application from the unzipped version, but the errors are the same as with the installer version (also the debug variant, same exception).

Edit: also the mentioned file in the exception exists in the directories

Edit 2:
Some more info about the system:

Edition	Windows 11 Pro
Version	21H2
Installed on	‎6 ‎Oct ‎2021
OS build	22000.194
Experience	Windows Feature Experience Pack 1000.22000.194.0

The OS has been freshly installed yesterday

Is there anything else i could do to identify the issue?

from home-assistant-taskbar-menu.

PiotrMachowski avatar PiotrMachowski commented on June 16, 2024

Can you install Microsoft Visual C++ 2015+ and try again?

from home-assistant-taskbar-menu.

vsxed avatar vsxed commented on June 16, 2024

Nice!

At first it didn't work because i installed the x64 version.
After installing the x86 distributable, it now starts.

Thanks so much!

from home-assistant-taskbar-menu.

PiotrMachowski avatar PiotrMachowski commented on June 16, 2024

Thank you for your cooperation!

from home-assistant-taskbar-menu.

nabeelmoeen avatar nabeelmoeen commented on June 16, 2024

hi, I am still facing this issue after installing the Visual C++ 2015 distributable linked above.

Just FYI. although the Homeassistant window was not appearing on screen when clicking on the system tray icon, it would still show in the task switcher screen.

EDIT:
The system tray pop-up menu is available and i can perform actions. just the on screen window is not appearing. It did appear after fresh install where I was able to ender configuration information and login.

from home-assistant-taskbar-menu.

fernandex00 avatar fernandex00 commented on June 16, 2024

Same here

from home-assistant-taskbar-menu.

PiotrMachowski avatar PiotrMachowski commented on June 16, 2024

@fernandex00 so you got it working?

from home-assistant-taskbar-menu.

fernandex00 avatar fernandex00 commented on June 16, 2024

@fernandex00 so you got it working?

No, i have the same problem, even after installing c++, the app is in the taskbar, but im not able to enter

from home-assistant-taskbar-menu.

PiotrMachowski avatar PiotrMachowski commented on June 16, 2024

Which version have you installed?

from home-assistant-taskbar-menu.

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.