From 0cef45d7d005b15aaa8177c0dadbe91ab91f3808 Mon Sep 17 00:00:00 2001 From: Michael Flaxman <448644+mflaxman@users.noreply.github.com> Date: Tue, 3 Nov 2020 13:45:47 -0600 Subject: [PATCH] missing import ``` $ python3 toolchain.py build zbarlight ... Traceback (most recent call last): File "toolchain.py", line 3, in main() File "/Users/mflaxman/workspace/kivy-ios/kivy_ios/toolchain.py", line 1519, in main ToolchainCL() File "/Users/mflaxman/workspace/kivy-ios/kivy_ios/toolchain.py", line 1276, in __init__ getattr(self, args.command)() File "/Users/mflaxman/workspace/kivy-ios/kivy_ios/toolchain.py", line 1337, in build build_recipes(args.recipe, ctx) File "/Users/mflaxman/workspace/kivy-ios/kivy_ios/toolchain.py", line 1127, in build_recipes recipe.execute() File "/Users/mflaxman/workspace/kivy-ios/kivy_ios/toolchain.py", line 699, in execute self.build_all() File "/Users/mflaxman/workspace/kivy-ios/kivy_ios/toolchain.py", line 73, in _cache_execution f(self, *args, **kwargs) File "/Users/mflaxman/workspace/kivy-ios/kivy_ios/toolchain.py", line 793, in build_all self.build(arch) File "/Users/mflaxman/workspace/kivy-ios/kivy_ios/toolchain.py", line 73, in _cache_execution f(self, *args, **kwargs) File "/Users/mflaxman/workspace/kivy-ios/kivy_ios/toolchain.py", line 780, in build self.build_arch(arch) File "/Users/mflaxman/workspace/kivy-ios/kivy_ios/recipes/zbarlight/__init__.py", line 38, in build_arch shprint(hostpython, "setup.py", "build", # noqa: F821 NameError: name 'shprint' is not defined ``` Even with this bugfix I'm still getting an error, but it could be specific to my environment. --- kivy_ios/recipes/zbarlight/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy_ios/recipes/zbarlight/__init__.py b/kivy_ios/recipes/zbarlight/__init__.py index 4db31ea94..d8100e53d 100755 --- a/kivy_ios/recipes/zbarlight/__init__.py +++ b/kivy_ios/recipes/zbarlight/__init__.py @@ -1,5 +1,5 @@ import os -from kivy_ios.toolchain import Recipe +from kivy_ios.toolchain import Recipe, shprint from os.path import join import sh import fnmatch