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

mDrawGui with Ubuntu #66

Open
Buitani opened this issue Apr 6, 2023 · 0 comments
Open

mDrawGui with Ubuntu #66

Buitani opened this issue Apr 6, 2023 · 0 comments

Comments

@Buitani
Copy link

Buitani commented Apr 6, 2023

Started mDrawGui with
sudo python3 mDraw.py

When I want to open mDrawGui it looks fine, but in the terminal I got this message:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
/home/bob/Downloads/mDrawBot-master/mDrawGui/mDraw.py:130: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
  self.refreshThread.setDaemon(True)
Traceback (most recent call last):
  File "/home/bob/Downloads/mDrawBot-master/mDrawGui/ScaraRobot.py", line 168, in paint
    painter.drawEllipse(x1-5,y1-5,10,10)
TypeError: arguments did not match any overloaded call:
  drawEllipse(self, QRectF): argument 1 has unexpected type 'float'
  drawEllipse(self, QRect): argument 1 has unexpected type 'float'
  drawEllipse(self, int, int, int, int): argument 1 has unexpected type 'float'
  drawEllipse(self, Union[QPointF, QPoint], float, float): argument 1 has unexpected type 'float'
  drawEllipse(self, QPoint, int, int): argument 1 has unexpected type 'float'
Traceback (most recent call last):
  File "/home/bob/Downloads/mDrawBot-master/mDrawGui/ScaraRobot.py", line 168, in paint
    painter.drawEllipse(x1-5,y1-5,10,10)

mDrawGui does not work properly. I cant load files.

Any suggestions what I can do?

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

1 participant