PieMenu icon indicating copy to clipboard operation
PieMenu copied to clipboard

DeprecationWarning

Open adrianinsaval opened this issue 5 years ago • 2 comments

https://github.com/triplus/PieMenu/blob/9e478c0cecd89ff372f060eb14018385bbf0a22f/InitGui.py#L410

Hi, I'm currently getting this warning when starting the freecad 0.19 appimage:

:410: DeprecationWarning: an integer is required (got type PySide2.QtCore.Qt.WindowFlags). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python. :410: DeprecationWarning: an integer is required (got type PySide2.QtCore.Qt.WindowType). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.

It doesn't say wich workbench but I removed all workbenchs and reinstalled one by one until it appeared again.

It doen's affect functionality AFAIK but figured it was worth reporting.

adrianinsaval avatar Jan 31 '20 11:01 adrianinsaval

Thanks for the report.

Indeed this is just a warning and it shouldn't cause issues for now. Will look into it and make it future proof.

triplus avatar Jan 31 '20 14:01 triplus

Can confirm issue here

OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29177 +426 (Git) Snap 517
Build type: Release
Branch: tag: 0.20.2
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.5, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * Behave-Dark-Colors 0.1.1
  * fasteners 0.4.56
  * Help 1.0.3
  * PieMenu 1.2.7

mjollnir14 avatar Apr 18 '23 12:04 mjollnir14