attreyabhatt / kivy-pong-game Goto Github PK
View Code? Open in Web Editor NEWPong game created using Kivy
Pong game created using Kivy
[INFO]: Building hostpython3 for armeabi-v7a
[INFO]: hostpython3 said it is already built, skipping
[INFO]: Building libffi for armeabi-v7a
[INFO]: -> directory context /home/gourang/Desktop/aok/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi
[INFO]: -> running autoreconf -vif
[INFO]: -> running configure --host=arm-linux-and...(and 184 more)
Exception in thread background thread for pid 2873:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/gourang/.local/lib/python3.7/site-packages/sh.py", line 1662, in wrap
fn(*args, **kwargs)
File "/home/gourang/.local/lib/python3.7/site-packages/sh.py", line 2606, in background_thread
handle_exit_code(exit_code)
File "/home/gourang/.local/lib/python3.7/site-packages/sh.py", line 2304, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/gourang/.local/lib/python3.7/site-packages/sh.py", line 877, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_77:
RAN: /home/gourang/Desktop/aok/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure --host=arm-linux-androideabi --prefix=/home/gourang/Desktop/aok/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi --disable-builddir --enable-shared
STDOUT:
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking target system type... arm-unknown-linux-androideabi
checking for gsed... sed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip --strip-unneeded
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make -j2 sets $(MAKE)... yes
checking whether make -j2 supports nested variables... yes
checking for arm-linux-androideabi-gcc... /home/gourang/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-i686/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
checking whether the C compiler works... no
configure: error: in /home/gourang/Desktop/aok/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi': configure: error: C compiler cannot create executables See
config.log' for more details
STDERR:
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/gourang/Desktop/aok/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1260, in
main()
File "/home/gourang/Desktop/aok/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/home/gourang/Desktop/aok/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 709, in init
getattr(self, command)(args)
File "/home/gourang/Desktop/aok/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 154, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/gourang/Desktop/aok/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 216, in build_dist_from_args
args, "ignore_setup_py", False
File "/home/gourang/Desktop/aok/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 577, in build_recipes
recipe.build_arch(arch)
File "/home/gourang/Desktop/aok/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/libffi/init.py", line 46, in build_arch
'--enable-shared', _env=env)
File "/home/gourang/Desktop/aok/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
for line in output:
File "/home/gourang/.local/lib/python3.7/site-packages/sh.py", line 925, in next
self.wait()
File "/home/gourang/.local/lib/python3.7/site-packages/sh.py", line 849, in wait
self.handle_command_exit_code(exit_code)
File "/home/gourang/.local/lib/python3.7/site-packages/sh.py", line 877, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_77:
RAN: /home/gourang/Desktop/aok/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure --host=arm-linux-androideabi --prefix=/home/gourang/Desktop/aok/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi --disable-builddir --enable-shared
STDOUT:
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking target system type... arm-unknown-linux-androideabi
checking for gsed... sed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip --strip-unneeded
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make -j2 sets $(MAKE)... yes
checking whether make -j2 supports nested variables... yes
checking for arm-linux-androideabi-gcc... /home/gourang/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-i686/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
checking whether the C compiler works... no
configure: error: in /home/gourang/Desktop/aok/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi': configure: error: C compiler cannot create executables See
config.log' for more details
STDERR:
I copy pasted the code and it fails
Traceback (most recent call last):
File "/home/thejolly/Desktop/Python/PMD/main.py", line 71, in
PongApp().run()
File "/home/thejolly/.local/lib/python3.10/site-packages/kivy/app.py", line 954, in run
self._run_prepare()
File "/home/thejolly/.local/lib/python3.10/site-packages/kivy/app.py", line 924, in _run_prepare
root = self.build()
File "/home/thejolly/Desktop/Python/PMD/main.py", line 66, in build
game.serve_ball()
File "/home/thejolly/Desktop/Python/PMD/main.py", line 35, in serve_ball
self.ball.velocity = Vector(4, 0).rotate(randint(0, 360))
AttributeError: 'NoneType' object has no attribute 'velocity'
this is the error log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.