Skip to content

isoimagewriter fix utils.embedManifest error

"craft isoimagewriter" failed with error "[2/3] Install the project...
*** Craft all succeeded: kde/unreleased/isoimagewriter after 11s ***
stat: path should be string, bytes, os.PathLike or integer, not tuple
Traceback (most recent call last):
  File "C:\CraftRoot\craft\bin\craft.py", line 416, in <module>
    success = main(timer)
              ^^^^^^^^^^^
  File "C:\CraftRoot\craft\bin\craft.py", line 406, in main
    if not CraftCommands.run(package, action, tempArgs):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\CraftRoot\craft\bin\CraftCommands.py", line 465, in run
    if not handlePackage(info, action, directTargets=directTargets):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\CraftRoot\craft\bin\CraftCommands.py", line 111, in handlePackage
    if not doExec(package, action):
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\CraftRoot\craft\bin\CraftCommands.py", line 60, in doExec
    ret = package.instance.runAction(action)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\CraftRoot\craft\bin\Package\PackageBase.py", line 276, in runAction
    if not getattr(self, step)():
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde\kde\unreleased\isoimagewriter\isoimagewriter.py", line 44, in install
    return utils.embedManifest(app, manifest)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\CraftRoot\craft\bin\utils.py", line 800, in embedManifest
    if not os.path.isfile(executable) or not os.path.isfile(manifest):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen genericpath>", line 30, in isfile
TypeError: stat: path should be string, bytes, os.PathLike or integer, not tuple
Craft stopped with out completing ['kde/unreleased/isoimagewriter']".

Merge request reports

Loading