Open vncloudsco opened 2 years ago
The latest release of AIL 5.0 replaced ardb with kvrocks.
@adulau PyFaup Python Module not support arm please tell me how to configure it?
Good question. We will have a look at faup
to see if we cannot provide them a patch.
@adulau Thank you, I'm waiting to hear from you and hope it will be resolved soon
Can you give us some details about the ARM architecture/os used? Is it Linux, MacOS?
@adulau this details about the ARM architecture
Linux instanc #58~20.04.1-Ubuntu SMP Thu Feb 15 13:21:32 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
My os:
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
i also ran it on macbook m1 and got error
Info file lib after building PyFaup Python Module only file was created
root@instance-20211014-1710:/home/ail-framework/faup/src/lib/bindings/python/pyfaup/Linux/x86_64# file libfaupl.so
libfaupl.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=e13326f94f9ff22a42431aa1cdf7a8c020201666, stripped
i get log like below when run
Flask_server.py modules static
blueprints server.crt templates
create_default_user.py server.key update_thirdparty.sh
VT submission is disabled
Traceback (most recent call last):
File "./Flask_server.py", line 36, in <module>
from blueprints.crawler_splash import crawler_splash
File "/home/ail-framework/var/www/blueprints/crawler_splash.py", line 28, in <module>
from lib import crawlers
File "/home/ail-framework/bin/lib/crawlers.py", line 28, in <module>
from pyfaup.faup import Faup
File "/home/ail-framework/AILENV/lib/python3.8/site-packages/pyfaup-1.2-py3.8.egg/pyfaup/__init__.py", line 34, in <module>
bind.library = cdll.LoadLibrary(LOAD_LIB)
File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /home/ail-framework/AILENV/lib/python3.8/site-packages/pyfaup-1.2-py3.8.egg/pyfaup/Linux/x86_64/libfaupl.so: cannot open shared object file: No such file or directory
Can you please try to update the faup shared library path : https://github.com/stricaud/faup/tree/master?tab=readme-ov-file#why-do-i-receive-the-error-libfauplso1-cannot-open-shared-object-file-when-trying-to-run-faup
@vncloudsco did you try the what @Terrtia recommended to you?
@Terrtia @adulau thank you, buy I tested and it's not true for my case, on arm, the software cannot be built into a complete library file, you cannot use the x86_64 file for arm. I can't find the library file for arm after building it doesn't exist
Dear @adulau
Form https://github.com/ail-project/ail-framework/pull/134
we tried to build the system on ARM platform and got the errors problem