Bug ID: 389779
           Summary: Craft fails are bootstrap, and then on 'craft craft'
           Product: Craft
           Version: unspecified
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Core
  Target Milestone: ---

Issue 1. Bootstrap. Fresh install from recipe at
On win7 64bit

Result: the script failed (wget crashed). Was not able to obtain logs (is there
log file?)

Issue 2. Usability. Continued by hand: 
- the kdeenv.bat hangs
- kdeenv.ps1 executes and exists immediately.

The only way for users is to browse to kdeenv.ps1 in powershell and execute.

Issue 3. In the craft shell executed this and caused python 3.6 error. User
should never see this kind of errors. Apparently the scraft scripts do not use
exceptions well enough :)

PS D:\Craft> craft craft
Craft Root          : D:\Craft
Craft               : R:\
Version             : master
ABI                 : windows-msvc2015_64-cl
Svn directory       : D:\craft\download\svn
Git directory       : Q:\
Download directory  : D:\craft\download

*** Handling package: dev-util/git, action: all ***
*** Action: fetch for dev-util/git ***
*** Action: unpack for dev-util/git ***
expected str, bytes or os.PathLike object, not NoneType
Traceback (most recent call last):
  File "D:\Craft\craft-2017.12\bin\", line 443, in <module>
    success = main()
  File "D:\Craft\craft-2017.12\bin\", line 431, in main
    if not run(package, action, tempArgs, package.children.values()):
  File "D:\Craft\craft-2017.12\bin\", line 221, in run
  File "D:\Craft\craft-2017.12\bin\", line 115, in handlePackage
    success = success and doExec(package, "unpack", continueFlag)
  File "D:\Craft\craft-2017.12\bin\", line 95, in doExec
    ret = package.instance.execute(action)
  File "D:\Craft\craft-2017.12\bin\Package\", line 177, in
    return self.runAction(command)
  File "D:\Craft\craft-2017.12\bin\Package\", line 280, in
    ok = getattr(self, functions[command])()
  File "D:\Craft\craft-2017.12\bin\Source\", line 48, in unpack
    return self.source.unpack(self)
  File "D:\Craft\craft-2017.12\bin\Source\", line 139, in
    if not utils.unpackFile(CraftStandardDirs.downloadDir(), filename,
  File "D:\Craft\craft-2017.12\bin\", line 179, in unpackFile
    return un7zip(os.path.join(downloaddir, filename), workdir, ext)
  File "D:\Craft\craft-2017.12\bin\", line 195, in un7zip
    if CraftCore.cache.checkCommandOutputFor(app, "-bs"):
  File "D:\Craft\craft-2017.12\bin\Utils\", line 119, in
    _, output = self.getCommandOutput(app, helpCommand)
  File "D:\Craft\craft-2017.12\bin\Utils\", line 102, in
    app = self.findApplication(app)
  File "D:\Craft\craft-2017.12\bin\Utils\", line 86, in
    appLocation = shutil.which(app, path=path)
  File "C:\Program Files\Python3\lib\", line 1113, in which
    if os.path.dirname(cmd):
  File "C:\Program Files\Python3\lib\", line 242, in dirname
    return split(p)[0]
  File "C:\Program Files\Python3\lib\", line 204, in split
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

You are receiving this mail because:
You are watching all bug changes.

Reply via email to