Bug#1033052: eviacam quits with "cvCreateCameraCapture doesn't support legacy API anymore"

2023-10-03 Thread Olly Betts
Control: forwarded -1 https://github.com/cmauri/eviacam/issues/22
Control: severity -1 serious

I'm raising the severity since important is defined as "a bug which has
a major effect on the usability of a package, without rendering it
completely unusable to everyone", but this bug means the eviacam package
is completely unusable to everyone.

https://github.com/cmauri/eviacam/pull/38 (which has been merged
upstream but isn't in a release yet) may fix this, but I haven't
attempted to test this (

Cheers,
Olly



Bug#1033052: eviacam quits with "cvCreateCameraCapture doesn't support legacy API anymore"

2023-03-16 Thread Enrico Zini
Package: eviacam
Version: 2.1.4-2.1
Severity: important

Hello,

thank you for packaging eviacam!

I tried it out, and I don't seem to be able to make it work. From the
output, it looks like some API has changed:

  $ eviacam
  [ERROR:0@0.026] global ./modules/core/src/persistence.cpp (505) open Can't 
open file: '/usr/share/eviacam/haarcascade_frontalface_default.xml' in read mode
  [ERROR:0@0.026] global ./modules/core/src/persistence.cpp (505) open Can't 
open file: '/usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml' 
in read mode
  [ERROR:0@0.026] global ./modules/core/src/persistence.cpp (505) open Can't 
open file: '/usr/share/OpenCV/haarcascades/haarcascade_frontalface_default.xml' 
in read mode
  [libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00980001, name 
= 'User Controls', type = 6
  [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 
0x00980001, name = 'User Controls'
  [libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x009A0001, name 
= 'Camera Controls', type = 6
  [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 
0x009A0001, name = 'Camera Controls'
  [ WARN:0@4.467] global ./modules/videoio/src/videoio_c.cpp (15) 
cvCreateCameraCapture cvCreateCameraCapture doesn't support legacy API anymore.


Enrico

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages eviacam depends on:
ii  debconf [debconf-2.0]   1.5.82
ii  libc6   2.36-8
ii  libgcc-s1   12.2.0-14
ii  libgtk-3-0  3.24.37-2
ii  libopencv-core406   4.6.0+dfsg-11
ii  libopencv-imgproc4064.6.0+dfsg-11
ii  libopencv-objdetect406  4.6.0+dfsg-11
ii  libopencv-video406  4.6.0+dfsg-11
ii  libopencv-videoio4064.6.0+dfsg-11
ii  libstdc++6  12.2.0-14
ii  libv4l-01.22.1-5+b1
ii  libwxbase3.2-1  3.2.2+dfsg-2
ii  libwxgtk3.2-1   3.2.2+dfsg-2
ii  libx11-62:1.8.4-2
ii  libxtst62:1.2.3-1.1
ii  opencv-data 4.6.0+dfsg-11

Versions of packages eviacam recommends:
pn  wx3.0-i18n  

eviacam suggests no packages.

-- debconf information:
  eviacamloader/eviacamloader_setuid: false