Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gevent reciepe problem #1732

Closed
mkg20001 opened this issue Feb 26, 2019 · 2 comments
Closed

Gevent reciepe problem #1732

mkg20001 opened this issue Feb 26, 2019 · 2 comments

Comments

@mkg20001
Copy link
Contributor

mkg20001 commented Feb 26, 2019

Versions

  • Python: Python 2.7.15rc1
    Python 3.6.7
  • OS: Ubuntu 18.04 amd64 docker
  • Kivy: master
  • Cython: 0.25.0

Description

Trying to build https://github.com/HelloZeroNet/ZeroNet-kivy and after building it fails with some error due to being unable to find a library symbol (it also tries to search for python3.5,3.6,3.7, unsure why)
I previously had some other PRs content merged in there that did something with gevent that I guess made it work, but I really have no idea what it does (The commit mkg20001@1165507 , unsure which PR that one is from)

buildozer.spec

Command:

buildozer release

Spec file:

[app]

# Ignore root (for ci)
warn_on_root = 0
buildozer.warn_on_root = 0

# (str) Title of your application
title = ZeroNet

# (str) Package name
package.name = zeronet

# (str) Package domain (needed for android/ios packaging)
package.domain = net.mkg20001

# (str) Source code where the main.py live
source.dir = src

# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas

# (list) List of inclusions using pattern matching
#source.include_patterns = assets/*,images/*.png

# (list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec

# (list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin

# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg

# (str) Application versioning (method 1)
# version = 0.5.6.1

