DXcam icon indicating copy to clipboard operation
DXcam copied to clipboard

AttributeError: 'DXCamera' object has no attribute 'is_capturing'

Open lon91ong opened this issue 1 year ago • 5 comments

Like #49 , but my OS is windows7 and python version is 3.8.16 Traceback info:

Exception ignored in: <function DXCamera.__del__ at 0x00000000121BDDC0>
Traceback (most recent call last):
  File "E:\Python\DXcam\dxcam\dxcam.py", line 243, in __del__
    self.release()
  File "E:\Python\DXcam\dxcam\dxcam.py", line 238, in release
    self.stop()
  File "E:\Python\DXcam\dxcam\dxcam.py", line 138, in stop
    if self.is_capturing:
AttributeError: 'DXCamera' object has no attribute 'is_capturing'

I have download the new version source code from github and install with pip install --editable . , no help with the problem

lon91ong avatar Mar 02 '23 07:03 lon91ong

I have 2 graphic cards in my computer. I have the same issue with you too. Here is how I solved this problem image image I changed my graphic preference from Nvidia Geforce RTX 3060 to AMD Radeon(TM) Graphics. Then the problem solved. Hope it was helpful to you. Wish you have a nice day~

P.S. Graphics settings -> find python.exe -> Graphic preference -> Power saving

Jonathan0328 avatar Mar 04 '23 21:03 Jonathan0328

I have the same problem only on windows 7, any solution?

eusolobehe1898 avatar Apr 24 '23 22:04 eusolobehe1898

I have the same problem only on windows 7, any solution?

upgrade to windows 10 DXGI is never for windows 7

AI-M-BOT avatar Jul 29 '23 02:07 AI-M-BOT

Same issue here. Using Windows 11.

2 graphic cards. Intel Graphics and NVIDIA 2060.

niloriver avatar Dec 24 '23 02:12 niloriver

Hello, I have the Same Problem, on Windows 10. Using Python 3.10 from the Microsoft Store.

On my other System, Win10 Python 3.11 downloaded on the Python Website, everything is working fine.

Alexandros444 avatar Jun 24 '24 21:06 Alexandros444