ppd / freecad-ppd

5 stars 1 forks source link

cannot import name 'QtNetwork' from 'PySide2' #3

Closed ppd closed 2 years ago

ppd commented 2 years ago
16:10:33  During initialization the error "cannot import name 'QtNetwork' from 'PySide2' (/snap/freecad-ppd/93/usr/lib/python3/dist-packages/PySide2/__init__.py)" occurred in /snap/freecad-ppd/93/usr/Mod/AddonManager/InitGui.py
16:10:33  Please look into the log file for further information
luzpaz commented 2 years ago

Per @chennes QtNetwrork is required dep: https://forum.freecadweb.org/viewtopic.php?p=554851#p554851

luzpaz commented 2 years ago

@ppd can you re-run publish-daily job?

ppd commented 2 years ago

@luzpaz https://github.com/ppd/freecad-ppd/actions/runs/1599324487

luzpaz commented 2 years ago

Failed at https://github.com/ppd/freecad-ppd/runs/4575918879?check_suite_focus=true#step:4:9197

In file included from /home/runner/work/freecad-ppd/freecad-ppd/parts/freecad/src/src/Gui/Quarter/SoQTQuarterAdaptor.cpp:40:
/snap/kde-frameworks-5-qt-5-15-3-core20-sdk/current/usr/include/GL/glext.h:54: warning: "GL_GLEXT_VERSION" redefined
   54 | #define GL_GLEXT_VERSION 20190805
      | 
In file included from /snap/kde-frameworks-5-qt-5-15-3-core20-sdk/6/usr/include/x86_64-linux-gnu/qt5/QtGui/qopengl.h:146,
                 from /snap/kde-frameworks-5-qt-5-15-3-core20-sdk/6/usr/include/x86_64-linux-gnu/qt5/QtGui/qopenglcontext.h:60,
                 from /snap/kde-frameworks-5-qt-5-15-3-core20-sdk/6/usr/include/x86_64-linux-gnu/qt5/QtGui/QOpenGLContext:1,
                 from /home/runner/work/freecad-ppd/freecad-ppd/parts/freecad/build/src/QtOpenGL.h:33,
                 from /home/runner/work/freecad-ppd/freecad-ppd/parts/freecad/src/src/Gui/Quarter/QuarterWidget.h:43,
                 from /home/runner/work/freecad-ppd/freecad-ppd/parts/freecad/src/src/Gui/Quarter/SoQTQuarterAdaptor.h:24,
                 from /home/runner/work/freecad-ppd/freecad-ppd/parts/freecad/src/src/Gui/Quarter/SoQTQuarterAdaptor.cpp:22:
/snap/kde-frameworks-5-qt-5-15-3-core20-sdk/6/usr/include/x86_64-linux-gnu/qt5/QtGui/qopenglext.h:60: note: this is the location of the previous definition
   60 | #define GL_GLEXT_VERSION 20190228
      | 
ppd commented 2 years ago

That's not actually the issue. That warning is also in every successful build log. The automated build kicks off very soon, so let's just see if it was only a random build fail.

ppd commented 2 years ago

Closed by revision 94