Traceback (most recent call last):


 "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/lib/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/alex/p4a/pythonforandroid/toolchain.py", line 1032, in <module>

main()


 "/home/alex/p4a/pythonforandroid/toolchain.py", line 1028, in main

ToolchainCL()


 "/home/alex/p4a/pythonforandroid/toolchain.py", line 550, in __init__

getattr(self, args.subparser_name.replace('-', '_'))(args)


 "/home/alex/p4a/pythonforandroid/toolchain.py", line 149, in wrapper_func

build_dist_from_args(ctx, dist, args)


 "/home/alex/p4a/pythonforandroid/toolchain.py", line 188, in build_dist_from_args

build_recipes(build_order, python_modules, ctx)


 "/home/alex/p4a/pythonforandroid/build.py", line 625, in build_recipes

biglink(ctx, arch)


 "/home/alex/p4a/pythonforandroid/build.py", line 704, in biglink

env = arch.get_env()


 "/home/alex/p4a/pythonforandroid/archs.py", line 157, in get_env

env = super(ArchARMv7_a, self).get_env(with_flags_in_cc)


 "/home/alex/p4a/pythonforandroid/archs.py", line 57, in get_env

self.ctx.python_recipe.version[0:3])
AttributeError: 'NoneType' object has no attribute 'version'


Traceback (most recent call last):


 "/home/pi/myTest.py", line 250, in <module>

resetBut = Button(reset_pin, bounce_time=0.020)


 "/usr/lib/python3/dist-packages/gpiozero/devices.py", line 124, in __call__

self = super(GPIOMeta, cls).__call__(*args, **kwargs)


 "/usr/lib/python3/dist-packages/gpiozero/input_devices.py", line 432, in __init__

bounce_time=bounce_time, pin_factory=pin_factory)


 "/usr/lib/python3/dist-packages/gpiozero/mixins.py", line 383, in __init__

super(HoldMixin, self).__init__(*args, **kwargs)


 "/usr/lib/python3/dist-packages/gpiozero/input_devices.py", line 188, in __init__

self._fire_events(self.pin_factory.ticks(), self.is_active)


 "/usr/lib/python3/dist-packages/gpiozero/mixins.py", line 368, in _fire_events

self._fire_activated()


 "/usr/lib/python3/dist-packages/gpiozero/mixins.py", line 398, in fire_activated

self._hold_thread.holding.set()

AttributeError: 'NoneType' object has no attribute 'holding'