Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMException in GraphicsCardDetector #626

Closed
zarbinet212 opened this issue Mar 11, 2021 · 13 comments
Closed

COMException in GraphicsCardDetector #626

zarbinet212 opened this issue Mar 11, 2021 · 13 comments

Comments

@zarbinet212
Copy link

Version: 1.1.28.0; Variant: Portable; Arch: Amd64
Path: G:\SyncTrayzorPortable-x641\SyncTrayzor.exe
System.Runtime.InteropServices.COMException (0x80080005)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at SyncTrayzor.Services.GraphicsCardDetector.GetIsIntelXe() in C:\projects\synctrayzor\src\SyncTrayzor\Services\GraphicsCardDetector.cs:line 25
at SyncTrayzor.Services.GraphicsCardDetector.get_IsIntelXe() in C:\projects\synctrayzor\src\SyncTrayzor\Services\GraphicsCardDetector.cs:line 17
at SyncTrayzor.Pages.BarAlerts.BarAlertsViewModel.Load() in C:\projects\synctrayzor\src\SyncTrayzor\Pages\BarAlerts\BarAlertsViewModel.cs:line 84
at Stylet.Screen.<Stylet.IScreenState.Activate>b__35_0(ScreenState oldState, ScreenState newState)
at Stylet.Screen.SetState(ScreenState newState, Action2 changedHandler) at Stylet.ScreenExtensions.<>c__DisplayClass4_0.<ActivateWith>b__0(Object o, ActivationEventArgs e) at System.EventHandler1.Invoke(Object sender, TEventArgs e)
at Stylet.Screen.<Stylet.IScreenState.Activate>b__35_0(ScreenState oldState, ScreenState newState)
at Stylet.Screen.SetState(ScreenState newState, Action`2 changedHandler)
at Stylet.ScreenExtensions.TryActivate(Object screen)
at Stylet.WindowManager.WindowConductor..ctor(Window window, Object viewModel)
at Stylet.WindowManager.CreateWindow(Object viewModel, Boolean isDialog, IViewAware ownerViewModel)
at Stylet.WindowManager.ShowWindow(Object viewModel)
at Stylet.BootstrapperBase.Start(String[] args)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
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)

@canton7 canton7 reopened this Mar 11, 2021
@canton7 canton7 changed the title how to fixed? COMException in GraphicsCardDetector Mar 11, 2021
@canton7
Copy link
Owner

canton7 commented Mar 11, 2021

Use this build.

I'll hold off on creating a new release for now, and see if other people are affected by the same issue.

@kevinstsauveur
Copy link

This build fixed my problem #631.

@unforgiven512
Copy link

I seem to be having a very similar issue; synctrayzor crashes when I attempt to open the interface, and then is unable to launch again after this occurs. It is, however, launched on bootup and resides in the system tray.

Version: 1.1.28.0; Variant: Installed; Arch: Amd64
Path: C:\Program Files\SyncTrayzor\SyncTrayzor.exe
System.Management.ManagementException: Invalid class 
   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
   at SyncTrayzor.Services.GraphicsCardDetector.GetIsIntelXe()
   at SyncTrayzor.Services.GraphicsCardDetector.get_IsIntelXe()
   at SyncTrayzor.Pages.BarAlerts.BarAlertsViewModel.Load()
   at Stylet.Screen.<Stylet.IScreenState.Activate>b__35_0(ScreenState oldState, ScreenState newState)
   at Stylet.Screen.SetState(ScreenState newState, Action`2 changedHandler)
   at Stylet.ScreenExtensions.<>c__DisplayClass4_0.<ActivateWith>b__0(Object o, ActivationEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Stylet.Screen.<Stylet.IScreenState.Activate>b__35_0(ScreenState oldState, ScreenState newState)
   at Stylet.Screen.SetState(ScreenState newState, Action`2 changedHandler)
   at Stylet.ScreenExtensions.TryActivate(Object screen)
   at Stylet.WindowManager.WindowConductor..ctor(Window window, Object viewModel)
   at Stylet.WindowManager.CreateWindow(Object viewModel, Boolean isDialog, IViewAware ownerViewModel)
   at Stylet.WindowManager.ShowWindow(Object viewModel)
   at Stylet.BootstrapperBase.Start(String[] args)
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   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)

@Jon-Kinne
Copy link

Having the same error message, and the information in the message is:
Version: 1.1.27.0; Variant: Installed; Arch: Amd64
Path: C:\Program Files\SyncTrayzor\SyncTrayzor.exe
System.IO.FileNotFoundException: CefSettings.BrowserSubprocessPath not found.
File name: 'C:\Program Files\SyncTrayzor\CefSharp.BrowserSubprocess.exe'
at CefSharp.Cef.Initialize(CefSettingsBase cefSettings, Boolean performDependencyCheck, IApp cefApp)
at SyncTrayzor.Pages.ViewerViewModel.OnInitialActivate()
at Stylet.Screen.<Stylet.IScreenState.Activate>b__35_0(ScreenState oldState, ScreenState newState)
at Stylet.Screen.SetState(ScreenState newState, Action2 changedHandler) at Stylet.ScreenExtensions.<>c__DisplayClass4_0.<ActivateWith>b__0(Object o, ActivationEventArgs e) at System.EventHandler1.Invoke(Object sender, TEventArgs e)
at Stylet.Screen.<Stylet.IScreenState.Activate>b__35_0(ScreenState oldState, ScreenState newState)
at Stylet.Screen.SetState(ScreenState newState, Action`2 changedHandler)
at Stylet.ScreenExtensions.TryActivate(Object screen)
at Stylet.WindowManager.WindowConductor..ctor(Window window, Object viewModel)
at Stylet.WindowManager.CreateWindow(Object viewModel, Boolean isDialog, IViewAware ownerViewModel)
at Stylet.WindowManager.ShowWindow(Object viewModel)
at Stylet.BootstrapperBase.Start(String[] args)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
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)

Will appreciate any help you can suggest

@canton7
Copy link
Owner

canton7 commented May 25, 2021

Try the build linked above?

@Jon-Kinne
Copy link

Jon-Kinne commented May 25, 2021 via email

@canton7
Copy link
Owner

canton7 commented May 25, 2021

SyncTrayzor only runs on windows. There are no builds for anything other than windows! Please install the build I linked above here: #626 (comment)

@tomasz1986
Copy link

Just a comment, but he may be confused by the .nupkg extension (as was I). For the record, the package can be unpacked with 7-Zip, and inside are the x86 and x64 .exe SyncTrayzor installers.

@canton7
Copy link
Owner

canton7 commented May 25, 2021

Aah, AppVeyor went and deleted all the exe files -- there should be exes alongside the nupkg.

@Jon-Kinne Try here. I'll update the link above too.

@Jon-Kinne
Copy link

Jon-Kinne commented May 25, 2021 via email

@canton7
Copy link
Owner

canton7 commented May 25, 2021

Yes

@Jon-Kinne
Copy link

Thanks very much. The build to which you referred me installed normally (needed to kill some processes that must have been left over from prior install) and everything is working well now. I appreciate your creating the program, and offering to support it.

@canton7
Copy link
Owner

canton7 commented Aug 7, 2021

Release in 1.1.29

@canton7 canton7 closed this as completed Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants