Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

[BUG] Python 3.10 unexpected type 'float' #277

Closed
RCristiano opened this issue Nov 30, 2021 · 0 comments · Fixed by #278
Closed

[BUG] Python 3.10 unexpected type 'float' #277

RCristiano opened this issue Nov 30, 2021 · 0 comments · Fixed by #278
Labels
bug Something isn't working

Comments

@RCristiano
Copy link
Contributor

Describe the bug
Running guiscrcpy from pip installation, exits with error when clicking start

To Reproduce
Steps to reproduce the behavior:

  1. Open guiscrcpy
  2. Select device
  3. Click on start

Expected behavior
Opens scrcpy with chosen device

Screenshots

Traceback (most recent call last):
  File "/home/rcristiano/.local/lib/python3.10/site-packages/guiscrcpy/launcher.py", line 926, in start_act
    progress = self.progress(progress)
  File "/home/rcristiano/.local/lib/python3.10/site-packages/guiscrcpy/launcher.py", line 806, in progress
    self.progressBar.setValue(val)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'

Desktop (please complete the following information):

Linux

Distribution: Fedora Linux 35 (Workstation Edition) x86_64
Desktop Environment: GNOME 41.1
Architecture: Intel 64-bit

Additional context
Python: 3.10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant