uehaj2022 / latteart

Apache License 2.0
0 stars 6 forks source link

Error when capturing on windows with compression problem #3

Open uehaj2022 opened 2 years ago

uehaj2022 commented 2 years ago

Describe the bug With using latteart catpture tool, start recording, get Error dialog, and typescript error about compression.

To Reproduce Steps to reproduce the behavior:

  1. Go to capture tool
  2. Enter URL (eg. https://www.google.com/)
  3. Click recording button.
  4. Error dialog "An error has occurred" opened.
  5. See typescript stacktrace error (on chrome devtool)

Expected behavior No error

Screenshots

image

Desktop (please complete the following information):

Additional context

GochaLearningSpace commented 2 years ago

Describe the bug With using latteart catpture tool, start recording, get Error dialog, and typescript error about compression.

To Reproduce Steps to reproduce the behavior:

  1. Go to capture tool
  2. Enter URL (eg. https://www.google.com/)
  3. Click recording button.
  4. Error dialog "An error has occurred" opened.
  5. See typescript stacktrace error (on chrome devtool)

Expected behavior No error

Screenshots image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome (maybe)
  • Version Unknown

Additional context

@uehaj2022 I try to fill information in below, but if you have preferred procedures, please let me know.

uehaj2022 commented 2 years ago

Thank you for report. please check environment variable(環境変数 in Japanese) Path on the control panel of windows: image image image

In this case, the name of the directory at which you installed 'cweb.exe' excutable binary sould be included in the Path environment variable value(値). Currentry, this setting up operation should be done manually.

dikshika-s commented 2 years ago

Respected Sir I am also facing similar issue with capture tool despite having set up the path. I have tried multiple ways like resetting up multiple times, making some changes but in vein.

My windows version is: Windows 10 Version 21H2 (OS Build 19044.2006) My chrome version is: Version 106.0.5249.103 (Official Build) (64-bit)

Attached below are the screen shots of the issue: Screenshot 2022-10-11 221248 on clicking OK, Again error message appears Screenshot 2022-10-11 221317 On again clicking ok and creating test result then, on executing it displays an error Screenshot 2022-10-11 221233

The same dialog box pops on running the management tool too image

The environment variables added path image

Kindly help to resolve it Thank you

uehaj2022 commented 2 years ago

Hi, dikshika-s san, thanks for report. Please check the directory of webp listed in above path elements.

looks snipped so check whole of the full-path directory, and check the files under the directory. Can you find cweb.exe in there?

dikshika-s commented 2 years ago

Yes Sir the full path is-C:\Users\91869\Downloads\libwebp-0.4.1-rc1-windows-x64\libwebp-0.4.1-rc1-windows-x64\bin. Attached herewith is the directory screenshot. image

Please guide regarding the same Thank you

uehaj2022 commented 2 years ago

OK, Thank you for give me the information. Gocha-san reported: https://github.com/uehaj2022/latteart/issues/3#issuecomment-1264148531

You can see: https://user-images.githubusercontent.com/112670104/192929135-50ac7dc7-e143-4175-8af9-bfbf0a621e4f.png

image

Right side of this browser screenshot(maybe chrome), chrome developer tool shown. And errors and exceptions are observed. Can you report chrome devtool output information on "Console" tab when the error you reported has occurred?

dikshika-s commented 2 years ago

Yes Sir. This is the error being displayed image On clicking ok and trying to create test this was displayed further, image

dikshika-s commented 2 years ago

Respected Sir Thank you for the support . The bug is resolved, and Latteart is running successfully on my laptop. Kind Regards

uehaj2022 commented 2 years ago

Nicely done! Thanks for your effort. If you think it is valuable that sharing the reason of the error reported, please let me know. If the reason is not to be shared in some reason, please ignore and please try and do your valuable work! best regards,

dikshika-s commented 2 years ago

Sir the reason was incompatibility of the versions of some dependencies. I resolved it installing another latteart version and syncing . Kind regards

uehaj2022 commented 2 years ago

Thank you for the information!