Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. ERROR:extension_system_qt.cpp(122)] Failed to parse extension manifest.
Forum Updated to NodeBB v4.3 + New Features

ERROR:extension_system_qt.cpp(122)] Failed to parse extension manifest.

Scheduled Pinned Locked Moved Unsolved QtWebEngine
10 Posts 4 Posters 3.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    v.n.lee
    wrote on 27 Dec 2019, 09:57 last edited by
    #1

    code_text

    import sys
    from PySide2.QtWidgets import *
    from PySide2.QtWebEngineWidgets import *
    
    class MainWindow(QMainWindow):
        def __init__(self):
            super().__init__()
            self.setWindowTitle('my web')
            self.resize(900, 550)
            self.setWindowIcon(QIcon('./icons/penguin.png'))
            self.web = QWebEngineView(self)
            self.web.load(QUrl('https://www.baidu.com'))
            self.setCentralWidget(self.web)
    
    
    if __name__ == '__main__':
        app = QApplication(sys.argv)
        main_win = MainWindow()
        main_win.show()
        exit_code = app.exec_()
        sys.exit(exit_code)
    
    #############
    
    when I run it , IDE say:[63152:80864:1227/175414.020:ERROR:extension_system_qt.cpp(122)] Failed to parse extension manifest.
    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 27 Dec 2019, 10:01 last edited by
      #2

      Hi,

      What version of PySide2 ?
      What version of python ?
      What OS ?
      What IDE ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      V 1 Reply Last reply 27 Dec 2019, 11:09
      0
      • S SGaist
        27 Dec 2019, 10:01

        Hi,

        What version of PySide2 ?
        What version of python ?
        What OS ?
        What IDE ?

        V Offline
        V Offline
        v.n.lee
        wrote on 27 Dec 2019, 11:09 last edited by
        #3

        @SGaist
        my code is:

        import sys
        from PySide2.QtCore import QUrl
        from PySide2.QtWidgets import *
        from PySide2.QtWebEngineWidgets import *
        
        class MainWindow(QMainWindow):
            def __init__(self):
                super().__init__()
                self.setWindowTitle('my web')
                self.resize(900, 550)
                self.setWindowIcon(QIcon('./icons/penguin.png'))
                self.web = QWebEngineView(self)
                self.web.load(QUrl('https://www.baidu.com'))
                self.setCentralWidget(self.web)
        
        
        if __name__ == '__main__':
            app = QApplication(sys.argv)
            main_win = MainWindow()
            main_win.show()
            exit_code = app.exec_()
            sys.exit(exit_code)
        

        python : 3.7 (X64)
        pyside2 : 5.14.0
        I have two cumputer , all of them can't run this code
        windows : win10 home (X64) \ IDE : pycharm 2019.2
        windows : win10 LTSC (X64) \ IDE : pycharm 2019.3

        But , if I don't put QWebEngineView in the window,just put some other widget in the window ,the window can be displayed normally

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 27 Dec 2019, 13:09 last edited by
          #4

          I haven't used QtWebEngine with Python but IIRC there's an initialisation function to call for that module at least in C++, you should check the equivalent for Python.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          V R 2 Replies Last reply 28 Dec 2019, 00:18
          0
          • S SGaist
            27 Dec 2019, 13:09

            I haven't used QtWebEngine with Python but IIRC there's an initialisation function to call for that module at least in C++, you should check the equivalent for Python.

            V Offline
            V Offline
            v.n.lee
            wrote on 28 Dec 2019, 00:18 last edited by
            #5

            @SGaist
            when I use pyqt5,it works normally

            D 1 Reply Last reply 8 Apr 2020, 01:38
            0
            • V v.n.lee
              28 Dec 2019, 00:18

              @SGaist
              when I use pyqt5,it works normally

              D Offline
              D Offline
              dcotruta
              wrote on 8 Apr 2020, 01:38 last edited by
              #6

              @v-n-lee See: https://forum.qt.io/topic/113413/pyside2-failed-to-parse-extension-manifest

              1 Reply Last reply
              0
              • R Offline
                R Offline
                Ryna
                wrote on 16 Jun 2020, 20:29 last edited by
                #7

                I was using QtWebEngineView with Ubuntu 18.04 + Qt 5.14.2 and my application was running properly from deployment package. I have upgraded ubuntu to 20 LTS and Qt to 5.15.0. Now after upgrade, application from deployment package shows issues like-

                ERROR:extension_system_qt.cpp(122)] Failed to parse extension manifest.
                

                Though from QtCreator it still works well. I am using C++ for development. I am sure that issue is because of QtWebEngineView as after commenting all functionalities related to QtWebEngineView, deployment package works well.
                Any help is much appreciated. Thanks

                1 Reply Last reply
                0
                • S SGaist
                  27 Dec 2019, 13:09

                  I haven't used QtWebEngine with Python but IIRC there's an initialisation function to call for that module at least in C++, you should check the equivalent for Python.

                  R Offline
                  R Offline
                  Ryna
                  wrote on 16 Jun 2020, 20:59 last edited by
                  #8

                  @SGaist I have put up my issue below, which is wrt C++. Can you please let me know which initialization function we need to use in C++? I am getting this issue in C++.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 17 Jun 2020, 20:12 last edited by
                    #9

                    I was thinking about qtwebengine::initialize but I do not think it's going to help.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    R 1 Reply Last reply 18 Jun 2020, 17:24
                    0
                    • S SGaist
                      17 Jun 2020, 20:12

                      I was thinking about qtwebengine::initialize but I do not think it's going to help.

                      R Offline
                      R Offline
                      Ryna
                      wrote on 18 Jun 2020, 17:24 last edited by
                      #10

                      @SGaist yeah.. This won't help..
                      Issue is fixed for me now.. I was facing this issue because in my deployment package, I hadn't updated resources and translations for QtWebEngineView so I was getting this issue. Updating these two folders worked fine for me.

                      1 Reply Last reply
                      1

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved