OpenBullet2 icon indicating copy to clipboard operation
OpenBullet2 copied to clipboard

[Bug]: Windows Server 22 Native issue

Open mastercho opened this issue 1 year ago • 1 comments

This issue respects the following points:

  • [X] This is a bug, not a question or a configuration issue; Please visit our forum first to troubleshoot with volunteers, before creating a report. The links can be found here.
  • [X] This issue is not already reported on GitHub (I've searched it).
  • [X] I'm using an up to date version of OpenBullet2. We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
  • [X] I agree to follow OpenBullet's Code of Conduct.
  • [X] This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug

Unhandled exception thrown on 7/18/2024 2:02:47 PM
System.NotSupportedException: No imaging component suitable to complete this operation was found.
 ---> System.Runtime.InteropServices.COMException (0x88982F8B): The component initialization has failed. (0x88982F8B)
   --- End of inner exception stack trace ---
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at OpenBullet2.Native.Utils.Images.BytesToBitmapImage(Byte[] bytes)
   at OpenBullet2.Native.Utils.Images.Base64ToBitmapImage(String base64)
   at OpenBullet2.Native.Views.Dialogs.MultiRunJobOptionsViewModel.SetConfigData()
   at OpenBullet2.Native.Views.Dialogs.MultiRunJobOptionsViewModel.SelectConfig(ConfigViewModel vm)
   at OpenBullet2.Native.Views.Dialogs.MultiRunJobOptionsDialog.SelectConfig(ConfigViewModel config)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   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)

For some reason when select config in Native shows this error: image

Reproduction steps

  1. Start Openbullet 2 native in windows server 22
  2. create job
  3. select config

What is the current bug behavior?

.

What is the expected correct behavior?

To create job and select config without error

Version of the client

0.3.1

Type of client

Native client

Environment

- OS: Windows Server 2022
- Virtualization: Probably KVM as is RDP
- Browser: Chrome 126

OpenBullet2 logs

No response

Client / Browser logs

No response

Relevant screenshots or videos

No response

Relevant LoliCode if needed

No response

Additional information

No response

mastercho avatar Jul 18 '24 22:07 mastercho

By googling I found this, maybe the error can safely be ignored https://github.com/microsoft/PowerToys/pull/29663/files

openbullet avatar Jul 18 '24 23:07 openbullet