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

windows下无法打开eaf-browser #1103

Open
hitcyq opened this issue Jun 18, 2023 · 3 comments
Open

windows下无法打开eaf-browser #1103

hitcyq opened this issue Jun 18, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@hitcyq
Copy link

hitcyq commented Jun 18, 2023

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.
image

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)

@manateelazycat
Copy link
Member

Python 最少要 3.10 以上才行

@hitcyq
Copy link
Author

hitcyq commented Jun 19, 2023

删除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

@manateelazycat
Copy link
Member

目前看, 应该是你 Python 或者 PyQt 环境配置导致的问题, 我不用 Windows , 无法帮助你。

@manateelazycat manateelazycat added the help wanted Extra attention is needed label Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants