| Summary: | Trying to install LLVM with Craft gives : 'NoneType' object is not callable | ||
|---|---|---|---|
| Product: | [Unmaintained] Craft | Reporter: | Petros <petross404> |
| Component: | Core | Assignee: | Hannah von Reth <vonreth> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | christoph, petross404, windows-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Hm I can't reproduce it. Craft and the blueprints are up to date? And you don't actually need to run craft as admin. Please try a the current version. |
SUMMARY I want to build KDE Software on my Windows machine and thus I installed Craft. But when I try to install LLVM I get : TypeError: 'NoneType' object is not callable STEPS TO REPRODUCE 1. Open PowerShell as admin 2. Run the $CRAFTROOT/download/craftmaster/craftenv.ps1 script 3. craft llvm 4. Boom OBSERVED RESULT PS C:\CraftRoot\download> craft llvm Craft : C:\CraftRoot\download Version : master ABI : windows-msvc2017_64-cl Download directory : C:\CraftRoot\download\download 'NoneType' object is not callable Traceback (most recent call last): File "C:\CraftRoot\download\craft-master\bin\craft.py", line 250, in <module> success = main() File "C:\CraftRoot\download\craft-master\bin\craft.py", line 238, in main if not CraftCommands.run(package, action, tempArgs): File "C:\CraftRoot\download\craft-master\bin\CraftCommands.py", line 240, in run depList = depPackage.getDependencies(depType=depType) File "C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py", line 105, in getDependencies self.depenendencyType = depType File "C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py", line 45, in depenendencyType self.__resolveDependencies() File "C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py", line 58, in __resolveDependencies self.dependencies.extend(self.__readDependenciesForChildren([(x, None) for x in self.children.values()])) File "C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py", line 74, in __readDependenciesForC hildren p.depenendencyType = self.depenendencyType File "C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py", line 45, in depenendencyType self.__resolveDependencies() File "C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py", line 50, in __resolveDependencies subinfo = self.subinfo File "C:\CraftRoot\download\craft-master\bin\Blueprints\CraftPackageObject.py", line 319, in subinfo return self.instance.subinfo File "C:\CraftRoot\download\craft-master\bin\Blueprints\CraftPackageObject.py", line 307, in instance pack = mod.Package() File "C:\CraftRoot\download\etc\blueprints\locations\craft-blueprints-kde\libs\llvm-meta\llvm\llvm.py", line 30, in __ init__ CMakePackageBase.__init__(self) File "C:\CraftRoot\download\craft-master\bin\Package\CMakePackageBase.py", line 15, in __init__ PackageBase.__init__(self) File "C:\CraftRoot\download\craft-master\bin\Package\PackageBase.py", line 32, in __init__ CraftBase.__init__(self) File "C:\CraftRoot\download\craft-master\bin\CraftBase.py", line 38, in inner return fun(*args, **kwargs) File "C:\CraftRoot\download\craft-master\bin\CraftBase.py", line 58, in __init__ self.subinfo = mod.subinfo(self) File "C:\CraftRoot\download\craft-master\bin\info.py", line 65, in __init__ self.registerOptions() File "C:\CraftRoot\download\etc\blueprints\locations\craft-blueprints-kde\libs\llvm-meta\llvm\llvm.py", line 8, in reg isterOptions self.options.dynamic.setDefault("buildType", "Release") TypeError: 'NoneType' object is not callable PS C:\CraftRoot\download> EXPECTED RESULT Install the LLVM package SOFTWARE/OS VERSIONS Windows: Windows 7 x64 Qt Version: None ADDITIONAL INFORMATION Craft and kde-blueprints are updated. Also, running the craftenv.ps1 script gives this output: Craft : C:\CraftRoot\download Version : master ABI : windows-msvc2017_64-cl Download directory : C:\CraftRoot\download\download PS C:\CraftRoot\download>