Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fixed unexpected type 'float' error by parsing to integer #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Michi4
Copy link

@Michi4 Michi4 commented Jul 2, 2023

1fichier-dl-main\src\gui.py", line 133, in update_receive_signal
data[i].setValue(items[i])
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

@@ -113,7 +113,7 @@ def download_receive_signal(self, row, link, append_row = True, dl_name = '', pr
self.gui.table_model.appendRow(row)
index = self.gui.table_model.index(self.gui.table_model.rowCount()-1, 4)
progress_bar = QProgressBar()
progress_bar.setValue(progress)
progress_bar.setValue(int(progress)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a missing parenthesis ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants