- User Interfaces
- Qtvcp
- [QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture()
[QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture()
30 May 2022 12:29 - 30 May 2022 12:29 #244203
by ikkuh
[QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture() was created by ikkuh
[QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture() takes at most 1 argument (2 given) (camview_widget.py:290)
The cam works in vlc (and used to work great in qtDragon).
This is my production machine, using the buildbot version (updated today).
The cam works in vlc (and used to work great in qtDragon).
This is my production machine, using the buildbot version (updated today).
Attachments:
Last edit: 30 May 2022 12:29 by ikkuh.
Please Log in or Create an account to join the conversation.
30 May 2022 12:51 #244204
by cmorley
Replied by cmorley on topic [QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture()
The linux_info file doesn't give any pertinent info.
Can you post the output from he terminal.
On a quick look I can't see an error in the file.
Maybe you could post the camview.py file too?
Can you post the output from he terminal.
On a quick look I can't see an error in the file.
Maybe you could post the camview.py file too?
Please Log in or Create an account to join the conversation.
30 May 2022 12:57 - 30 May 2022 13:01 #244205
by ikkuh
Replied by ikkuh on topic [QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture()
[QTvcp][INFO] postgui filename: (qtvcp:409)
note: name is 'DragonRise Inc. Generic USB Joystick '
[QTvcp][INFO] postgui commands: None (qtvcp:421)
[QTvcp][INFO] Preference path: /home/cnc/linuxcnc/configs/qt/qtdragon.pref (qtvcp:399)
[QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture() takes at most 1 argument (2 given) (camview_widget.py:290)
There is no camview.py
cnc@cnc-machine:~/linuxcnc/configs/qt$ locate camview.py
not found
cnc@cnc-machine:~/linuxcnc/configs/qt$ locate camview
/usr/lib/python3/dist-packages/qtvcp/plugins/camview_plugin.py
/usr/lib/python3/dist-packages/qtvcp/plugins/__pycache__/camview_plugin.cpython-37.pyc
/usr/lib/python3/dist-packages/qtvcp/widgets/camview_widget.py
/usr/lib/python3/dist-packages/qtvcp/widgets/__pycache__/camview_widget.cpython-37.pyc
Is this not the error?
Video capture error: VideoCapture() takes at most 1 argument (2 given) (camview_widget.py:290)
note: name is 'DragonRise Inc. Generic USB Joystick '
[QTvcp][INFO] postgui commands: None (qtvcp:421)
[QTvcp][INFO] Preference path: /home/cnc/linuxcnc/configs/qt/qtdragon.pref (qtvcp:399)
[QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture() takes at most 1 argument (2 given) (camview_widget.py:290)
There is no camview.py
cnc@cnc-machine:~/linuxcnc/configs/qt$ locate camview.py
not found
cnc@cnc-machine:~/linuxcnc/configs/qt$ locate camview
/usr/lib/python3/dist-packages/qtvcp/plugins/camview_plugin.py
/usr/lib/python3/dist-packages/qtvcp/plugins/__pycache__/camview_plugin.cpython-37.pyc
/usr/lib/python3/dist-packages/qtvcp/widgets/camview_widget.py
/usr/lib/python3/dist-packages/qtvcp/widgets/__pycache__/camview_widget.cpython-37.pyc
Is this not the error?
Video capture error: VideoCapture() takes at most 1 argument (2 given) (camview_widget.py:290)
Attachments:
Last edit: 30 May 2022 13:01 by ikkuh.
Please Log in or Create an account to join the conversation.
30 May 2022 12:59 #244206
by cmorley
Replied by cmorley on topic [QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture()
sorry. camview_widget.py
Please Log in or Create an account to join the conversation.
30 May 2022 13:05 #244207
by cmorley
Replied by cmorley on topic [QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture()
Well that file is the same as I'm using..hmmm
Please Log in or Create an account to join the conversation.
30 May 2022 13:24 #244208
by ikkuh
Replied by ikkuh on topic [QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture()
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
30 May 2022 14:23 #244215
by tommylight
Replied by tommylight on topic [QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture()
Yes it is, so check for a space or a . or whatever that might be seen as the second argument on line 290.Is this not the error?
Video capture error: VideoCapture() takes at most 1 argument (2 given) (camview_widget.py:290)
Please Log in or Create an account to join the conversation.
13 Jun 2022 06:47 - 13 Jun 2022 06:49 #245056
by hottabich
Replied by hottabich on topic [QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture()
Maybe there is something strange going on.... See the screenshot where the checkmarks are gone.Yesterday I purged the install of LinuxCNC and did a fresh apt install linuxcnc-uspace on this production machine.Debian 10.12LinuxCNC LINUXCNC - 2.9.0-pre0-6533-g54bc57f73
Replace the argentinum.qss file.
Last edit: 13 Jun 2022 06:49 by hottabich.
Please Log in or Create an account to join the conversation.
18 Jun 2022 04:37 #245378
by cmorley
Replied by cmorley on topic [QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture()
I think we may have got these fixed or definitely moving forward on them.
Thanks for the bug reports.
Thanks for the bug reports.
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
Moderators: cmorley
- User Interfaces
- Qtvcp
- [QTvcp.QTVCP.WIDGETS.CAMVIEW_WIDGET][ERROR] Video capture error: VideoCapture()
Time to create page: 0.121 seconds