Skip to content

编译后只有dist目录下有个rkdevtoolgui.bin文件,但是运行失败没反应 #11

Description

@ChaingTsung
❯ python3 build_nuitka.py
Building RKDevelopTool-GUI (Linux)...
Build failed! Exit code: 1
Error: FATAL: Error, standalone mode on Linux requires 'patchelf' to be installed. Use 'apt/dnf/yum install patchelf' first.
...
❯ python3 build_nuitka.py
Building RKDevelopTool-GUI (Linux)...
Build successful!
❯ ./rkdevtoolgui
zsh: 没有那个文件或目录: ./rkdevtoolgui
❯ ls
LICENSE          dist                         images         readme.md         rkdevtoolgui.py  ui_text_updates.py  workers.py
__pycache__      googled437a58248dc4e69.html  log_widget.py  readme.zh.md      themes.py        utils.py
build_nuitka.py  i18n.py                      operations.py  requirements.txt  ui_panels.py     widgets.py
❯ ls dist
rkdevtoolgui.bin
❯ cd dist
❯ ./rkdevtoolgui.bin
/tmp/onefile_40847_1777898371_391294/rkdevtoolgui.py:39: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
Nuitka: A segmentation fault has occurred. This is highly unusual and can
have multiple reasons. Please check https://nuitka.net/info/segfault.html
for solutions.
❯ ls
rkdevtoolgui.bin

╭─ ~/RKDevelopTool-GUI/dist  on main ?2 ····················································· ✔  RKDevelopTool-GUI Py  at 20:39:43 ─╮
╰─                                        

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions