tdm
tdm copied to clipboard
Some crashes on mac
Can't open the app to get logs ..etc .
It does run on my Mac. Without telling which OS version running we can not help.
On MacOS 13.5.1 (Intel) I'm running into this as well. Currently running python3 version 3.11.4_1.
tdmgr installed via pip3 install tdmgr
Use case to reproduce:
- Run
tdmgr.py
from cli - Once UI comes up. select MQTT->Broker from menu bar and enter specs for your mqtt broker to connect to and click Save button (do not select Connect on startup as this results on crash at startup until you delete
~/TDM/tdm.cfg
) - Attempt to connect to MQTT by clicking MQTT->Connect from menubar
- App will crash with the following trace:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/Util/models.py", line 281, in paint
p.drawPixmap(option.rect.x() + 2, option.rect.y() + px_y, px.scaled(24, 24))
TypeError: arguments did not match any overloaded call:
drawPixmap(self, QRectF, QPixmap, QRectF): argument 1 has unexpected type 'int'
drawPixmap(self, QRect, QPixmap, QRect): argument 1 has unexpected type 'int'
drawPixmap(self, Union[QPointF, QPoint], QPixmap): argument 1 has unexpected type 'int'
drawPixmap(self, QPoint, QPixmap): argument 1 has unexpected type 'int'
drawPixmap(self, QRect, QPixmap): argument 1 has unexpected type 'int'
drawPixmap(self, int, int, QPixmap): argument 2 has unexpected type 'float'
drawPixmap(self, int, int, int, int, QPixmap): argument 2 has unexpected type 'float'
drawPixmap(self, int, int, int, int, QPixmap, int, int, int, int): argument 2 has unexpected type 'float'
drawPixmap(self, int, int, QPixmap, int, int, int, int): argument 2 has unexpected type 'float'
drawPixmap(self, Union[QPointF, QPoint], QPixmap, QRectF): argument 1 has unexpected type 'int'
drawPixmap(self, QPoint, QPixmap, QRect): argument 1 has unexpected type 'int'
edit - connecting to Eclipse Mosquitto 1.6.10
Works on MacOs on intel 12.6, can’t run 13 here.
From: John Kinsella @.*** Sent: Friday, 25 August 2023 10:45 a.m. To: jziolkowski/tdm Cc: Subscribed Subject: Re: [jziolkowski/tdm] Some crashes on mac (Issue #239)
On MacOS 13.5.1 (Intel) I'm running into this as well. Currently running python3 version 3.11.4_1.
tdmgr installed via pip3 install tdmgr
Use case to reproduce:
- Run tdmgr.py from cli
- Once UI comes up. select MQTT->Broker from menu bar and enter specs for your mqtt broker to connect to and click Save button (do not select Connect on startup as this results on crash at startup until you delete ~/TDM/tdm.cfg)
- Attempt to connect to MQTT by clicking MQTT->Connect from menubar
- App will crash with the following trace:
Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/Util/models.py", line 281, in paint p.drawPixmap(option.rect.x() + 2, option.rect.y() + px_y, px.scaled(24, 24)) TypeError: arguments did not match any overloaded call: drawPixmap(self, QRectF, QPixmap, QRectF): argument 1 has unexpected type 'int' drawPixmap(self, QRect, QPixmap, QRect): argument 1 has unexpected type 'int' drawPixmap(self, Union[QPointF, QPoint], QPixmap): argument 1 has unexpected type 'int' drawPixmap(self, QPoint, QPixmap): argument 1 has unexpected type 'int' drawPixmap(self, QRect, QPixmap): argument 1 has unexpected type 'int' drawPixmap(self, int, int, QPixmap): argument 2 has unexpected type 'float' drawPixmap(self, int, int, int, int, QPixmap): argument 2 has unexpected type 'float' drawPixmap(self, int, int, int, int, QPixmap, int, int, int, int): argument 2 has unexpected type 'float' drawPixmap(self, int, int, QPixmap, int, int, int, int): argument 2 has unexpected type 'float' drawPixmap(self, Union[QPointF, QPoint], QPixmap, QRectF): argument 1 has unexpected type 'int' drawPixmap(self, QPoint, QPixmap, QRect): argument 1 has unexpected type 'int'
— Reply to this email directly, view it on GitHub https://github.com/jziolkowski/tdm/issues/239#issuecomment-1692509103 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3FXTZ34NYG264UQDA2GM3XW7KNDANCNFSM6AAAAAAW3B2DDA . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/AB3FXT7K4HLATIJ2OCK2EG3XW7KNDA5CNFSM6AAAAAAW3B2DDCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTE4GR26.gif Message ID: @.***>
Got the exact same problem like @jlk here on my Intel iMac running macOS 13.6.1.
Also installed via pip3 install tdmgr
.
Running Python 3.11.6
pls clone the source and install manually the latest dev version
cloned the source and installed manually but same errors here just after setup mqtt broker