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

ubantu 20.04折腾了一天都没运行起来 #16

Closed
yangmoling opened this issue Mar 4, 2022 · 3 comments
Closed

ubantu 20.04折腾了一天都没运行起来 #16

yangmoling opened this issue Mar 4, 2022 · 3 comments

Comments

@yangmoling
Copy link

源码报错如下
➜ fridaUiTools-1.0.3 ./kmainForm.py
File "./kmainForm.py", line 339
res = self.spawnAttachForm.exec()
^
SyntaxError: invalid syntax

打包的
yangmoling-pc% ./fridaUiTools
Traceback (most recent call last):
File "PyInstaller/loader/pyimod04_ctypes.py", line 53, in init
File "ctypes/init.py", line 373, in init
OSError: libcapstone.so: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "kmainForm.py", line 20, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "PyInstaller/loader/pyimod03_importers.py", line 476, in exec_module
File "forms/Patch.py", line 6, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "PyInstaller/loader/pyimod03_importers.py", line 476, in exec_module
File "utils/AsmUtil.py", line 1, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "PyInstaller/loader/pyimod03_importers.py", line 476, in exec_module
File "capstone/init.py", line 312, in
File "capstone/init.py", line 285, in _load_lib
File "ctypes/init.py", line 451, in LoadLibrary
File "PyInstaller/loader/pyimod04_ctypes.py", line 55, in init
pyimod04_ctypes.PyInstallerImportError: Failed to load dynlib/dll 'libcapstone.so'. Most likely this dynlib/dll was not found when the application was frozen.
[2061672] Failed to execute script 'kmainForm' due to unhandled exception!

@dqzg12300
Copy link
Owner

如果无法运行,请将libcapstone.so复制到/usr/local/lib中

@yangmoling
Copy link
Author

File "PyInstaller/loader/pyimod04_ctypes.py", line 55, in init
pyimod04_ctypes.PyInstallerImportError: Failed to load dynlib/dll 'libcapstone.so'. Most likely this dynlib/dll was not found when the application was frozen.
[2833074] Failed to execute script 'kmainForm' due to unhandled exception!

放了 依旧同样问题

@yangmoling
Copy link
Author

解决了 放/usr/lib 中~~~~哭死

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

2 participants