Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Some crashes on mac #239

Open
dosipod opened this issue Apr 12, 2023 · 6 comments
Open

Some crashes on mac #239

dosipod opened this issue Apr 12, 2023 · 6 comments

Comments

@dosipod
Copy link

dosipod commented Apr 12, 2023

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

@Jason2866
Copy link
Collaborator

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

@jlk
Copy link

jlk commented Aug 24, 2023

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

@PVerburg
Copy link

PVerburg commented Aug 25, 2023 via email

@metawops
Copy link

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

@jziolkowski
Copy link
Owner

pls clone the source and install manually the latest dev version

@xinuxnt
Copy link

xinuxnt commented Nov 30, 2023

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

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

No branches or pull requests

7 participants