/srv/irclogs.ubuntu.com/2022/03/05/#ubuntu-qt.txt

lubot_[telegram] <RikMills> line 208, in _init_icons11:38
lubot_[telegram] <RikMills>     secure_pix = secure_icon.pixmap(ICON_SIZE / 2, ICON_SIZE / 2)11:38
lubot_[telegram] <RikMills> TypeError: arguments did not match any overloaded call:11:38
lubot_[telegram] <RikMills>   pixmap(self, QSize, mode: QIcon.Mode = QIcon.Normal, state: QIcon.State = QIcon.Off): argument 1 has unexpected type 'float'11:38
lubot_[telegram] <RikMills>   pixmap(self, int, int, mode: QIcon.Mode = QIcon.Normal, state: QIcon.State = QIcon.Off): argument 1 has unexpected type 'float'11:38
lubot_[telegram] <RikMills>   pixmap(self, int, mode: QIcon.Mode = QIcon.Normal, state: QIcon.State = QIcon.Off): argument 1 has unexpected type 'float'11:38
lubot_[telegram] <RikMills>   pixmap(self, QWindow, QSize, mode: QIcon.Mode = QIcon.Normal, state: QIcon.State = QIcon.Off): argument 1 has unexpected type 'float'11:38
lubot_[telegram] <RikMills> crash in KDE ubiquity11:38
lubot_[telegram] <RikMills> does anyone with better python than me think it might be due to this in python 3.10?11:39
lubot_[telegram] <RikMills> https://bugs.python.org/issue3799911:39
lubot_[telegram] <mitya57> Yes, it may be due to that. Need to use int(foo).11:41
lubot_[telegram] <RikMills> thanks11:41
lubot_[telegram] <RikMills> fixes it. but there at least 2 more places in the code with a similar issue. probably more12:16

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!