emacs-application-framework
emacs-application-framework copied to clipboard
windows下无法打开eaf-browser
Describe the bug A clear and concise description of what the bug is. 无法打开eaf-browser To Reproduce Ensure you're on the latest master branch, then note the steps to reproduce the behavior.
Expected behavior A clear and concise description of what you expected to happen. 通过install-eaf.py安装eaf最新版,安装完无错误提示,问题:无法打开browser。 Versions (please complete the following info):
- Distro and DE/WM:windows 10
- Versions of Dependencies: python 3.8.0
- M-x emacs-version: 28.2
Error logs
Please check the *eaf*
buffer, if there is any error in it, paste it here.
[New Thread 6460.0x1f08]
[New Thread 6460.0x1c78]
[New Thread 6460.0xf7c]
[New Thread 6460.0x924]
File "c:/Users/cyq/AppData/Roaming/.emacs.d/emacs-application-framework/eaf.py", line 602
sys.exit(app.exec())
^
SyntaxError: invalid syntax
[Thread 6460.0x924 exited with code 1]
[Thread 6460.0xf7c exited with code 1]
[Thread 6460.0x1c78 exited with code 1]
[Inferior 1 (process 6460) exited with code 01]
No stack.
Process eaf finished [New Thread 8696.0x2790] [New Thread 8696.0x2ae8] [New Thread 8696.0x2a18] [New Thread 8696.0x2b90] File "c:/Users/cyq/AppData/Roaming/.emacs.d/emacs-application-framework/eaf.py", line 602 sys.exit(app.exec()) ^ SyntaxError: invalid syntax [Thread 8696.0x2b90 exited with code 1] [Thread 8696.0x2a18 exited with code 1] [Thread 8696.0x2ae8 exited with code 1] [Inferior 1 (process 8696) exited with code 01] No stack.
Process eaf finished
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here. emacs -Q配置 (add-to-list 'load-path "~/.emacs.d/emacs-application-framework/")
(add-to-list 'load-path "~/.emacs.d/emacs-application-framework/app/browser")
(setq eaf-enable-debug t)
(require 'eaf)
(require 'eaf-browser)
Python 最少要 3.10 以上才行
删除python3.8,安装python3.10.10,重新安装eaf,仍然打不开eaf-browser,*eaf* 信息如下:
[New Thread 2256.0x4d4] [New Thread 2256.0x2e74] [New Thread 2256.0x1884] File "c:/Users/cyq/AppData/Roaming/.emacs.d/emacs-application-framework/eaf.py", line 602 sys.exit(app.exec()) ^ SyntaxError: invalid syntax [Thread 2256.0x1884 exited with code 1] [Thread 2256.0x2e74 exited with code 1] [Thread 2256.0x4d4 exited with code 1] [Inferior 1 (process 2256) exited with code 01] No stack.
Process eaf finished [New Thread 9312.0x2b2c] [New Thread 9312.0x1f8] [New Thread 9312.0x1d74] [New Thread 9312.0x2dd8] File "c:/Users/cyq/AppData/Roaming/.emacs.d/emacs-application-framework/eaf.py", line 602 sys.exit(app.exec()) ^ SyntaxError: invalid syntax [Thread 9312.0x1d74 exited with code 1] [Thread 9312.0x2dd8 exited with code 1] [Thread 9312.0x1f8 exited with code 1] [Inferior 1 (process 9312) exited with code 01] No stack.
Process eaf finished
目前看, 应该是你 Python 或者 PyQt 环境配置导致的问题, 我不用 Windows , 无法帮助你。