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

problem #616

Open
vladimiregorov74 opened this issue Apr 22, 2024 · 1 comment
Open

problem #616

vladimiregorov74 opened this issue Apr 22, 2024 · 1 comment
Labels
triage Needs confirmation and priotization

Comments

@vladimiregorov74
Copy link

(.venv) vladimir@vladimiregorov74:~/PycharmProjects/Normcap$ python3 -m normcap
21:16:40 - CRITICAL - normcap:148 - Uncaught exception!
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/vladimir/PycharmProjects/Normcap/.venv/lib/python3.10/site-packages/normcap/main.py", line 6, in
run()
File "/home/vladimir/PycharmProjects/Normcap/.venv/lib/python3.10/site-packages/normcap/app.py", line 101, in run
app, tray = _prepare()
File "/home/vladimir/PycharmProjects/Normcap/.venv/lib/python3.10/site-packages/normcap/app.py", line 94, in _prepare
tray = SystemTray(app, vars(args))
File "/home/vladimir/PycharmProjects/Normcap/.venv/lib/python3.10/site-packages/normcap/gui/tray.py", line 145, in init
self._show_windows(delay_screenshot=delay_screenshot)
File "/home/vladimir/PycharmProjects/Normcap/.venv/lib/python3.10/site-packages/normcap/gui/tray.py", line 208, in _show_windows
self._create_window(index)
File "/home/vladimir/PycharmProjects/Normcap/.venv/lib/python3.10/site-packages/normcap/gui/tray.py", line 547, in create_window
new_window.set_fullscreen()
File "/home/vladimir/PycharmProjects/Normcap/.venv/lib/python3.10/site-packages/normcap/gui/window.py", line 131, in set_fullscreen
raise ValueError("Screenshot is missing on screen %s", self.screen
)
ValueError: ('Screenshot is missing on screen %s', Screen(left=0, top=0, right=1919, bottom=1079, device_pixel_ratio=1.0, index=0, screenshot=<PySide6.QtGui.QImage(null) at 0x7c910f00d0c0>))
21:16:40 - CRITICAL - normcap:151 - System info: {'normcap_version': '0.5.4', 'python_version': '3.10.12', 'cli_args': '/home/vladimir/PycharmProjects/Normcap/.venv/lib/python3.10/site-packages/normcap/main.py', 'is_briefcase_package': False, 'is_flatpak_package': False, 'is_appimage_package': False, 'platform': 'linux', 'desktop_environment': <DesktopEnvironment.GNOME: 1>, 'display_manager_is_wayland': True, 'pyside6_version': '6.6.1', 'qt_version': '6.6.1', 'qt_library_path': '/home/vladimir/PycharmProjects/Normcap/.venv/lib/python3.10/site-packages/PySide6/Qt/plugins, /usr/bin', 'locale': 'ru_RU', 'config_directory': PosixPath('/home/vladimir/.config/normcap'), 'resources_path': PosixPath('/home/vladimir/PycharmProjects/Normcap/.venv/lib/python3.10/site-packages/normcap/resources'), 'tesseract_path': PosixPath('/usr/bin/tesseract'), 'tessdata_path': None, '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)]}
21:16:40 - CRITICAL - normcap:152 - Unfortunately, NormCap has to be terminated due to an unknown problem.

@dynobo
Copy link
Owner

dynobo commented May 18, 2024

Hi @vladimiregorov74,
Could you please run NormCap with debug log flag an post that output? In your case:

python3 -m normcap -v debug

@dynobo dynobo added the triage Needs confirmation and priotization label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs confirmation and priotization
Projects
None yet
Development

No branches or pull requests

2 participants