A vueltas con el torrent interno

alpelmir

Usuario Novato
18 Oct 2017
24
6
3
49
Me gustaría hacerlo funcionar, he visto que existe en la carpeta el fichero liblibtorrent.so, pero me da un error. Borré el fichero y se volvió a descargar.

El error que da principalmente es:
2020-01-02 17:29:10.428 T:24886 NOTICE: ### [python-libtorrent v.1.1.7]: dirname: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.alfa/lib/python_libtorrent
2020-01-02 17:29:10.441 T:24886 NOTICE: ### [python-libtorrent v.1.1.7]: set_version: no sizefile at /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.alfa/lib/python_libtorrent/android_armv7/1.2.2 back to default 1.2.2
2020-01-02 17:29:10.441 T:24886 NOTICE: ### [python-libtorrent v.1.1.7]: set_version: no default at /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.alfa/lib/python_libtorrent/android_armv7/1.2.2 searching for any version
2020-01-02 17:29:10.443 T:24886 NOTICE: ### [python-libtorrent v.1.1.7]: set_version: chose 1.1.1 out of ['0.16.19', '1.0.6', '1.0.7', '1.0.8', '1.0.9', '1.1.0', '1.1.1']
2020-01-02 17:29:10.444 T:24886 NOTICE: ### [python-libtorrent v.1.1.7]: platform: {'os': 'android', 'message': ['Please contact DiMartino on kodi.tv forum. We compiled python-libtorrent for Android,', 'but we need your help with some tests on different processors.'], 'version': '1.1.1', 'arch': 'arm', 'system': 'android_armv7'}
2020-01-02 17:29:10.445 T:24886 NOTICE: ### [python-libtorrent v.1.1.7]: os: ('Linux', 'localhost', '3.14.29', '#1 SMP PREEMPT Mon Jun 19 19:20:07 CST 2017', 'aarch64')
2020-01-02 17:29:10.445 T:24886 NOTICE: ### [python-libtorrent v.1.1.7]: ucs2 x64
2020-01-02 17:29:10.468 T:24886 NOTICE: ### [python-libtorrent v.1.1.7]: Module exists. Not copied... /data/user/0/org.xbmc.kodi/files/libtorrent.so
2020-01-02 17:29:10.469 T:24886 NOTICE: ### [python-libtorrent v.1.1.7]: Module exists. Not copied... /data/user/0/org.xbmc.kodi/files/liblibtorrent.so
2020-01-02 17:29:10.469 T:24886 NOTICE: ### [python-libtorrent v.1.1.7]: CDLL path = /data/user/0/org.xbmc.kodi/files/liblibtorrent.so
2020-01-02 17:29:10.482 T:24886 NOTICE: ### [python-libtorrent v.1.1.7]: Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.alfa/lib/python_libtorrent/python_libtorrent/__init__.py", line 139, in <module>
liblibtorrent=CDLL(dll_path)
OSError: dlopen failed: "/data/data/org.xbmc.kodi/files/liblibtorrent.so" is 32-bit instead of 64-bit
Me gustaría tenerlo para no ir descargando clientes externos
Muchas gracias
 

alpelmir

Usuario Novato
18 Oct 2017
24
6
3
49
Lo tenía claro, gracias, pero me extrañaba que descargara un fichero de una versión no correcta y por si se tenía la versión de 64. Si lo consigo os lo comento.
Un saludo
 

Kaooss

Usuario
4 Ago 2019
63
6
8


He compilado libtorrent_rastebar127 master aarch64 relased_nodebug runtime_static binding python sobre python3.8. con cmake3.17.3 y boost1. 73.0

No est@ testado no tengo root pero quitando los habituales warnings compilo a la primera.

Code

git clone arvidn/libtorrent
cd libtorrent
mkdir build
cd build

BOOST_ROOT=" " cmake -DCMAKE_INSTALL_PREFIX=/data/data/com.termux/files/usr - DCMAKE_BUILD_TYPE=Release - DCMAKE_CXX_STANDARD=14 -D python-bindings=ON runtime_static ..

make -j8

make install DESTDIR=libtorrent127
 
Última edición:
  • Me gusta
Reacciones: Kingbox