Skip to content

mDrawGui with Ubuntu #66

Description

@Buitani

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions