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

Unable to stop the stream: Invalid argument #50

Closed
ChrisChinh opened this issue Jul 3, 2018 · 9 comments
Closed

Unable to stop the stream: Invalid argument #50

ChrisChinh opened this issue Jul 3, 2018 · 9 comments
Labels
bug Something isn't working distro: arch stale This is an older thread that's inactive

Comments

@ChrisChinh
Copy link

ChrisChinh commented Jul 3, 2018

Hello,
please excuse any incorrect formatting, this is my first time using Github. I installed howdy using the aur package but when I run sudo howdy test I get:

Unable to stop the stream: Invalid argument

Opening a window with a test feed

Press ctrl+C in this terminal to quit
Click on the image to enable or disable slow mode

Traceback (most recent call last):
  File "/usr/bin/howdy", line 98, in <module>
    import cli.test
  File "/usr/lib/security/howdy/cli/test.py", line 78, in <module>
    overlay = frame.copy()
AttributeError: 'NoneType' object has no attribute 'copy'

Am I doing something wrong?
Thanks in advance for the support

@boltgolt boltgolt added the bug Something isn't working label Jul 3, 2018
@boltgolt
Copy link
Owner

boltgolt commented Jul 3, 2018

@KelleyMcChes problemens with the cv2 python bindings perhaps?

@boltgolt boltgolt changed the title howdy fails on arch Unable to stop the stream: Invalid argument Jul 3, 2018
@KelleyMcChes
Copy link
Contributor

There are currently a few problems with the Arch package. I am working on it currently and should have it fixed in the next few days. @boltgolt @ChrisChinh

@boltgolt
Copy link
Owner

boltgolt commented Jul 3, 2018

Great, thanks!

@KelleyMcChes
Copy link
Contributor

I finally got howdy updated and the issue should be fixed. Don't forget to change /dev/videoX in the config file or you will get an error!

@boltgolt
Copy link
Owner

Great, thanks!

Is it possible for a multi-distro package to track the .SRCINFO and PKGBUILD files within the main repo? I find it a bit unnerving that such important files are not saved in the repository and are only available on AUR. I guess there is a chicken-egg problem with the sha256sums but that's only a small part of the files.

@KelleyMcChes
Copy link
Contributor

The problem is that the .SRCINFO is generated dynamically with every new PKGBUILD. If there ever seems to be an issue with a new version and I have to modify the PKGBUILD by adding a package or something similar, the .SRCINFO will change and thus the sha256 of the package will change. There's a reason no package stores it's checksums inside the downloaded zip or tar file 😉

@boltgolt
Copy link
Owner

boltgolt commented Jul 20, 2018

I get that there's a chicken-egg there, but it's weird to me that such an important file is only stored outside this repo.

@Madseason41
Copy link

I have the same issue when I update the kernel on Ubuntu 18.04 to 4.18 from 4.15.
Once i revert back to 4.15 everything works fine.

Error when using 4.18 and trying sudo apt update:

Unable to stop the stream: Invalid argument
VIDEOIO ERROR: V4L: can't open camera by index 1
Face detection timeout reached

Error when trying sudo howdy test:

Unable to stop the stream: Invalid argument
VIDEOIO ERROR: V4L: can't open camera by index 1

Opening a window with a test feed

Press ctrl+C in this terminal to quit
Click on the image to enable or disable slow mode

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Traceback (most recent call last):
File "/usr/local/bin/howdy", line 102, in
import cli.test
File "/lib/security/howdy/cli/test.py", line 85, in
overlay = frame.copy()
AttributeError: 'NoneType' object has no attribute 'copy'

Ideas?

@boltgolt
Copy link
Owner

boltgolt commented Oct 4, 2018

Following up on issues i forgot to reply to in august, are you still having this problem or did you fix it/uninstall Howdy?

@boltgolt boltgolt added the stale This is an older thread that's inactive label Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working distro: arch stale This is an older thread that's inactive
Projects
None yet
Development

No branches or pull requests

4 participants