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

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

@RCristiano

Description

@RCristiano

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions