ra1nty / DXcam

A Python high-performance screen capture library for Windows using Desktop Duplication API
MIT License
457 stars 67 forks source link

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

Open lon91ong opened 1 year ago

lon91ong commented 1 year ago

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

Jonathan0328 commented 1 year ago

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

eusolobehe1898 commented 1 year ago

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

AI-M-BOT commented 11 months ago

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

upgrade to windows 10 DXGI is never for windows 7

niloriver commented 6 months ago

Same issue here. Using Windows 11.

2 graphic cards. Intel Graphics and NVIDIA 2060.

Alexandros444 commented 2 weeks ago

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.