guiscrcpy icon indicating copy to clipboard operation
guiscrcpy copied to clipboard

[BUG] "TypeError: arguments did not match any overloaded call:"

Open hayukimori opened this issue 2 years ago • 5 comments

Describe the bug I tried to open application and got an exception from PySide6... The application created a window containing the following exception:

TypeError: arguments did not match any overloaded call:
  setSizePolicy(self, QSizePolicy): argument 1 has unexpected type 'PySide6.QtWidgets.QSizePolicy'
  setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy): argument 1 has unexpected type 'PySide6.QtWidgets.QSizePolicy

To Reproduce Steps to reproduce the behavior:

  1. Go to Terminal and launch 'guiscrcpy'

Expected behavior I expected a window that didn't contain an interface error..

Screenshots image

Desktop (please complete the following information):

  • [ ] Linux hayukimori@pasukon-a-hd

OS: Arch Linux x86_64 Kernel: 5.16.16-arch1-1 Uptime: 2 hours, 39 mins Packages: 1188 (pacman) Shell: zsh 5.8.1 Resolution: 1024x768 DE: Cinnamon 5.2.7 WM: Mutter (Muffin) WM Theme: Faded-Dream (CBlack) Theme: CBlack [GTK2/3] Icons: Mint-Y-Blue [GTK2/3] Terminal: xfce4-terminal Terminal Font: Monospace 10 CPU: Intel Core 2 Duo E7400 (2) @ 2.793GHz GPU: Intel 82G33/G31 Express Memory: 2037MiB / 3914MiB

Additional context I don't have much to report, I just had an interface error, and I don't know how to solve. PS: I downloaded from pip3

hayukimori avatar Mar 23 '22 13:03 hayukimori

me too I built it on M1 Pro

demonk avatar Mar 28 '22 04:03 demonk

me too Manjaro...

faonecze avatar May 14 '22 14:05 faonecze

Me too I built on Mac M1 Pro

mrfansi avatar Jun 13 '22 19:06 mrfansi

I have same!

gyurmogyuri avatar Jun 25 '22 12:06 gyurmogyuri

Try setting the environment variable QT_API=pyside2. After that it works for me.

e.g. in the shell, run

QT_API=pyside2 guiscrcpy

devsnd avatar Sep 12 '22 10:09 devsnd

I have tried an update meanwhile, on v2023.1.1. #345, let me know if the issue still exists.

srevinsaju avatar Jan 01 '23 18:01 srevinsaju