Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.90 KB | None | 0 0
  1. p4a apk --private /home/carlo/Scrivania/ --package=org.example.myapp --name "My application" --version 0.1 --bootstrap=sdl2 --android_api 19 --ndk_dir "/home/carlo/Scrivania/crystax-ndk-10.3.2" --requirements=pysdl2,hostpython2
  2. [INFO]:    This python-for-android revamp is an experimental alpha release!
  3. [INFO]:    It should work (mostly), but you may experience missing features or bugs.
  4. /usr/lib/python3.5/re.py:203: FutureWarning: split() requires a non-empty pattern match.
  5.   return _compile(pattern, flags).split(string, maxsplit)
  6. [INFO]:    Will compile for the following archs: armeabi
  7. [INFO]:    Found possible SDK dirs in buildozer dir: android-sdk-20
  8. [INFO]:    Will attempt to use SDK at /home/carlo/.buildozer/android/platform/android-sdk-20
  9. [WARNING]: This SDK lookup is intended for debug only, if you use python-for-android much you should probably maintain your own SDK download.
  10. [INFO]:    Getting Android API version from user argument
  11. [INFO]:    Available Android APIs are (19)
  12. [INFO]:    Requested API target 19 is available, continuing.
  13. [INFO]:    Getting NDK dir from from user argument
  14. [INFO]:    Got NDK version from $ANDROIDNDKVER
  15. [INFO]:    Got Android NDK version from the NDK dir: it is 10.3.2
  16. [INFO]:    Using Crystax NDK 10.3.2
  17. [INFO]:    Found virtualenv at /usr/local/bin/virtualenv
  18. [INFO]:    Found the following toolchain versions: ['4.9', '5', 'clang3.6', 'clang3.7']
  19. [INFO]:    Picking the latest gcc toolchain, here 5
  20. [INFO]:    Of the existing distributions, the following meet the given requirements:
  21. [INFO]:         unnamed_dist_7: includes recipes (hostpython2, python2, sdl2_image, sdl2_mixer, sdl2_ttf, sdl2, pysdl2), built for archs (armeabi)
  22. [INFO]:    unnamed_dist_7 has compatible recipes, using this one
  23. [INFO]:    Of the existing distributions, the following meet the given requirements:
  24. [INFO]:         unnamed_dist_7: includes recipes (hostpython2, python2, sdl2_image, sdl2_mixer, sdl2_ttf, sdl2, pysdl2), built for archs (armeabi)
  25. [INFO]:    unnamed_dist_7 has compatible recipes, using this one
  26. [INFO]:    -> directory context /home/carlo/.local/share/python-for-android/dists/unnamed_dist_7
  27. Traceback (most recent call last):
  28.   File "/usr/local/bin/p4a", line 11, in <module>
  29.     sys.exit(main())
  30.   File "/usr/local/lib/python3.5/dist-packages/pythonforandroid/toolchain.py", line 754, in main
  31.     ToolchainCL()
  32.   File "/usr/local/lib/python3.5/dist-packages/pythonforandroid/toolchain.py", line 343, in __init__
  33.     getattr(self, command_method_name)(unknown)
  34.   File "/usr/local/lib/python3.5/dist-packages/pythonforandroid/toolchain.py", line 94, in wrapper_func
  35.     func(self, args)
  36.   File "/usr/local/lib/python3.5/dist-packages/pythonforandroid/toolchain.py", line 589, in apk
  37.     build_args = build.parse_args(args)
  38.   File "/home/carlo/.local/share/python-for-android/dists/unnamed_dist_7/build.py", line 488, in parse_args
  39.     make_package(args)
  40.   File "/home/carlo/.local/share/python-for-android/dists/unnamed_dist_7/build.py", line 248, in make_package
  41.     make_tar('assets/private.mp3', tar_dirs, args.ignore_path)
  42.   File "/home/carlo/.local/share/python-for-android/dists/unnamed_dist_7/build.py", line 197, in make_tar
  43.     tf.add(fn, afn)
  44.   File "/usr/lib/python3.5/tarfile.py", line 1938, in add
  45.     self.addfile(tarinfo, f)
  46.   File "/usr/lib/python3.5/tarfile.py", line 1960, in addfile
  47.     buf = tarinfo.tobuf(self.format, self.encoding, self.errors)
  48.   File "/usr/lib/python3.5/tarfile.py", line 802, in tobuf
  49.     return self.create_ustar_header(info, encoding, errors)
  50.   File "/usr/lib/python3.5/tarfile.py", line 821, in create_ustar_header
  51.     return self._create_header(info, USTAR_FORMAT, encoding, errors)
  52.   File "/usr/lib/python3.5/tarfile.py", line 918, in _create_header
  53.     itn(info.get("size", 0), 12, format),
  54.   File "/usr/lib/python3.5/tarfile.py", line 211, in itn
  55.     raise ValueError("overflow in number field")
  56. ValueError: overflow in number field
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement