[Craft] [Bug 386757] New: Python error with craftenv.ps1

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Nov 11 18:36:16 UTC 2017


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

            Bug ID: 386757
           Summary: Python error with craftenv.ps1
           Product: Craft
           Version: stable
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Core
          Assignee: vonreth at kde.org
          Reporter: uwestoehr at web.de
                CC: kde-windows at kde.org
  Target Milestone: ---

I installed the latest craft following these guidelines:
https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows

At first there is a bug in the desription because
craftenv.ps1
is not under
C:\KDEROOT\craft\
but under
C:\CraftRoot\craft

I use CMake 3.9.5, Python 3.6.3, Qt 5.9.2 and ECM 5.39.0

I run now a powershell and entered

C:\CraftRoot\craft\craftenv.ps1

then I get a Python error:

python.exe : Craft Root          : C:\CraftRoot
At C:\CraftRoot\craft\craftenv.ps1:80 char:2
+ (& $env:CRAFT_PYTHON ([IO.PATH]::COMBINE("$env:CraftRoot", "bin", "Cr ...
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Craft Root          : C:\CraftRoot 
   :String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

Craft               : R:\
Version             : master
ABI                 : windows-msvc2015_64-cl
Svn directory       : C:\CraftRoot\download\svn
Git directory       : Q:\
Download directory  : C:\CraftRoot\download

In my CraftSettings.ini I read
Python = C:\Program Files (x86)\Python36-32
so Python was correctly detected.

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


More information about the Kde-windows mailing list