# (str) Application versioning (method 2) - now fixed
version.regex = self\.version = ['"](.*)['"]
version.filename = %(source.dir)s/zero/src/Config.py

# (list) Application requirements
# comma seperated e.g. requirements = sqlite3,kivy
requirements = sqlite3,typing,openssl,m2crypto,gevent,msgpack-python,pil,hostpython2,git+https://github.com/kivy/plyer,android,kivy
p4a.branch = master

# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
# requirements.source.kivy = ../../kivy

# (list) Garden requirements
#garden_requirements =

# (str) Presplash of the application
presplash.filename = %(source.dir)s/splash.png

# (str) Icon of the application
icon.filename = %(source.dir)s/icon.png

# (str) Supported orientation (one of landscape, portrait or all)
orientation = all

# (list) List of service to declare
services = zn:service.py
#,watch1:watchdog_1.py,watch2:watchdog_2.py

#
# OSX Specific
#

#
# author = © Copyright Info

# change the major version of python used by the app
osx.python_version = 3

# Kivy version to use
osx.kivy_version = 1.9.1

#
# Android specific
#

# (bool) Indicate if the application should be fullscreen or not
fullscreen = 0

# (string) Presplash background color (for new android toolchain)
# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
#android.presplash_color = #FFFFFF

# (list) Permissions
# WRITE_EXTERNAL_STORAGE=already added by default
android.permissions = INTERNET

# (int) Target Android API, should be as high as possible.
android.api = 28

# (int) Minimum API your APK will support.
android.minapi = 21

# (int) Android SDK version to use
#android.sdk = 20

# (str) Android NDK version to use
# TODO: use newer sdk
# android.ndk = 19b

# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
android.ndk_api = 21

# (bool) Use --private data storage (True) or --dir public storage (False)
android.private_storage = True

# (str) Android NDK directory (if empty, it will be automatically downloaded.)
#android.ndk_path =

# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =

# (str) ANT directory (if empty, it will be automatically downloaded.)
#android.ant_path =

# (list) python-for-android whitelist
android.whitelist = sqlite3

# (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time
# when an update is due and you just want to test/build your package
# android.skip_update = False

# (bool) If True, then automatically accept SDK license
# agreements. This is intended for automation only. If set to False,
# the default, you will be shown the license when first running
# buildozer.
android.accept_sdk_license = True

# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity

# (list) Pattern to whitelist for the whole project
#android.whitelist =

# (str) Path to a custom whitelist file
#android.whitelist_src =

# (str) Path to a custom blacklist file
#android.blacklist_src =

# (list) List of Java .jar files to add to the libs so that pyjnius can access
# their classes. Don't add jars that you do not need, since extra jars can slow
# down the build process. Allows wildcards matching, for example:
# OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar

# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
#android.add_src =

# (list) Android AAR archives to add (currently works only with sdl2_gradle
# bootstrap)
#android.add_aars =

# (list) Gradle dependencies to add (currently works only with sdl2_gradle
# bootstrap)
#android.gradle_dependencies =

# (list) Java classes to add as activities to the manifest.
#android.add_activites = com.example.ExampleActivity

# (str) python-for-android branch to use, defaults to master
p4a.branch = master

# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME

# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png

# (str) XML file to include as an intent filters in <activity> tag
#android.manifest.intent_filters =

# (str) launchMode to set for the main activity
#android.manifest.launch_mode = standard

# (list) Android additional libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/*.so
#android.add_libs_armeabi_v7a = libs/android-v7/*.so
#android.add_libs_x86 = libs/android-x86/*.so
#android.add_libs_mips = libs/android-mips/*.so

# (bool) Indicate whether the screen should stay on
# Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False

# (list) Android application meta-data to set (key=value format)
#android.meta_data =

# (list) Android library project to add (will be added in the
# project.properties automatically.)
#android.library_references =

# (str) Android logcat filters to use
#android.logcat_filters = *:S python:D

# (bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1

# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86
android.arch = armeabi-v7a

#
# Python for android (p4a) specific
#

# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
#p4a.source_dir =

# (str) The directory in which python-for-android should look for your own build recipes (if any)
#p4a.local_recipes =

# (str) Filename to the hook for p4a
#p4a.hook =

# (str) Bootstrap to use for android builds
# p4a.bootstrap = sdl2

# (int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
#p4a.port =


#
# iOS specific
#

# (str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios
# Alternately, specify the URL and branch of a git checkout:
ios.kivy_ios_url = https://github.com/kivy/kivy-ios
ios.kivy_ios_branch = master

# Another platform dependency: ios-deploy
# Uncomment to use a custom checkout
#ios.ios_deploy_dir = ../ios_deploy
# Or specify URL and branch
ios.ios_deploy_url = https://github.com/phonegap/ios-deploy
ios.ios_deploy_branch = 1.7.0

# (str) Name of the certificate to use for signing the debug version
# Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"

# (str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s


[buildozer]

# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2

# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1

# (str) Path to build artifact storage, absolute or relative to spec file
# build_dir = ./.buildozer

# (str) Path to build output (i.e. .apk, .ipa) storage
# bin_dir = ./bin

#    -----------------------------------------------------------------------------
#    List as sections
#
#    You can define all the "list" as [section:key].
#    Each line will be considered as a option to the list.
#    Let's take [app] / source.exclude_patterns.
#    Instead of doing:
#
#[app]
#source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
#
#    This can be translated into:
#
#[app:source.exclude_patterns]
#license
#data/audio/*.wav
#data/images/original/*
#


#    -----------------------------------------------------------------------------
#    Profiles
#
#    You can extend section / key with a profile
#    For example, you want to deploy a demo version of your application without
#    HD content. You could first change the title to add "(demo)" in the name
#    and extend the excluded directories to remove the HD content.
#
#[app@demo]
#title = My Application (demo)
#
#[app:source.exclude_patterns@demo]
#images/hd/*
#
#    Then, invoke the command line with the "demo" profile:
#
#buildozer --profile demo android debug

Logs

Build: https://gitlab.com/mkg20001-gh/ZeroNet-kivy/-/jobs/167901886

(The other build is on a private gitlab-repo, this one should be built soon)

Device:

02-26 16:25:35.534 11946 11946 V pythonutil: Checking pattern libcrystax\.so against libssl1.1.so
02-26 16:25:35.535 11946 11946 V pythonutil: Checking pattern libcrystax\.so against libSDL2_mixer.so
02-26 16:25:35.535 11946 11946 V pythonutil: Checking pattern libcrystax\.so against libSDL2_ttf.so
02-26 16:25:35.535 11946 11946 V pythonutil: Checking pattern libcrystax\.so against libmain.so
02-26 16:25:35.535 11946 11946 V pythonutil: Checking pattern libcrystax\.so against libSDL2.so
02-26 16:25:35.535 11946 11946 V pythonutil: Checking pattern libcrystax\.so against libhidapi.so
02-26 16:25:35.536 11946 11946 V pythonutil: Checking pattern libcrystax\.so against libsqlite3.so
02-26 16:25:35.536 11946 11946 V pythonutil: Checking pattern libcrystax\.so against libpython2.7.so
02-26 16:25:35.536 11946 11946 V pythonutil: Checking pattern libcrystax\.so against libcrypto1.1.so
02-26 16:25:35.537 11946 11946 V pythonutil: Checking pattern libcrystax\.so against libSDL2_image.so
02-26 16:25:35.538 11946 11946 V pythonutil: Checking pattern libsqlite3\.so against libssl1.1.so
02-26 16:25:35.538 11946 11946 V pythonutil: Checking pattern libsqlite3\.so against libSDL2_mixer.so
02-26 16:25:35.538 11946 11946 V pythonutil: Checking pattern libsqlite3\.so against libSDL2_ttf.so
02-26 16:25:35.539 11946 11946 V pythonutil: Checking pattern libsqlite3\.so against libmain.so
02-26 16:25:35.539 11946 11946 V pythonutil: Checking pattern libsqlite3\.so against libSDL2.so
02-26 16:25:35.539 11946 11946 V pythonutil: Checking pattern libsqlite3\.so against libhidapi.so
02-26 16:25:35.539 11946 11946 V pythonutil: Checking pattern libsqlite3\.so against libsqlite3.so
02-26 16:25:35.540 11946 11946 V pythonutil: Pattern libsqlite3\.so matched file libsqlite3.so
02-26 16:25:35.540 11946 11946 V pythonutil: Checking pattern libsqlite3\.so against libpython2.7.so
02-26 16:25:35.540 11946 11946 V pythonutil: Checking pattern libsqlite3\.so against libcrypto1.1.so
02-26 16:25:35.541 11946 11946 V pythonutil: Checking pattern libsqlite3\.so against libSDL2_image.so
02-26 16:25:35.542 11946 11946 V pythonutil: Checking pattern libffi\.so against libssl1.1.so
02-26 16:25:35.542 11946 11946 V pythonutil: Checking pattern libffi\.so against libSDL2_mixer.so
02-26 16:25:35.542 11946 11946 V pythonutil: Checking pattern libffi\.so against libSDL2_ttf.so
02-26 16:25:35.542 11946 11946 V pythonutil: Checking pattern libffi\.so against libmain.so
02-26 16:25:35.545 11946 11946 V pythonutil: Checking pattern libffi\.so against libSDL2.so
02-26 16:25:35.545 11946 11946 V pythonutil: Checking pattern libffi\.so against libhidapi.so
02-26 16:25:35.545 11946 11946 V pythonutil: Checking pattern libffi\.so against libsqlite3.so
02-26 16:25:35.545 11946 11946 V pythonutil: Checking pattern libffi\.so against libpython2.7.so
02-26 16:25:35.546 11946 11946 V pythonutil: Checking pattern libffi\.so against libcrypto1.1.so
02-26 16:25:35.546 11946 11946 V pythonutil: Checking pattern libffi\.so against libSDL2_image.so
02-26 16:25:35.548 11946 11946 V pythonutil: Checking pattern libssl.*\.so against libssl1.1.so
02-26 16:25:35.548 11946 11946 V pythonutil: Pattern libssl.*\.so matched file libssl1.1.so
02-26 16:25:35.548 11946 11946 V pythonutil: Checking pattern libssl.*\.so against libSDL2_mixer.so
02-26 16:25:35.548 11946 11946 V pythonutil: Checking pattern libssl.*\.so against libSDL2_ttf.so
02-26 16:25:35.549 11946 11946 V pythonutil: Checking pattern libssl.*\.so against libmain.so
02-26 16:25:35.549 11946 11946 V pythonutil: Checking pattern libssl.*\.so against libSDL2.so
02-26 16:25:35.549 11946 11946 V pythonutil: Checking pattern libssl.*\.so against libhidapi.so
02-26 16:25:35.549 11946 11946 V pythonutil: Checking pattern libssl.*\.so against libsqlite3.so
02-26 16:25:35.549 11946 11946 V pythonutil: Checking pattern libssl.*\.so against libpython2.7.so
02-26 16:25:35.550 11946 11946 V pythonutil: Checking pattern libssl.*\.so against libcrypto1.1.so
02-26 16:25:35.550 11946 11946 V pythonutil: Checking pattern libssl.*\.so against libSDL2_image.so
02-26 16:25:35.551 11946 11946 V pythonutil: Checking pattern libcrypto.*\.so against libssl1.1.so
02-26 16:25:35.551 11946 11946 V pythonutil: Checking pattern libcrypto.*\.so against libSDL2_mixer.so
02-26 16:25:35.552 11946 11946 V pythonutil: Checking pattern libcrypto.*\.so against libSDL2_ttf.so
02-26 16:25:35.552 11946 11946 V pythonutil: Checking pattern libcrypto.*\.so against libmain.so
02-26 16:25:35.552 11946 11946 V pythonutil: Checking pattern libcrypto.*\.so against libSDL2.so
02-26 16:25:35.554 11946 11946 V pythonutil: Checking pattern libcrypto.*\.so against libhidapi.so
02-26 16:25:35.554 11946 11946 V pythonutil: Checking pattern libcrypto.*\.so against libsqlite3.so
02-26 16:25:35.554 11946 11946 V pythonutil: Checking pattern libcrypto.*\.so against libpython2.7.so
02-26 16:25:35.555 11946 11946 V pythonutil: Checking pattern libcrypto.*\.so against libcrypto1.1.so
02-26 16:25:35.555 11946 11946 V pythonutil: Pattern libcrypto.*\.so matched file libcrypto1.1.so
02-26 16:25:35.555 11946 11946 V pythonutil: Checking pattern libcrypto.*\.so against libSDL2_image.so
02-26 16:25:35.555 11946 11946 V pythonutil: Loading library: sqlite3
02-26 16:25:35.558 11946 11946 V pythonutil: Loading library: SDL2
02-26 16:25:35.565 11946 11946 V pythonutil: Loading library: SDL2_image
02-26 16:25:35.567 11946 11946 V pythonutil: Loading library: SDL2_mixer
02-26 16:25:35.569 11946 11946 V pythonutil: Loading library: SDL2_ttf
02-26 16:25:35.572 11946 11946 V pythonutil: Loading library: ssl1.1
02-26 16:25:35.577 11946 11946 V pythonutil: Loading library: crypto1.1
02-26 16:25:35.580 11946 11946 V pythonutil: Loading library: python2.7
02-26 16:25:35.588 11946 11946 V pythonutil: Loading library: python3.5m
02-26 16:25:35.592 11946 11946 V pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk"],nativeLibraryDirectories=[/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/lib/arm, /data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]] couldn't find "libpython3.5m.so"
02-26 16:25:35.592 11946 11946 V pythonutil: Loading library: python3.6m
02-26 16:25:35.595 11946 11946 V pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk"],nativeLibraryDirectories=[/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/lib/arm, /data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]] couldn't find "libpython3.6m.so"
02-26 16:25:35.595 11946 11946 V pythonutil: Loading library: python3.7m
02-26 16:25:35.597 11946 11946 V pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk"],nativeLibraryDirectories=[/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/lib/arm, /data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]] couldn't find "libpython3.7m.so"
02-26 16:25:35.597 11946 11946 V pythonutil: Loading library: main
02-26 16:25:35.601 11946 11946 V pythonutil: Failed to load _io.so or unicodedata.so...but that's okay.
02-26 16:25:35.602 11946 11946 V pythonutil: Unsatisfied linker when loading ctypes
02-26 16:25:35.602 11946 11946 V pythonutil: Loaded everything!
02-26 16:25:35.652 11946 11946 V PythonActivity: Setting env vars for start.c and Python to use
02-26 16:25:35.724 11946 11974 I python  : Initializing Python for Android
02-26 16:25:35.724 11946 11974 I python  : Setting additional env vars from p4a_env_vars.txt
02-26 16:25:35.724 11946 11974 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
02-26 16:25:35.724 11946 11974 I python  : /data/user/0/net.mkg20001.zeronet/files/app
02-26 16:25:35.724 11946 11974 I python  : Preparing to initialize python
02-26 16:25:35.725 11946 11974 I python  : _python_bundle dir exists
02-26 16:25:35.725 11946 11974 I python  : calculated paths to be...
02-26 16:25:35.725 11946 11974 I python  : /data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/stdlib.zip:/data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/modules
02-26 16:25:35.725 11946 11974 I python  : set wchar paths...
02-26 16:25:35.748 11946 11974 I python  : Initialized python
02-26 16:25:35.748 11946 11974 I python  : AND: Init threads
02-26 16:25:35.751 11946 11974 I python  : testing python print redirection
02-26 16:25:35.809 11946 11974 I python  : ('Android path', ['.', '', '/data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/stdlib.zip', '/data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/modules', '/data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/site-packages'])
02-26 16:25:35.809 11946 11974 I python  : ('os.environ is', {'ANDROID_APP_PATH': '/data/user/0/net.mkg20001.zeronet/files/app', 'EXTERNAL_STORAGE': '/sdcard', 'SYSTEMSERVERCLASSPATH': '/system/framework/org.lineageos.platform.jar:/system/framework/org.lineageos.hardware.jar:/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar:/system/framework/com.android.location.provider.jar', 'ANDROID_SOCKET_zygote': '9', 'BOOTCLASSPATH': '/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/bouncycastle.jar:/system/framework/apache-xml.jar:/system/framework/legacy-test.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/org.apache.http.legacy.boot.jar:/system/framework/android.hidl.base-V1.0-java.jar:/system/framework/android.hidl.manager-V1.0-java.jar', 'P4A_MINSDK': '21', 'P4A_ORIENTATION': 'sensor', 'PATH': '/sbin:/system/sbin:/system/bin:/system/xbin:/vendor/bin:/vendor/xbin', 'P4A_IS_WINDOWED': 'True', 'ANDROID_STORAGE': '/storage', 'ANDROID_BOOTLOGO': '1', 'ANDROID_DATA': '/data', 'P4A_NUMERIC_VERSION': 'None', 'ANDROID_ASSETS': '/system/app', 'TERMINFO': '/system/etc/terminfo', 'PYTHONOPTIMIZE': '2', 'ANDROID_PRIVATE': '/data/user/0/net.mkg20001.zeronet/files', 'ANDROID_ENTRYPOINT': 'main.pyo', 'PYTHONPATH': '/data/user/0/net.mkg20001.zeronet/files/app:/data/user/0/net.mkg20001.zeronet/files/app/lib', 'ANDROID_UNPACK': '/data/user/0/net.mkg20001.zeronet/files/app', 'PYTHON_NAME': 'python', 'DOWNLOAD_CACHE': '/data/cache', 'P4A_BOOTSTRAP': 'SDL2', 'ANDROID_ROOT': '/system', 'PYTHONHOME': '/data/user/0/net.mkg20001.zeronet/files/app', 'ASEC_MOUNTPOINT': '/mnt/asec', 'ANDROID_CACHE': '/cache', 'ANDROID_ARGUMENT': '/data/user/0/net.mkg20001.zeronet/files/app'})
02-26 16:25:35.809 11946 11974 I python  : ('Android kivy bootstrap done. __name__ is', '__main__')
02-26 16:25:35.832 11946 11974 I python  : ['/data/user/0/net.mkg20001.zeronet/files/app/lib/python2.7/site-packages', '/data/user/0/net.mkg20001.zeronet/files/app/lib/site-python']
02-26 16:25:35.832 11946 11974 I python  : AND: Ran string
02-26 16:25:35.832 11946 11974 I python  : Run user program, change dir and execute entrypoint
02-26 16:25:35.981 11946 11953 I zygote  : Do partial code cache collection, code=31KB, data=23KB
02-26 16:25:36.132 11946 11974 I python  : [WARNING] [Config      ] Older configuration version detected (0 instead of 21)
02-26 16:25:36.133 11946 11974 I python  : [WARNING] [Config      ] Upgrading configuration in progress.
02-26 16:25:36.154 11946 11974 I python  : [INFO   ] [Logger      ] Record log in /data/user/0/net.mkg20001.zeronet/files/app/.kivy/logs/kivy_19-02-26_0.txt
02-26 16:25:36.155 11946 11974 I python  : [INFO   ] [Kivy        ] v1.11.0.dev0, git-c2c3fcf, 20190226
02-26 16:25:36.155 11946 11974 I python  : [INFO   ] [Python      ] v2.7.15 (default, Feb 26 2019, 15:06:07) 
02-26 16:25:36.155 11946 11974 I python  : [GCC 4.2.1 Compatible Android (4691093 based on r316199) Clang 6.0.2 (https://a
02-26 16:25:36.295 11946 11974 I python  : [INFO   ] [Factory     ] 184 symbols loaded
02-26 16:25:37.301 11946 11974 I python  : [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
02-26 16:25:39.156 11946 11974 I python  : LOCALE: de_DE
02-26 16:25:39.158 11946 11974 I python  : Translate file not exists: /data/data/net.mkg20001.zeronet/files/app/translate/languages/de.json
02-26 16:25:39.337 11946 11974 I python  : [INFO   ] [Window      ] Provider: sdl2
02-26 16:25:39.399 11946 11974 I python  : [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
02-26 16:25:39.404 11946 11974 I python  : [INFO   ] [GL          ] Backend used <sdl2>
02-26 16:25:39.404 11946 11974 I python  : [INFO   ] [GL          ] OpenGL version <OpenGL ES 3.0 V@140.0 AU@ (GIT@I741a3d36ca)>
02-26 16:25:39.405 11946 11974 I python  : [INFO   ] [GL          ] OpenGL vendor <Qualcomm>
02-26 16:25:39.405 11946 11974 I python  : [INFO   ] [GL          ] OpenGL renderer <Adreno (TM) 330>
02-26 16:25:39.406 11946 11974 I python  : [INFO   ] [GL          ] OpenGL parsed version: 3, 0
02-26 16:25:39.406 11946 11974 I python  : [INFO   ] [GL          ] Texture max size <4096>
02-26 16:25:39.407 11946 11974 I python  : [INFO   ] [GL          ] Texture max units <16>
02-26 16:25:39.480 11946 11974 I python  : [INFO   ] [Window      ] auto add sdl2 input provider
02-26 16:25:39.482 11946 11974 I python  : [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
02-26 16:25:39.506 11946 11974 I python  : [INFO   ] [Text        ] Provider: sdl2
02-26 16:25:39.726 11946 11974 I python  : [INFO   ] [GL          ] NPOT texture support is available
02-26 16:25:39.729 11946 11974 I python  : Starting...
02-26 16:25:39.729 11946 11974 I python  : Running on platform android
02-26 16:25:39.811 11946 11974 I python  : ZeroNet_Dir=/storage/emulated/0/Android/data/net.mkg20001.zeronet/files
02-26 16:25:40.508 11946 11974 I python  : zero copied to external zero
02-26 16:25:40.511 11946 11974 I python  : LOCALE: de_DE
02-26 16:25:40.511 11946 11974 I python  : Applying default value de for field language
02-26 16:25:40.513 11946 11974 I python  : Applying default value  for field keep_ssl_cert
02-26 16:25:40.530 11946 11974 I python  : Applying default value  for field debug
02-26 16:25:40.530 11946 11974 I python  : Setting Env
02-26 16:25:40.535 11946 11974 I python  : Running ZeroNet
02-26 16:25:40.940 11946 11974 I python  : ..........+++++
02-26 16:25:44.618 11946 11974 I python  : .......................................................................................................................+++++
02-26 16:25:45.110  3163  3332 I ActivityManager: Start proc 11991:net.mkg20001.zeronet:service_zn/u0a130 for service net.mkg20001.zeronet/.ServiceZn
02-26 16:25:45.113 11946 11974 I python  : [WARNING] [Base        ] Unknown <android> provider
02-26 16:25:45.114 11946 11974 I python  : [INFO   ] [Base        ] Start application main loop
02-26 16:25:45.150 11946 11974 I python  : [INFO   ] [Base        ] Leaving application in progress...
02-26 16:25:45.150 11946 11974 I python  :  Traceback (most recent call last):
02-26 16:25:45.151 11946 11974 I python  :    File "/home/data/.buildozer/android/app/main.py", line 32, in <module>
02-26 16:25:45.151 11946 11974 I python  :    File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/kivy/app.py", line 855, in run
02-26 16:25:45.152 11946 11974 I python  :    File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/kivy/base.py", line 502, in runTouchApp
02-26 16:25:45.153 11946 11974 I python  :    File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/kivy/core/window/window_sdl2.py", line 724, in mainloop
02-26 16:25:45.154 11946 11974 I python  :    File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/kivy/core/window/window_sdl2.py", line 459, in _mainloop
02-26 16:25:45.154 11946 11974 I python  :    File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/kivy/base.py", line 337, in idle
02-26 16:25:45.155 11946 11974 I python  :    File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/kivy/clock.py", line 581, in tick
02-26 16:25:45.155 11946 11974 I python  :    File "kivy/_clock.pyx", line 384, in kivy._clock.CyClockBase._process_events (kivy/_clock.c:8133)
02-26 16:25:45.156 11946 11974 I python  :    File "kivy/_clock.pyx", line 414, in kivy._clock.CyClockBase._process_events (kivy/_clock.c:7893)
02-26 16:25:45.161 11946 11974 I python  :    File "kivy/_clock.pyx", line 412, in kivy._clock.CyClockBase._process_events (kivy/_clock.c:7814)
02-26 16:25:45.162 11946 11974 I python  :    File "kivy/_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (kivy/_clock.c:3532)
02-26 16:25:45.163 11946 11974 I python  :    File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/kivy/uix/label.py", line 382, in texture_update
02-26 16:25:45.164 11946 11974 I python  :    File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/kivy/core/text/__init__.py", line 759, in refresh
02-26 16:25:45.169 11946 11974 I python  :    File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/kivy/core/text/__init__.py", line 356, in resolve_font_name
02-26 16:25:45.169 11946 11974 I python  :  IOError: Label: File 'TextMeOne.ttf' not found
02-26 16:25:45.169 11946 11974 I python  : Python for android ended.
02-26 16:25:45.368  3163  5950 W ActivityManager: Unable to start service Intent { act=com.android.launcher3.WINDOW_OVERLAY dat=app://org.lineageos.trebuchet:10028?v=7&cv=9 pkg=com.google.android.googlequicksearchbox } U=0: not found
02-26 16:25:45.648 11991 12011 V pythonutil: Checking pattern libcrystax\.so against libssl1.1.so
02-26 16:25:45.649 11991 12011 V pythonutil: Checking pattern libcrystax\.so against libSDL2_mixer.so
02-26 16:25:45.650 11991 12011 V pythonutil: Checking pattern libcrystax\.so against libSDL2_ttf.so
02-26 16:25:45.650 11991 12011 V pythonutil: Checking pattern libcrystax\.so against libmain.so
02-26 16:25:45.650 11991 12011 V pythonutil: Checking pattern libcrystax\.so against libSDL2.so
02-26 16:25:45.651 11991 12011 V pythonutil: Checking pattern libcrystax\.so against libhidapi.so
02-26 16:25:45.651 11991 12011 V pythonutil: Checking pattern libcrystax\.so against libsqlite3.so
02-26 16:25:45.651 11991 12011 V pythonutil: Checking pattern libcrystax\.so against libpython2.7.so
02-26 16:25:45.651 11991 12011 V pythonutil: Checking pattern libcrystax\.so against libcrypto1.1.so
02-26 16:25:45.652 11991 12011 V pythonutil: Checking pattern libcrystax\.so against libSDL2_image.so
02-26 16:25:45.655 11991 12011 V pythonutil: Checking pattern libsqlite3\.so against libssl1.1.so
02-26 16:25:45.655 11991 12011 V pythonutil: Checking pattern libsqlite3\.so against libSDL2_mixer.so
02-26 16:25:45.655 11991 12011 V pythonutil: Checking pattern libsqlite3\.so against libSDL2_ttf.so
02-26 16:25:45.655 11991 12011 V pythonutil: Checking pattern libsqlite3\.so against libmain.so
02-26 16:25:45.656 11991 12011 V pythonutil: Checking pattern libsqlite3\.so against libSDL2.so
02-26 16:25:45.656 11991 12011 V pythonutil: Checking pattern libsqlite3\.so against libhidapi.so
02-26 16:25:45.657 11991 12011 V pythonutil: Checking pattern libsqlite3\.so against libsqlite3.so
02-26 16:25:45.657 11991 12011 V pythonutil: Pattern libsqlite3\.so matched file libsqlite3.so
02-26 16:25:45.657 11991 12011 V pythonutil: Checking pattern libsqlite3\.so against libpython2.7.so
02-26 16:25:45.657 11991 12011 V pythonutil: Checking pattern libsqlite3\.so against libcrypto1.1.so
02-26 16:25:45.657 11991 12011 V pythonutil: Checking pattern libsqlite3\.so against libSDL2_image.so
02-26 16:25:45.659 11991 12011 V pythonutil: Checking pattern libffi\.so against libssl1.1.so
02-26 16:25:45.659 11991 12011 V pythonutil: Checking pattern libffi\.so against libSDL2_mixer.so
02-26 16:25:45.660 11991 12011 V pythonutil: Checking pattern libffi\.so against libSDL2_ttf.so
02-26 16:25:45.660 11991 12011 V pythonutil: Checking pattern libffi\.so against libmain.so
02-26 16:25:45.660 11991 12011 V pythonutil: Checking pattern libffi\.so against libSDL2.so
02-26 16:25:45.661 11991 12011 V pythonutil: Checking pattern libffi\.so against libhidapi.so
02-26 16:25:45.662 11991 12011 V pythonutil: Checking pattern libffi\.so against libsqlite3.so
02-26 16:25:45.662 11991 12011 V pythonutil: Checking pattern libffi\.so against libpython2.7.so
02-26 16:25:45.662 11991 12011 V pythonutil: Checking pattern libffi\.so against libcrypto1.1.so
02-26 16:25:45.663 11991 12011 V pythonutil: Checking pattern libffi\.so against libSDL2_image.so
02-26 16:25:45.669 11991 12011 V pythonutil: Checking pattern libssl.*\.so against libssl1.1.so
02-26 16:25:45.669 11991 12011 V pythonutil: Pattern libssl.*\.so matched file libssl1.1.so
02-26 16:25:45.670 11991 12011 V pythonutil: Checking pattern libssl.*\.so against libSDL2_mixer.so
02-26 16:25:45.670 11991 12011 V pythonutil: Checking pattern libssl.*\.so against libSDL2_ttf.so
02-26 16:25:45.670 11991 12011 V pythonutil: Checking pattern libssl.*\.so against libmain.so
02-26 16:25:45.670 11991 12011 V pythonutil: Checking pattern libssl.*\.so against libSDL2.so
02-26 16:25:45.670 11991 12011 V pythonutil: Checking pattern libssl.*\.so against libhidapi.so
02-26 16:25:45.671 11991 12011 V pythonutil: Checking pattern libssl.*\.so against libsqlite3.so
02-26 16:25:45.671 11991 12011 V pythonutil: Checking pattern libssl.*\.so against libpython2.7.so
02-26 16:25:45.671 11991 12011 V pythonutil: Checking pattern libssl.*\.so against libcrypto1.1.so
02-26 16:25:45.672 11991 12011 V pythonutil: Checking pattern libssl.*\.so against libSDL2_image.so
02-26 16:25:45.675 11991 12011 V pythonutil: Checking pattern libcrypto.*\.so against libssl1.1.so
02-26 16:25:45.675 11991 12011 V pythonutil: Checking pattern libcrypto.*\.so against libSDL2_mixer.so
02-26 16:25:45.675 11991 12011 V pythonutil: Checking pattern libcrypto.*\.so against libSDL2_ttf.so
02-26 16:25:45.676 11991 12011 V pythonutil: Checking pattern libcrypto.*\.so against libmain.so
02-26 16:25:45.676 11991 12011 V pythonutil: Checking pattern libcrypto.*\.so against libSDL2.so
02-26 16:25:45.676 11991 12011 V pythonutil: Checking pattern libcrypto.*\.so against libhidapi.so
02-26 16:25:45.677 11991 12011 V pythonutil: Checking pattern libcrypto.*\.so against libsqlite3.so
02-26 16:25:45.677 11991 12011 V pythonutil: Checking pattern libcrypto.*\.so against libpython2.7.so
02-26 16:25:45.677 11991 12011 V pythonutil: Checking pattern libcrypto.*\.so against libcrypto1.1.so
02-26 16:25:45.677 11991 12011 V pythonutil: Pattern libcrypto.*\.so matched file libcrypto1.1.so
02-26 16:25:45.677 11991 12011 V pythonutil: Checking pattern libcrypto.*\.so against libSDL2_image.so
02-26 16:25:45.678 11991 12011 V pythonutil: Loading library: sqlite3
02-26 16:25:45.682 11991 12011 V pythonutil: Loading library: SDL2
02-26 16:25:45.689 11991 12011 V pythonutil: Loading library: SDL2_image
02-26 16:25:45.693 11991 12011 V pythonutil: Loading library: SDL2_mixer
02-26 16:25:45.696 11991 12011 V pythonutil: Loading library: SDL2_ttf
02-26 16:25:45.701 11991 12011 V pythonutil: Loading library: ssl1.1
02-26 16:25:45.707 11991 12011 V pythonutil: Loading library: crypto1.1
02-26 16:25:45.709 11991 12011 V pythonutil: Loading library: python2.7
02-26 16:25:45.712 11991 12011 V pythonutil: Loading library: python3.5m
02-26 16:25:45.718 11991 12011 V pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk"],nativeLibraryDirectories=[/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/lib/arm, /data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]] couldn't find "libpython3.5m.so"
02-26 16:25:45.718 11991 12011 V pythonutil: Loading library: python3.6m
02-26 16:25:45.719 11991 12011 V pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk"],nativeLibraryDirectories=[/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/lib/arm, /data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]] couldn't find "libpython3.6m.so"
02-26 16:25:45.720 11991 12011 V pythonutil: Loading library: python3.7m
02-26 16:25:45.721 11991 12011 V pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk"],nativeLibraryDirectories=[/data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/lib/arm, /data/app/net.mkg20001.zeronet-6S2cEBUe4TVbZCl5iK3KcA==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]] couldn't find "libpython3.7m.so"
02-26 16:25:45.722 11991 12011 V pythonutil: Loading library: main
02-26 16:25:45.726 11991 12011 V pythonutil: Failed to load _io.so or unicodedata.so...but that's okay.
02-26 16:25:45.727 11991 12011 V pythonutil: Unsatisfied linker when loading ctypes
02-26 16:25:45.728 11991 12011 V pythonutil: Loaded everything!
02-26 16:25:45.728 11991 12011 I python  : Initializing Python for Android
02-26 16:25:45.728 11991 12011 I python  : Setting additional env vars from p4a_env_vars.txt
02-26 16:25:45.728 11991 12011 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
02-26 16:25:45.728 11991 12011 I python  : /data/user/0/net.mkg20001.zeronet/files/app
02-26 16:25:45.729 11991 12011 I python  : Preparing to initialize python
02-26 16:25:45.729 11991 12011 I python  : _python_bundle dir exists
02-26 16:25:45.729 11991 12011 I python  : calculated paths to be...
02-26 16:25:45.729 11991 12011 I python  : /data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/stdlib.zip:/data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/modules
02-26 16:25:45.729 11991 12011 I python  : set wchar paths...
02-26 16:25:45.737 11991 12011 I python  : Initialized python
02-26 16:25:45.738 11991 12011 I python  : AND: Init threads
02-26 16:25:45.738 11991 12011 I zn      : testing python print redirection
02-26 16:25:45.770 11991 12011 I zn      : ('Android path', ['.', '/data/data/net.mkg20001.zeronet/files', '/data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/stdlib.zip', '/data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/modules', '/data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/site-packages'])
02-26 16:25:45.770 11991 12011 I zn      : ('os.environ is', {'ANDROID_APP_PATH': '/data/user/0/net.mkg20001.zeronet/files/app', 'EXTERNAL_STORAGE': '/sdcard', 'SYSTEMSERVERCLASSPATH': '/system/framework/org.lineageos.platform.jar:/system/framework/org.lineageos.hardware.jar:/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar:/system/framework/com.android.location.provider.jar', 'PYTHON_SERVICE_ARGUMENT': '', 'ANDROID_SOCKET_zygote': '9', 'BOOTCLASSPATH': '/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/bouncycastle.jar:/system/framework/apache-xml.jar:/system/framework/legacy-test.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/org.apache.http.legacy.boot.jar:/system/framework/android.hidl.base-V1.0-java.jar:/system/framework/android.hidl.manager-V1.0-java.jar', 'P4A_MINSDK': '21', 'P4A_ORIENTATION': 'sensor', 'PATH': '/sbin:/system/sbin:/system/bin:/system/xbin:/vendor/bin:/vendor/xbin', 'P4A_IS_WINDOWED': 'True', 'ANDROID_STORAGE': '/storage', 'ANDROID_BOOTLOGO': '1', 'P4A_NUMERIC_VERSION': 'None', 'ANDROID_ASSETS': '/system/app', 'TERMINFO': '/system/etc/terminfo', 'PYTHONOPTIMIZE': '2', 'ANDROID_PRIVATE': '/data/user/0/net.mkg20001.zeronet/files', 'ANDROID_ENTRYPOINT': 'service.py', 'PYTHONPATH': '/data/user/0/net.mkg20001.zeronet/files/app:/data/user/0/net.mkg20001.zeronet/files/app/lib', 'ANDROID_DATA': '/data', 'PYTHON_NAME': 'zn', 'DOWNLOAD_CACHE': '/data/cache', 'P4A_BOOTSTRAP': 'SDL2', 'ANDROID_ROOT': '/system', 'PYTHONHOME': '/data/user/0/net.mkg20001.zeronet/files/app', 'ASEC_MOUNTPOINT': '/mnt/asec', 'ANDROID_CACHE': '/cache', 'ANDROID_UNPACK': '/data/user/0/net.mkg20001.zeronet/files/app', 'ANDROID_ARGUMENT': '/data/user/0/net.mkg20001.zeronet/files/app'})
02-26 16:25:45.770 11991 12011 I zn      : ('Android kivy bootstrap done. __name__ is', '__main__')
02-26 16:25:45.793 11991 12011 I zn      : ['/data/user/0/net.mkg20001.zeronet/files/app/lib/python2.7/site-packages', '/data/user/0/net.mkg20001.zeronet/files/app/lib/site-python']
02-26 16:25:45.794 11991 12011 I python  : AND: Ran string
02-26 16:25:45.794 11991 12011 I python  : Run user program, change dir and execute entrypoint
02-26 16:25:47.614  3163  3502 V ActivityManager: Attempted to start a foreground service (ComponentInfo{net.mkg20001.zeronet/net.mkg20001.zeronet.ServiceZn}) with a broken notification (no icon: Notification(channel=null pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x40 color=0x00000000 vis=PRIVATE))
02-26 16:25:47.625 11991 11991 E AndroidRuntime: Process: net.mkg20001.zeronet:service_zn, PID: 11991
02-26 16:25:47.625 11991 11991 E AndroidRuntime: android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=null pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x40 color=0x00000000 vis=PRIVATE)
02-26 16:25:47.649 11991 12011 I zn      : env {u'srcdir': u'/storage/emulated/0/Android/data/net.mkg20001.zeronet/files/zero', u'pidfile': u'zeronet.pid', u'platform': u'android'}
02-26 16:25:47.649 11991 12011 I zn      : srcdir: /storage/emulated/0/Android/data/net.mkg20001.zeronet/files/zero
02-26 16:25:47.650 11991 12011 I zn      : sys.path: ['/data/data/net.mkg20001.zeronet/files/app', u'/storage/emulated/0/Android/data/net.mkg20001.zeronet/files/zero', '/data/data/net.mkg20001.zeronet/files', '/data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/stdlib.zip', '/data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/modules', '/data/user/0/net.mkg20001.zeronet/files/app/_python_bundle/site-packages', '/data/data/net.mkg20001.zeronet/files/app/_applibs']
02-26 16:25:47.651 11991 12011 I zn      : sys.argv: ['notaninterpreterreally']
02-26 16:25:47.652 11991 12011 I zn      : - Starting ZeroNet...
02-26 16:25:47.845 11991 12011 I zn      : ERROR:root:Unhandled exception: dlopen failed: cannot locate symbol "_Py_NoneStruct" referenced by "/data/data/net.mkg20001.zeronet/files/app/_python_bundle/site-packages/gevent/__hub_local.so"...
02-26 16:25:47.846 11991 12011 I zn      : Traceback (most recent call last):
02-26 16:25:47.846 11991 12011 I zn      :   File "/home/data/.buildozer/android/app/zero/zeronet.py", line 24, in main
02-26 16:25:47.846 11991 12011 I zn      :   File "/home/data/.buildozer/android/app/zero/src/main.py", line 9, in <module>
02-26 16:25:47.846 11991 12011 I zn      :   File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/gevent/__init__.py", line 87, in <module>
02-26 16:25:47.846 11991 12011 I zn      :   File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/gevent/_hub_local.py", line 101, in <module>
02-26 16:25:47.846 11991 12011 I zn      :   File "/home/data/.buildozer/android/platform/build/build/python-installs/zeronet/gevent/_util.py", line 105, in import_c_accel
02-26 16:25:47.846 11991 12011 I zn      :   File "/home/data/.buildozer/android/platform/build/build/other_builds/python2-openssl-sqlite3/armeabi-v7a__ndk_target_21/python2/Lib/importlib/__init__.py", line 37, in import_module
02-26 16:25:47.846 11991 12011 I zn      : ImportError: dlopen failed: cannot locate symbol "_Py_NoneStruct" referenced by "/data/data/net.mkg20001.zeronet/files/app/_python_bundle/site-packages/gevent/__hub_local.so"...
02-26 16:25:47.980 11991 12011 I zn      : Traceback (most recent call last):
02-26 16:25:47.981 11991 12011 I zn      :   File "/home/data/.buildozer/android/app/service.py", line 42, in <module>
02-26 16:25:47.982 11991 12011 I zn      :   File "/home/data/.buildozer/android/app/service.py", line 39, in main
02-26 16:25:47.983 11991 12011 I zn      :   File "/home/data/.buildozer/android/app/zero/zeronet.py", line 59, in main
02-26 16:25:47.983 11991 12011 I zn      : AttributeError: 'Config' object has no attribute 'log_dir'
02-26 16:25:47.983 11991 12011 I python  : Python for android ended.

Just the error:

02-26 16:25:47.846 11991 12011 I zn      : ImportError: dlopen failed: cannot locate symbol "_Py_NoneStruct" referenced by "/data/data/net.mkg20001.zeronet/files/app/_python_bundle/site-packages/gevent/__hub_local.so"...
@mkg20001
Copy link
Contributor Author

mkg20001 commented Mar 3, 2019

Update: This issue seems to be the same problem #668

Maybe -lpython2.7 should stay in LDFLAGS and not in LIBS with the newer NDKs?

@mkg20001
Copy link
Contributor Author

mkg20001 commented Mar 5, 2019

Fixed it, somehow...
No clue why it works, but it does 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant