tdm icon indicating copy to clipboard operation
tdm copied to clipboard

Some crashes on mac

Open dosipod opened this issue 1 year ago • 6 comments

image Can't open the app to get logs ..etc .

dosipod avatar Apr 12 '23 02:04 dosipod

It does run on my Mac. Without telling which OS version running we can not help.

Jason2866 avatar Apr 30 '23 17:04 Jason2866

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:

  1. Run tdmgr.py from cli
  2. 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)
  3. Attempt to connect to MQTT by clicking MQTT->Connect from menubar
  4. 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

jlk avatar Aug 24 '23 22:08 jlk

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:

  1. Run tdmgr.py from cli
  2. 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)
  3. Attempt to connect to MQTT by clicking MQTT->Connect from menubar
  4. 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: @.***>

PVerburg avatar Aug 25 '23 02:08 PVerburg

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

metawops avatar Nov 18 '23 22:11 metawops

pls clone the source and install manually the latest dev version

jziolkowski avatar Nov 21 '23 09:11 jziolkowski

cloned the source and installed manually but same errors here just after setup mqtt broker

xinuxnt avatar Nov 30 '23 00:11 xinuxnt