[Craft] [Bug 455199] New: python script run errors when packaging

ShyRedwolf bugzilla_noreply at kde.org
Mon Jun 13 07:00:02 BST 2022


https://bugs.kde.org/show_bug.cgi?id=455199

            Bug ID: 455199
           Summary: python script run errors when packaging
           Product: Craft
           Version: master
          Platform: Compiled Sources
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Core
          Assignee: vonreth at kde.org
          Reporter: 448689137 at qq.com
                CC: kde-windows at kde.org
  Target Milestone: ---

SUMMARY
***
craft python script exception when packaging kshisen or kig
***


STEPS TO REPRODUCE
1. craft kshisen
2. craft --package kshisen
3. 

OBSERVED RESULT
Delete symbols:
F:\CraftRoot\build\kde\kdegames\kshisen\archive\lib\Qt5PlatformCompositorSupport.pdb
Delete symbols:
F:\CraftRoot\build\kde\kdegames\kshisen\archive\lib\Qt5QmlDebug.pdb
Delete symbols:
F:\CraftRoot\build\kde\kdegames\kshisen\archive\lib\Qt5QmlDevTools.pdb
Delete symbols:
F:\CraftRoot\build\kde\kdegames\kshisen\archive\lib\Qt5ThemeSupport.pdb
Delete symbols:
F:\CraftRoot\build\kde\kdegames\kshisen\archive\lib\Qt5WindowsUIAutomationSupport.pdb
Delete symbols: F:\CraftRoot\build\kde\kdegames\kshisen\archive\lib\qtmain.pdb
*** Craft package succeeded: kde/kdegames/kshisen after 30 seconds ***
[31m[WinError 5] 拒绝访问。:
'F:\\CraftRoot\\build\\kde\\kdegames\\kshisen\\archive\\lib\\icu\\current'[0m
Traceback (most recent call last):
  File "F:\CraftRoot\craft-master\bin\craft.py", line 274, in <module>
    success = main(timer)
  File "F:\CraftRoot\craft-master\bin\craft.py", line 264, in main
    if not CraftCommands.run(package, action, tempArgs):
  File "F:\CraftRoot\craft-master\bin\CraftCommands.py", line 431, in run
    if not handlePackage(info, action, directTargets=directTargets):
  File "F:\CraftRoot\craft-master\bin\CraftCommands.py", line 94, in
handlePackage
    success = doExec(package, action)
  File "F:\CraftRoot\craft-master\bin\CraftCommands.py", line 58, in doExec
    ret = package.instance.runAction(action)
  File "F:\CraftRoot\craft-master\bin\Package\PackageBase.py", line 247, in
runAction
    if not getattr(self, step)():
  File "F:\CraftRoot\craft-master\bin\Packager\TypePackager.py", line 85, in
createPackage
    return self.__packager.createPackage(self)
  File "F:\CraftRoot\craft-master\bin\Packager\NullsoftInstallerPackager.py",
line 205, in createPackage
    if not super().createPackage():
  File "F:\CraftRoot\craft-master\bin\Packager\PortablePackager.py", line 32,
in createPackage
    if not self.internalCreatePackage(defines, True):
  File "F:\CraftRoot\craft-master\bin\Packager\CollectionPackagerBase.py", line
356, in internalCreatePackage
    for sym in utils.filterDirectoryContent(archiveDir,
handleAppBundleAsFile=True,
  File "F:\CraftRoot\craft-master\bin\utils.py", line 1030, in
filterDirectoryContent
    if blacklist(filePath, root=root) and not whitelist(filePath, root=root):
  File "F:\CraftRoot\craft-master\bin\Packager\CollectionPackagerBase.py", line
352, in symFilter
    if x.is_dir():
PermissionError: [WinError 5] 拒绝访问。:
'F:\\CraftRoot\\build\\kde\\kdegames\\kshisen\\archive\\lib\\icu\\current'

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list