Package Details: normcap 0.5.9-1

Git Clone URL: https://aur.archlinux.org/normcap.git (read-only, click to copy)
Package Base: normcap
Description: OCR powered screen-capture tool to capture information instead of images
Upstream URL: https://dynobo.github.io/normcap
Licenses: AGPL-3.0-or-later AND MIT
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 15
Popularity: 0.95
First Submitted: 2021-11-07 21:19 (UTC)
Last Updated: 2024-12-13 02:40 (UTC)

Dependencies (17)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

gertvdijk commented on 2023-02-18 15:06 (UTC)

Starting normcap 0.4.0-1 gives me this error:

$ normcap 
16:03:48 - ERROR   - normcap:206 - [QT] qtfatalmsg - this application failed to start because no qt platform plugin could be initialized. reinstalling the application may fix this problem.

available platform plugins are: xcb, offscreen, minimalegl, vkkhrdisplay, linuxfb, minimal, vnc, eglfs.

Aborted (core dumped)

Am I doing something wrong? Looks like a missing dependency. 😕

dynobo commented on 2023-01-29 20:53 (UTC)

Hi @yochananmarqos,

the new version v0.4.0 of NormCap just got released.

I think two adjustments might be necessary for the AUR package:

  1. I think prepare() is not necessary anymore (briefcase got removed as build dependency for the Python package)
  2. The path to icons and metainfo got renamed from package to bundle

dynobo commented on 2023-01-28 18:52 (UTC)

Thanks a lot, @yochananmarqos! That fixed it, 0.3.15-3 works flawless! :-)

yochananmarqos commented on 2023-01-28 18:44 (UTC)

@dynobo: That's quite curious as I can't reproduce it. Either way, I removed the .gitignore now.

dynobo commented on 2023-01-28 18:38 (UTC) (edited on 2023-01-28 18:42 (UTC) by dynobo)

@yochananmarqos: I dug a bit deeper, and it's the .gitignore file that is causing the issues. If it exists and excludes src/, everything under pkg/normcap/usr/lib/python3.10/site-packages/normcap is also excluded from the archive normcap-..-any.pkg.tar.zst. If I delete .gitignore, everything works fine.

PS: I'm just trying to help.

yochananmarqos commented on 2023-01-28 17:43 (UTC)

@dynobo: Well, then don't use Pamac for AUR packages.

dynobo commented on 2023-01-28 17:42 (UTC)

@yochananmarqos:

What does that mean?

It means, if I run pamac install normcap to install the package (like I usually do for any AUR package), the installation runs through, but if I try to start normcap afterwards, it fails with ModuleNotFoundError.

yochananmarqos commented on 2023-01-28 17:08 (UTC)

@dynobo:

if I download the PKGBUILD-files and build + install locally, it works flawless

Right, so what's the problem, then?

running the same through AUR

What does that mean?

dynobo commented on 2023-01-28 17:00 (UTC)

@yochananmarqos: I'm up-to-date with Arch Stable, still I'm getting the same error as reported by @Tio and @archisman:

$ pamac list --installed | grep normcap
normcap        0.3.15-2        AUR          142,8 kB

$ normcap
Traceback (most recent call last):
  File "/usr/bin/normcap", line 5, in <module>
    from normcap.app import main
ModuleNotFoundError: No module named 'normcap'

Interestingly, if I download the PKGBUILD-files and build + install locally, it works flawless. But running the same through AUR results in the error above. I don't get it...

Any ideas for further testing?

Tio commented on 2023-01-23 00:23 (UTC)

I see thank you very much for the input.