Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2750

macOS: pyside6-deploy FATAL: Error, failed to find path @rpath/QtVirtualKeyboardSettings.framework/Versions/A/QtVirtualKeyboardSettings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.5.6, 6.7.2, 6.8.0
    • 6.7.0
    • PySide
    • None
    • macOS
    • effb59934 (dev), 68ae0c087 (6.7), e0677649e (tqtc/lts-6.5)

    Description

      1. pyside6-project new-quick qml_test
      2. cd qml_test
      3. pyside6-deploy main.py

      Error log is 

       

      ❯ pyside6-deploy main.py
      Collecting Nuitka==2.1
        Using cached Nuitka-2.1-cp311-cp311-macosx_14_0_arm64.whl
      Collecting ordered-set>=4.1.0 (from Nuitka==2.1)
        Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB)
      Collecting zstandard>=0.15 (from Nuitka==2.1)
        Using cached zstandard-0.22.0-cp311-cp311-macosx_11_0_arm64.whl.metadata (2.9 kB)
      Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
      Using cached zstandard-0.22.0-cp311-cp311-macosx_11_0_arm64.whl (703 kB)
      Installing collected packages: zstandard, ordered-set, Nuitka
      Successfully installed Nuitka-2.1 ordered-set-4.1.0 zstandard-0.22.0
      FATAL: Error, failed to find path @rpath/QtVirtualKeyboardSettings.framework/Versions/A/QtVirtualKeyboardSettings (resolved DLL to /Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/Qt/qml/QtQuick/VirtualKeyboard/Components/QtVirtualKeyboardSettings.framework/Versions/A/QtVirtualKeyboardSettings) for /Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/Qt/qml/QtQuick/VirtualKeyboard/Components/libqtvkbcomponentsplugin.dylib from 'PySide6', please report the bug.
      [DEPLOY] Exception occurred: Traceback (most recent call last):
        File "/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/commands.py", line 24, in run_command
          subprocess.check_call(command, shell=is_windows)
        File "/opt/homebrew/Cellar/python@3.11/3.11.9/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '[PosixPath('/Users/allen/.virtualenvs/venv_qt/bin/python'), '-m', 'nuitka', '/Users/allen/Documents/PythonProjects/qml_test/main.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=/Users/allen/Documents/PythonProjects/qml_test/deployment', '--quiet', '--noinclude-qt-translations', '--standalone', '--macos-create-app-bundle', '--include-data-files=/Users/allen/Documents/PythonProjects/qml_test/main.qml=./main.qml', '--noinclude-dlls=libQt6Charts*', '--noinclude-dlls=libQt6Quick3D*', '--noinclude-dlls=libQt6Sensors*', '--noinclude-dlls=libQt6Test*', '--noinclude-dlls=libQt6WebEngine*', '--macos-app-icon=/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns', '--include-qt-plugins=accessiblebridge,networkaccess,networkinformation,platforminputcontexts,platforms/darwin,qml,qmltooling,scenegraph']' returned non-zero exit status 1.
      During handling of the above exception, another exception occurred:
      Traceback (most recent call last):
        File "/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy.py", line 131, in main
          command_str = nuitka.create_executable(source_file=config.source_file,
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/nuitka_helper.py", line 103, in create_executable
          command_str, _ = run_command(command=command, dry_run=dry_run)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/commands.py", line 30, in run_command
          raise RuntimeError(
      RuntimeError: [DEPLOY] Command /Users/allen/.virtualenvs/venv_qt/bin/python -m nuitka /Users/allen/Documents/PythonProjects/qml_test/main.py --follow-imports --enable-plugin=pyside6 --output-dir=/Users/allen/Documents/PythonProjects/qml_test/deployment --quiet --noinclude-qt-translations --standalone --macos-create-app-bundle --include-data-files=/Users/allen/Documents/PythonProjects/qml_test/main.qml=./main.qml --noinclude-dlls=libQt6Charts* --noinclude-dlls=libQt6Quick3D* --noinclude-dlls=libQt6Sensors* --noinclude-dlls=libQt6Test* --noinclude-dlls=libQt6WebEngine* --macos-app-icon=/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns --include-qt-plugins=accessiblebridge,networkaccess,networkinformation,platforminputcontexts,platforms/darwin,qml,qmltooling,scenegraph failed with error Command '[PosixPath('/Users/allen/.virtualenvs/venv_qt/bin/python'), '-m', 'nuitka', '/Users/allen/Documents/PythonProjects/qml_test/main.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=/Users/allen/Documents/PythonProjects/qml_test/deployment', '--quiet', '--noinclude-qt-translations', '--standalone', '--macos-create-app-bundle', '--include-data-files=/Users/allen/Documents/PythonProjects/qml_test/main.qml=./main.qml', '--noinclude-dlls=libQt6Charts*', '--noinclude-dlls=libQt6Quick3D*', '--noinclude-dlls=libQt6Sensors*', '--noinclude-dlls=libQt6Test*', '--noinclude-dlls=libQt6WebEngine*', '--macos-app-icon=/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns', '--include-qt-plugins=accessiblebridge,networkaccess,networkinformation,platforminputcontexts,platforms/darwin,qml,qmltooling,scenegraph']' returned non-zero exit status 1. and return_code1
      [DEPLOY] Executed file created in /Users/allen/Documents/PythonProjects/qml_test/main.app
      

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shpremna Shyamnath Premnadh
            allendang Allen Dang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes