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

Please help by testing 0.5.0-beta1 #536

Closed
dynobo opened this issue Oct 8, 2023 · 8 comments
Closed

Please help by testing 0.5.0-beta1 #536

dynobo opened this issue Oct 8, 2023 · 8 comments
Labels
help wanted Looking for contributors to work on this issue

Comments

@dynobo
Copy link
Owner

dynobo commented Oct 8, 2023

NormCap v0.5.0-beta1 just got published 🥳 . It includes many noticable changes as well as internal refactorings.

You can support this project by downloading the pre-release, testing it on the system(s) you have available, and reporting your experience:

  • If something does not work, please report it as bug.
  • If everything seems working, that's very valuable, too! Please leave a comment right here, including the information:
    • Operating system + version: e.g. Win 11, Ubuntu 22.10, ...
    • (Linux) Desktop Environment: e.g. KDE, Gnome, ...
    • (Linux) Compositor: Xorg or Wayland
  • If you have general thoughts or feedback, report them as comment right here.

Thanks for your help! 🙂

@dynobo dynobo added the help wanted Looking for contributors to work on this issue label Oct 8, 2023
@dynobo dynobo pinned this issue Oct 8, 2023
@vivadavid
Copy link

vivadavid commented Oct 8, 2023

Hi,

When you get the Information panel and then click on OK, the panel stays there blurry, which affects your OCR operation. The panel should go completely.

I use Windows 11 (22H2).

blurry introduction panel

@dynobo
Copy link
Owner Author

dynobo commented Oct 8, 2023

@vivadavid , I already have a delay between closing this window and triggering the screenshot, but obviously it's too short. 🙈 (I guess it depends on the system's animation settings...)

Easy to fix, thanks for reporting it! 👍

@vivadavid
Copy link

@vivadavid , I already have a delay between closing this window and triggering the screenshot, but obviously it's too short. 🙈 (I guess it depends on the system's animation settings...)

Easy to fix, thanks for reporting it! 👍

You are welcome! Thanks for taking care of it!

@vivadavid
Copy link

Hi,

I had added a second issue, but I can't find it anywhere, so it looks like I forgot to send it.

It's not a big deal to me and I don't know if it's related to this beta (or whether it has to do with Tesseract), but sometimes several paragraphs are put together into one:

- This is the captured text:

OCRd text

- And this is the text file produced:

OCRd text.txt

@dynobo
Copy link
Owner Author

dynobo commented Oct 8, 2023

@vivadavid, thanks for noticing. Yeah, that's already known and tracked in issue #502. I'll try to improve the situation for the 0.5.0 final, but can't promise anything.

@vivadavid
Copy link

@vivadavid, thanks for noticing. Yeah, that's already known and tracked in issue #502. I'll try to improve the situation for the 0.5.0 final, but can't promise anything.

Thank you for pointing me to the right thread!

@asukaminato0721
Copy link

asukaminato0721 commented Oct 9, 2023

Arch Linux

KDE

Wayland

❯ ./NormCap-0.5.0-beta1-x86_64.AppImage 
05:32:21 - ERROR   - normcap.screengrab.dbus_portal:135 - Error code 1 received from xdg-portal!
05:32:21 - CRITICAL - normcap:138 - Uncaught exception!
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/.mount_NormCacSODSO/usr/python/lib/python3.10/runpy.py", line 224, in run_module
    return _run_module_code(code, init_globals, run_name, mod_spec)
  File "/tmp/.mount_NormCacSODSO/usr/python/lib/python3.10/runpy.py", line 96, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "/tmp/.mount_NormCacSODSO/usr/python/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/tmp/.mount_NormCacSODSO/usr/app/normcap/__main__.py", line 6, in <module>
    run()
  File "/tmp/.mount_NormCacSODSO/usr/app/normcap/app.py", line 99, in run
    app, tray = _prepare()
  File "/tmp/.mount_NormCacSODSO/usr/app/normcap/app.py", line 92, in _prepare
    tray = SystemTray(app, vars(args))
  File "/tmp/.mount_NormCacSODSO/usr/app/normcap/gui/tray.py", line 118, in __init__
    if not self._ensure_screenshot_permission():
  File "/tmp/.mount_NormCacSODSO/usr/app/normcap/gui/tray.py", line 402, in _ensure_screenshot_permission
    if screengrab.has_screenshot_permission():
  File "/tmp/.mount_NormCacSODSO/usr/app/normcap/screengrab/permissions.py", line 231, in has_screenshot_permission
    return _dbus_portal_has_screenshot_permission()
  File "/tmp/.mount_NormCacSODSO/usr/app/normcap/screengrab/permissions.py", line 200, in _dbus_portal_has_screenshot_permission
    result = dbus_portal.capture()
  File "/tmp/.mount_NormCacSODSO/usr/app/normcap/screengrab/dbus_portal.py", line 223, in capture
    result = _synchronized_capture(interactive=False)
  File "/tmp/.mount_NormCacSODSO/usr/app/normcap/screengrab/dbus_portal.py", line 200, in _synchronized_capture
    raise error
normcap.screengrab.exceptions.ScreenshotResponseError: Error code 1 received from xdg-portal!
05:32:21 - CRITICAL - normcap:141 - System info: {'normcap_version': '0.5.0-beta1', 'python_version': '3.10.13', 'cli_args': '-c', 'is_briefcase_package': True, 'is_flatpak_package': False, 'platform': 'linux', 'desktop_environment': <DesktopEnvironment.KDE: 2>, 'display_manager_is_wayland': True, 'pyside6_version': '6.5.3', 'qt_version': '6.5.3', 'qt_library_path': '/tmp/.mount_NormCacSODSO/usr/app_packages/PySide6/Qt/plugins, /tmp/.mount_NormCacSODSO/usr/python/bin', 'locale': 'zh_CN', 'config_directory': PosixPath('/home/w/.config/normcap'), 'resources_path': PosixPath('/tmp/.mount_NormCacSODSO/usr/app/normcap/resources'), 'tesseract_path': PosixPath('/tmp/.mount_NormCacSODSO/usr/bin/tesseract'), 'tessdata_path': PosixPath('/home/w/.config/normcap/tessdata'), 'envs': {'TESSDATA_PREFIX': None, 'LD_LIBRARY_PATH': None}, 'screens': [Screen(left=0, top=0, right=1919, bottom=1079, device_pixel_ratio=1.0, index=0, screenshot=None)]}
05:32:21 - CRITICAL - normcap:142 - Unfortunately, NormCap has to be terminated due to an unknown problem.
Please help improve NormCap by reporting this error, including the output above, on
https://github.com/dynobo/normcap/issues/new
Thanks!

@dynobo
Copy link
Owner Author

dynobo commented Dec 17, 2023

Closing this, as 0.5.0 got release.
Thanks everyone for your help! 😊

@dynobo dynobo closed this as completed Dec 17, 2023
@dynobo dynobo unpinned this issue Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Looking for contributors to work on this issue
Projects
None yet
Development

No branches or pull requests

3 participants