打扰了,但PyQt6又发现一个BUG: 操作弹窗不会自动消失(如图)
发到 Github issue 上讨论吧,Bug就不占用论坛的资源了。
我的机器总是出现
Please install one of AUR's helper, such as 'pacaur', 'yay', 'yaourt', 'paru', etc.
的错误,我需要把 install-eaf.py 里的这三行注释掉才可以,感觉可能是我的windows装了 mingw64 系统,有 pacman 这个命令的缘故。
pacman不是mingw吧,应该是msys里的,你是不是把msys的usr/bin加到path里了
不过这里大概确实还能改一改qwq 我问问我玩python的同学
对对,是msys2,那个估计干扰了,话说还想问一下你在windows怎么调试呢? 我在 eaf.py里和 app/browser/buffer.py 里敲了print(“xxxxx”),都没能在 eaf buffer里看到相关输出的文本,我的 eaf-enable-debug 变量也打开了,难道需要自己弄个文件流吗?
啊,我不太会debug的,一般就是在.py里找到*eaf*里报错的位置,然后看看上下文,大概就猜到是什么问题了?qwq抱歉可能帮不到什么……
print的结果是不会直接进*eaf*的,因为eaf里emacs和python大概是用epc通信的,包括在*eaf*里看到的报错也应该是epc转发的,和stdout没关系~
如果你用终端启动gui emacs,或许能在终端里看到你加的print的输出?我在dynamic module上是这样的,不知道eaf这样的python子进程是不是……
真的有需要的话还是看一看eaf的hacking教程吧,不过我想到那时你的问题可能早就解决了哈哈
好的谢谢,我有空再研究研究,目前用着还算正常,就是有时eaf会突然抽风死掉了,不过还好能用。
py文件里面加 print 代码,肯定会在 *eaf*
buffer 里面打印消息,没有看到有可能是代码还没有执行到 print 的地方。
我在 demo 那个例子里加了一行 print,然后在 emacs 里调用 eaf-open-demo,但只在 eaf buffer 里看到一堆错误,没有发现 print 的信息,是不是先出了异常就不显示了呢?
*eaf* buffer 里的显示:ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:ReturnError([Symbol('file-error'), 'Spawning child process', 'Exec format error'])
ERROR:epc:(return 15 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\n\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]
--- Logging error ---
Traceback (most recent call last):
File "E:\python37\Lib\logging\__init__.py", line 1028, in emit
stream.write(msg + self.terminator)
UnicodeEncodeError: 'gbk' codec can't encode character '\xe6' in position 120: illegal multibyte sequence
Call stack:
File "E:\python37\Lib\threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "E:\python37\Lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "E:\python37\Lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "E:\python37\lib\site-packages\epc\utils.py", line 51, in new_method
ret = method(self, *args, **kwds)
File "E:\python37\lib\site-packages\epc\handler.py", line 240, in _handle
getattr(self, '_validate_{0}'.format(pyname))(uid, args)
File "E:\python37\lib\site-packages\epc\handler.py", line 309, in _validate_return
self.logger.error(message)
Message: "(return 15 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\\n\\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]"
Arguments: ()
ERROR:epc:EPCError("(return 15 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\\n\\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]")
--- Logging error ---
Traceback (most recent call last):
File "E:\python37\lib\site-packages\epc\handler.py", line 240, in _handle
getattr(self, '_validate_{0}'.format(pyname))(uid, args)
File "E:\python37\lib\site-packages\epc\handler.py", line 310, in _validate_return
self._handle_epc_error(uid, message)
File "E:\python37\lib\site-packages\epc\handler.py", line 281, in _handle_epc_error
self.callmanager.handle_epc_error(uid, reply)
File "E:\python37\lib\site-packages\epc\handler.py", line 168, in handle_epc_error
EPCErrorCallerUnknown)
File "E:\python37\lib\site-packages\epc\handler.py", line 158, in _handle_error_reply
raise error
epc.handler.EPCError: (return 15 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\n\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\python37\Lib\logging\__init__.py", line 1028, in emit
stream.write(msg + self.terminator)
UnicodeEncodeError: 'gbk' codec can't encode character '\xe6' in position 131: illegal multibyte sequence
Call stack:
File "E:\python37\Lib\threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "E:\python37\Lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "E:\python37\Lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "E:\python37\lib\site-packages\epc\utils.py", line 51, in new_method
ret = method(self, *args, **kwds)
File "E:\python37\lib\site-packages\epc\handler.py", line 246, in _handle
if self.handle_error(err):
File "E:\python37\lib\site-packages\epc\handler.py", line 345, in handle_error
self.logger.error(repr(err))
Message: 'EPCError("(return 15 ...): Got too many arguments in the reply: [Symbol(\'#\'), [\'Microsoft (R) Windows Script Host Version 5.812\\\\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\\\\n\\\\n\', 0, 99, [Symbol(\'charset\'), Symbol(\'iso-8859-1\')]]]")'
Arguments: ()
ERROR:epc:(return 16 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\n\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]
--- Logging error ---
Traceback (most recent call last):
File "E:\python37\Lib\logging\__init__.py", line 1028, in emit
stream.write(msg + self.terminator)
UnicodeEncodeError: 'gbk' codec can't encode character '\xe6' in position 120: illegal multibyte sequence
Call stack:
File "E:\python37\Lib\threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "E:\python37\Lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "E:\python37\Lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "E:\python37\lib\site-packages\epc\utils.py", line 51, in new_method
ret = method(self, *args, **kwds)
File "E:\python37\lib\site-packages\epc\handler.py", line 240, in _handle
getattr(self, '_validate_{0}'.format(pyname))(uid, args)
File "E:\python37\lib\site-packages\epc\handler.py", line 309, in _validate_return
self.logger.error(message)
Message: "(return 16 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\\n\\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]"
Arguments: ()
ERROR:epc:EPCError("(return 16 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\\n\\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]")
--- Logging error ---
Traceback (most recent call last):
File "E:\python37\lib\site-packages\epc\handler.py", line 240, in _handle
getattr(self, '_validate_{0}'.format(pyname))(uid, args)
File "E:\python37\lib\site-packages\epc\handler.py", line 310, in _validate_return
self._handle_epc_error(uid, message)
File "E:\python37\lib\site-packages\epc\handler.py", line 281, in _handle_epc_error
self.callmanager.handle_epc_error(uid, reply)
File "E:\python37\lib\site-packages\epc\handler.py", line 168, in handle_epc_error
EPCErrorCallerUnknown)
File "E:\python37\lib\site-packages\epc\handler.py", line 158, in _handle_error_reply
raise error
epc.handler.EPCError: (return 16 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\n\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\python37\Lib\logging\__init__.py", line 1028, in emit
stream.write(msg + self.terminator)
UnicodeEncodeError: 'gbk' codec can't encode character '\xe6' in position 131: illegal multibyte sequence
Call stack:
File "E:\python37\Lib\threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "E:\python37\Lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "E:\python37\Lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "E:\python37\lib\site-packages\epc\utils.py", line 51, in new_method
ret = method(self, *args, **kwds)
File "E:\python37\lib\site-packages\epc\handler.py", line 246, in _handle
if self.handle_error(err):
File "E:\python37\lib\site-packages\epc\handler.py", line 345, in handle_error
self.logger.error(repr(err))
Message: 'EPCError("(return 16 ...): Got too many arguments in the reply: [Symbol(\'#\'), [\'Microsoft (R) Windows Script Host Version 5.812\\\\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\\\\n\\\\n\', 0, 99, [Symbol(\'charset\'), Symbol(\'iso-8859-1\')]]]")'
Arguments: ()
ERROR:epc:(return 17 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\n\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]
--- Logging error ---
Traceback (most recent call last):
File "E:\python37\Lib\logging\__init__.py", line 1028, in emit
stream.write(msg + self.terminator)
UnicodeEncodeError: 'gbk' codec can't encode character '\xe6' in position 120: illegal multibyte sequence
Call stack:
File "E:\python37\Lib\threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "E:\python37\Lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "E:\python37\Lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "E:\python37\lib\site-packages\epc\utils.py", line 51, in new_method
ret = method(self, *args, **kwds)
File "E:\python37\lib\site-packages\epc\handler.py", line 240, in _handle
getattr(self, '_validate_{0}'.format(pyname))(uid, args)
File "E:\python37\lib\site-packages\epc\handler.py", line 309, in _validate_return
self.logger.error(message)
Message: "(return 17 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\\n\\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]"
Arguments: ()
ERROR:epc:EPCError("(return 17 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\\n\\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]")
--- Logging error ---
Traceback (most recent call last):
File "E:\python37\lib\site-packages\epc\handler.py", line 240, in _handle
getattr(self, '_validate_{0}'.format(pyname))(uid, args)
File "E:\python37\lib\site-packages\epc\handler.py", line 310, in _validate_return
self._handle_epc_error(uid, message)
File "E:\python37\lib\site-packages\epc\handler.py", line 281, in _handle_epc_error
self.callmanager.handle_epc_error(uid, reply)
File "E:\python37\lib\site-packages\epc\handler.py", line 168, in handle_epc_error
EPCErrorCallerUnknown)
File "E:\python37\lib\site-packages\epc\handler.py", line 158, in _handle_error_reply
raise error
epc.handler.EPCError: (return 17 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\n\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\python37\Lib\logging\__init__.py", line 1028, in emit
stream.write(msg + self.terminator)
UnicodeEncodeError: 'gbk' codec can't encode character '\xe6' in position 131: illegal multibyte sequence
Call stack:
File "E:\python37\Lib\threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "E:\python37\Lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "E:\python37\Lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "E:\python37\lib\site-packages\epc\utils.py", line 51, in new_method
ret = method(self, *args, **kwds)
File "E:\python37\lib\site-packages\epc\handler.py", line 246, in _handle
if self.handle_error(err):
File "E:\python37\lib\site-packages\epc\handler.py", line 345, in handle_error
self.logger.error(repr(err))
Message: 'EPCError("(return 17 ...): Got too many arguments in the reply: [Symbol(\'#\'), [\'Microsoft (R) Windows Script Host Version 5.812\\\\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\\\\n\\\\n\', 0, 99, [Symbol(\'charset\'), Symbol(\'iso-8859-1\')]]]")'
Arguments: ()
ERROR:epc:(return 18 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\n\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]
--- Logging error ---
Traceback (most recent call last):
File "E:\python37\Lib\logging\__init__.py", line 1028, in emit
stream.write(msg + self.terminator)
UnicodeEncodeError: 'gbk' codec can't encode character '\xe6' in position 120: illegal multibyte sequence
Call stack:
File "E:\python37\Lib\threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "E:\python37\Lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "E:\python37\Lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "E:\python37\lib\site-packages\epc\utils.py", line 51, in new_method
ret = method(self, *args, **kwds)
File "E:\python37\lib\site-packages\epc\handler.py", line 240, in _handle
getattr(self, '_validate_{0}'.format(pyname))(uid, args)
File "E:\python37\lib\site-packages\epc\handler.py", line 309, in _validate_return
self.logger.error(message)
Message: "(return 18 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\\n\\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]"
Arguments: ()
ERROR:epc:EPCError("(return 18 ...): Got too many arguments in the reply: [Symbol('#'), ['Microsoft (R) Windows Script Host Version 5.812\\n \xe6\xc8 \xcb \xd3\xd0(C) Microsoft Corporation\xa1\xa3 \xa3\xc1\xf4\xcb \xd3\xd0\xc8 \xc0\xfb\xa1\xa3\\n\\n', 0, 99, [Symbol('charset'), Symbol('iso-8859-1')]]]")
但是 那个demo是可以正常运行的
编码问题导致epc有问题了。
你可以请教另外一个帖子的同学,看看他的windows是怎么设置的。
我没有windows,只能靠你们自己折腾了
确实是编码的问题,太感谢了,已经搞定了,非常好用,谢谢大佬!
今天又尝试了一下怕PyQt6,发现报错信息变了
qt.webenginecontext:
GLImplementation: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.6
Using Default SG Backend: yes
Using Software Dynamic GL: no
Using Angle: no
Init Parameters:
* application-name eaf.py
* browser-subprocess-path /usr/lib/qt6/QtWebEngineProcess
* create-default-gl-context
* disable-features DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
* disable-setuid-sandbox
* disable-speech-api
* disable-web-security
* enable-features NetworkServiceInProcess,TracingServiceInProcess
* enable-gpu-rasterization
* enable-native-gpu-memory-buffers
* enable-threaded-compositing
* ignore-gpu-blocklist
* in-process-gpu
* use-gl desktop
Fontconfig warning: "/etc/fonts/conf.d/44-wqy-zenhei.conf", line 11: Having multiple values in <test> isn't supported and may not work as expected
::-webkit-details-marker pseudo element selector is deprecated. Please use ::marker instead. See https://chromestatus.com/feature/6730096436051968 for more details.
Deprecation notice: route:discovery.parentCategory was replaced with route:discovery.category (deprecated since Discourse 2.6.0)
Deprecation notice: route:discovery.categoryWithID was replaced with route:discovery.category (deprecated since Discourse 2.6.0)
[EAF] Browser https://emacs-china.org/ loading time: 8.67775559425354s
Process *eaf* 追踪与中断点陷阱 (core dumped)
不会链接动态库,先切回pyqt5分支吧。
等你操作系统仓库提供pyqt6就好了。
我的就是Archlinux,已经有PyQt6了
你按照这个帖子内容操作过吗?
有照着帖子操作过
那很奇怪了 (setq eaf-enable-debug t)设置后是啥报错?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffd71a9640 (LWP 224239)]
[New Thread 0x7fffd49a2640 (LWP 224262)]
[New Thread 0x7fffc96e9640 (LWP 224263)]
[New Thread 0x7fffc8d59640 (LWP 224264)]
[New Thread 0x7fffc3fff640 (LWP 224265)]
[New Thread 0x7fffc366f640 (LWP 224266)]
[New Thread 0x7fffc2cdf640 (LWP 224267)]
[New Thread 0x7fffc234f640 (LWP 224268)]
[New Thread 0x7fffc19bf640 (LWP 224269)]
[New Thread 0x7fffc102f640 (LWP 224270)]
[New Thread 0x7fffa7fff640 (LWP 224271)]
[New Thread 0x7fffa766f640 (LWP 224272)]
[New Thread 0x7fffa6cdf640 (LWP 224273)]
[New Thread 0x7fffa634f640 (LWP 224274)]
[New Thread 0x7fffa59bf640 (LWP 224275)]
[Thread 0x7fffa59bf640 (LWP 224275) exited]
[New Thread 0x7fffa59bf640 (LWP 224276)]
[New Thread 0x7fffa502f640 (LWP 224277)]
[New Thread 0x7fff83fff640 (LWP 224278)]
[Thread 0x7fff83fff640 (LWP 224278) exited]
[New Thread 0x7fff83fff640 (LWP 224279)]
[Thread 0x7fff83fff640 (LWP 224279) exited]
[New Thread 0x7fff83fff640 (LWP 224280)]
[New Thread 0x7fff8366f640 (LWP 224691)]
[Thread 0x7fff8366f640 (LWP 224691) exited]
[New Thread 0x7fff8366f640 (LWP 224706)]
[New Thread 0x7fff82cdf640 (LWP 224716)]
[Thread 0x7fff8366f640 (LWP 224706) exited]
[Thread 0x7fff82cdf640 (LWP 224716) exited]
[New Thread 0x7fff82cdf640 (LWP 224725)]
[Thread 0x7fff82cdf640 (LWP 224725) exited]
[New Thread 0x7fff82cdf640 (LWP 224727)]
[Thread 0x7fff82cdf640 (LWP 224727) exited]
[New Thread 0x7fff82cdf640 (LWP 224732)]
[Thread 0x7fff82cdf640 (LWP 224732) exited]
qt.webenginecontext:
GLImplementation: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.6
Using Default SG Backend: yes
Using Software Dynamic GL: no
Using Angle: no
Init Parameters:
* application-name eaf.py
* browser-subprocess-path /usr/lib/qt6/QtWebEngineProcess
* create-default-gl-context
* disable-features DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
* disable-setuid-sandbox
* disable-speech-api
* disable-web-security
* enable-features NetworkServiceInProcess,TracingServiceInProcess
* enable-gpu-rasterization
* enable-native-gpu-memory-buffers
* enable-threaded-compositing
* ignore-gpu-blocklist
* in-process-gpu
* use-gl desktop
[New Thread 0x7fff82cdf640 (LWP 224733)]
[Thread 0x7fff82cdf640 (LWP 224733) exited]
[New Thread 0x7fff82cdf640 (LWP 224735)]
[Detaching after fork from child process 224743]
[Detaching after fork from child process 224748]
[Detaching after fork from child process 224754]
[New Thread 0x7fff8366f640 (LWP 224762)]
[New Thread 0x7fff8234f640 (LWP 224763)]
[New Thread 0x7fff819bf640 (LWP 224764)]
[New Thread 0x7fff8102f640 (LWP 224765)]
Fontconfig warning: "/etc/fonts/conf.d/44-wqy-zenhei.conf", line 11: Having multiple values in <test> isn't supported and may not work as expected
[New Thread 0x7fff6bfff640 (LWP 224766)]
[New Thread 0x7fff6b66f640 (LWP 224767)]
[New Thread 0x7fff6acdf640 (LWP 224768)]
[New Thread 0x7fff6a34f640 (LWP 224769)]
[New Thread 0x7fff699bf640 (LWP 224770)]
[New Thread 0x7fff6902f640 (LWP 224771)]
[New Thread 0x7fff4ffff640 (LWP 224772)]
[New Thread 0x7fff4f66f640 (LWP 224773)]
[New Thread 0x7fff4ecdf640 (LWP 224774)]
[New Thread 0x7fff4e34f640 (LWP 224775)]
[New Thread 0x7fff4d9bf640 (LWP 224776)]
[Thread 0x7fff4d9bf640 (LWP 224776) exited]
[New Thread 0x7fff4d9bf640 (LWP 224777)]
[Thread 0x7fff4d9bf640 (LWP 224777) exited]
[New Thread 0x7fff4d9bf640 (LWP 224778)]
[New Thread 0x7fff4d02f640 (LWP 224779)]
[New Thread 0x7fff33fff640 (LWP 224780)]
[Thread 0x7fff33fff640 (LWP 224780) exited]
[New Thread 0x7fff33fff640 (LWP 224781)]
[Thread 0x7fff33fff640 (LWP 224781) exited]
[New Thread 0x7fff33fff640 (LWP 224782)]
[Thread 0x7fff33fff640 (LWP 224782) exited]
[New Thread 0x7fff33fff640 (LWP 224783)]
[Thread 0x7fff33fff640 (LWP 224783) exited]
[New Thread 0x7fff33fff640 (LWP 224784)]
[New Thread 0x7fff3366f640 (LWP 224785)]
[New Thread 0x7fff32cdf640 (LWP 224786)]
[New Thread 0x7fff3234f640 (LWP 224788)]
[Thread 0x7fff3234f640 (LWP 224788) exited]
[New Thread 0x7fff3234f640 (LWP 224801)]
[Thread 0x7fff3234f640 (LWP 224801) exited]
[New Thread 0x7fff3234f640 (LWP 224802)]
[Thread 0x7fff3234f640 (LWP 224802) exited]
[New Thread 0x7fff3234f640 (LWP 224803)]
[Thread 0x7fff3234f640 (LWP 224803) exited]
[New Thread 0x7fff3234f640 (LWP 224804)]
[Thread 0x7fff3234f640 (LWP 224804) exited]
[New Thread 0x7fff3234f640 (LWP 224805)]
[Thread 0x7fff3234f640 (LWP 224805) exited]
[New Thread 0x7fff3234f640 (LWP 224806)]
[Thread 0x7fff3234f640 (LWP 224806) exited]
[New Thread 0x7fff3234f640 (LWP 224807)]
[New Thread 0x7fff1f5ff640 (LWP 224808)]
[Thread 0x7fff1f5ff640 (LWP 224808) exited]
[New Thread 0x7fff1f5ff640 (LWP 224809)]
[Thread 0x7fff1f5ff640 (LWP 224809) exited]
[New Thread 0x7fff1f5ff640 (LWP 224810)]
[Thread 0x7fff1f5ff640 (LWP 224810) exited]
[New Thread 0x7fff1f5ff640 (LWP 224811)]
[Thread 0x7fff1f5ff640 (LWP 224811) exited]
[New Thread 0x7fff1f5ff640 (LWP 224812)]
[Thread 0x7fff1f5ff640 (LWP 224812) exited]
[New Thread 0x7fff1f5ff640 (LWP 224813)]
[Thread 0x7fff1f5ff640 (LWP 224813) exited]
[New Thread 0x7fff1f5ff640 (LWP 224814)]
[New Thread 0x7fff1cb3a640 (LWP 224815)]
[New Thread 0x7fff13fff640 (LWP 224816)]
[New Thread 0x7fff1366f640 (LWP 224817)]
[New Thread 0x7fff124df640 (LWP 224818)]
[Thread 0x7fff124df640 (LWP 224818) exited]
[New Thread 0x7fff124df640 (LWP 224819)]
[Thread 0x7fff124df640 (LWP 224819) exited]
[New Thread 0x7fff124df640 (LWP 224820)]
[Thread 0x7fff124df640 (LWP 224820) exited]
[New Thread 0x7fff124df640 (LWP 224821)]
[Thread 0x7fff124df640 (LWP 224821) exited]
::-webkit-details-marker pseudo element selector is deprecated. Please use ::marker instead. See https://chromestatus.com/feature/6730096436051968 for more details.
[New Thread 0x7fff124df640 (LWP 224883)]
[New Thread 0x7fff10ccf640 (LWP 225174)]
[Thread 0x7fff10ccf640 (LWP 225174) exited]
Thread 1 "python3" received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffee29ad01 in ?? () from /usr/lib/libQt6WebEngineCore.so.6
#0 0x00007fffee29ad01 in () at /usr/lib/libQt6WebEngineCore.so.6
#1 0x0000555555e90358 in ()
#2 0x00000000000000f0 in ()
#3 0x00007fffffffcb60 in ()
#4 0x00007fff2826a768 in ()
#5 0x00007fffffffca60 in ()
#6 0x00007fffee1108c2 in () at /usr/lib/libQt6WebEngineCore.so.6
#7 0x00007fffffffca10 in ()
#8 0x00007fffffffcab0 in ()
#9 0x00000000000000e0 in ()
#10 0xd38055a2ef9b5e00 in ()
#11 0x0000555555feb170 in ()
#12 0xffffffffffffff80 in ()
#13 0x0000000000000000 in ()
Process *eaf* finished
你先切换pyqt5吧,我也是arch,我暂时没有头绪为啥你会崩溃。
ubuntu 20.04
emacs 27.1
doomemacs 前面尝试安装过master分支, 不成就切到了qt5-legacy 分支 配置
(add-to-list 'load-path "~/.emacs.d/site-lisp/emacs-application-framework")
(require 'eaf)
(require 'eaf-pdf-viewer)
;; (require 'eaf-mermaid)
(require 'eaf-demo)
(require 'eaf-netease-cloud-music)
(require 'eaf-markdown-previewer)
(require 'eaf-browser)
eaf-open-demo 可以打开显示
eaf-open-browser 是空白的 *eaf*buffer里是这样的 大佬给指点下
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 27453]
[New Thread 0x7fffe2a7f700 (LWP 27454)]
[New Thread 0x7fffe1390700 (LWP 27455)]
[New Thread 0x7fffe09ff700 (LWP 27456)]
[New Thread 0x7fffd3dfc700 (LWP 27457)]
[New Thread 0x7fffd135f700 (LWP 27459)]
[New Thread 0x7fffd099e700 (LWP 27460)]
[New Thread 0x7fffc67e9700 (LWP 27461)]
[New Thread 0x7fffc5e58700 (LWP 27462)]
[New Thread 0x7fffc54c7700 (LWP 27463)]
[Thread 0x7fffc54c7700 (LWP 27463) exited]
[New Thread 0x7fffc54c7700 (LWP 27464)]
[New Thread 0x7fffc4b36700 (LWP 27465)]
[New Thread 0x7fffaffff700 (LWP 27466)]
[Thread 0x7fffaffff700 (LWP 27466) exited]
[New Thread 0x7fffaffff700 (LWP 27467)]
[Thread 0x7fffaffff700 (LWP 27467) exited]
[New Thread 0x7fffaffff700 (LWP 27475)]
[Thread 0x7fffaffff700 (LWP 27475) exited]
[New Thread 0x7fffaffff700 (LWP 27476)]
[New Thread 0x7fffaf66e700 (LWP 27477)]
[New Thread 0x7fffaecdd700 (LWP 27478)]
[New Thread 0x7fffae34c700 (LWP 27479)]
[Thread 0x7fffaecdd700 (LWP 27478) exited]
[Thread 0x7fffaf66e700 (LWP 27477) exited]
[Thread 0x7fffaffff700 (LWP 27476) exited]
[New Thread 0x7fffaf66e700 (LWP 27480)]
[New Thread 0x7fffaffff700 (LWP 27481)]
[Thread 0x7fffaffff700 (LWP 27481) exited]
[Thread 0x7fffae34c700 (LWP 27479) exited]
[Thread 0x7fffaf66e700 (LWP 27480) exited]
[New Thread 0x7fffaf66e700 (LWP 27483)]
[Thread 0x7fffaf66e700 (LWP 27483) exited]
[New Thread 0x7fffaf66e700 (LWP 27484)]
[Thread 0x7fffaf66e700 (LWP 27484) exited]
[New Thread 0x7fffaf66e700 (LWP 27485)]
[Thread 0x7fffaf66e700 (LWP 27485) exited]
[New Thread 0x7fffaf66e700 (LWP 27486)]
[Thread 0x7fffaf66e700 (LWP 27486) exited]
[New Thread 0x7fffaf66e700 (LWP 27487)]
[Thread 0x7fffaf66e700 (LWP 27487) exited]
[New Thread 0x7fffaf66e700 (LWP 27488)]
[Detaching after fork from child process 27489]
[Detaching after fork from child process 27490]
[New Thread 0x7fffae34c700 (LWP 27493)]
[New Thread 0x7fffaffff700 (LWP 27494)]
[New Thread 0x7fffaecdd700 (LWP 27495)]
[New Thread 0x7fffad10b700 (LWP 27496)]
[New Thread 0x7fff93fff700 (LWP 27497)]
[New Thread 0x7fff8b66e700 (LWP 27498)]
[New Thread 0x7fff9366e700 (LWP 27499)]
[New Thread 0x7fff92cdd700 (LWP 27500)]
[New Thread 0x7fff9234c700 (LWP 27501)]
[New Thread 0x7fff919bb700 (LWP 27502)]
[New Thread 0x7fff9102a700 (LWP 27503)]
[New Thread 0x7fff8bfff700 (LWP 27504)]
[New Thread 0x7fff8acdd700 (LWP 27505)]
[New Thread 0x7fff8a34c700 (LWP 27506)]
[New Thread 0x7fff899bb700 (LWP 27507)]
[New Thread 0x7fff8902a700 (LWP 27508)]
[Thread 0x7fff8902a700 (LWP 27508) exited]
[New Thread 0x7fff8902a700 (LWP 27509)]
[Thread 0x7fff8902a700 (LWP 27509) exited]
[New Thread 0x7fff8902a700 (LWP 27510)]
[Thread 0x7fff8902a700 (LWP 27510) exited]
Traceback (most recent call last):
File "/home/alih/.emacs.d/site-lisp/emacs-application-framework/core/utils.py", line 50, in on_signal_received
self._func(obj, *args, **kwargs)
File "/home/alih/.emacs.d/site-lisp/emacs-application-framework/eaf.py", line 153, in new_buffer
self.create_buffer(buffer_id, url, module_path, arguments)
File "/home/alih/.emacs.d/site-lisp/emacs-application-framework/eaf.py", line 172, in create_buffer
app_buffer = module.AppBuffer(buffer_id, url, arguments)
File "/home/alih/.emacs.d/site-lisp/emacs-application-framework/app/browser/buffer.py", line 38, in __init__
BrowserBuffer.__init__(self, buffer_id, url, arguments, False)
File "/home/alih/.emacs.d/site-lisp/emacs-application-framework/core/webengine.py", line 800, in __init__
self.zoom_data = ZoomSizeDb(os.path.join(os.path.dirname(self.config_dir), "browser", "zoom_data.db"))
File "/home/alih/.emacs.d/site-lisp/emacs-application-framework/core/webengine.py", line 1522, in __init__
self._conn = sqlite3.connect(dbpath)
sqlite3.OperationalError: unable to open database file
Traceback (most recent call last):
File "/home/alih/.emacs.d/site-lisp/emacs-application-framework/core/utils.py", line 50, in on_signal_received
self._func(obj, *args, **kwargs)
File "/home/alih/.emacs.d/site-lisp/emacs-application-framework/eaf.py", line 237, in update_views
view = View(self.buffer_dict[buffer_id], view_info)
KeyError: '1ee3-1cc6-818f-4e6e-2d61-d316-59b3'
[New Thread 0x7fff8902a700 (LWP 27511)]
[New Thread 0x7fff4bfff700 (LWP 27512)]
[New Thread 0x7fff4b66e700 (LWP 27513)]
[New Thread 0x7fff4acdd700 (LWP 27514)]
[New Thread 0x7fff4a34c700 (LWP 27515)]
[New Thread 0x7fff499bb700 (LWP 27529)]
[New Thread 0x7fff4902a700 (LWP 27530)]
[New Thread 0x7fff33fff700 (LWP 27531)]
Traceback (most recent call last):
File "/home/alih/.emacs.d/site-lisp/emacs-application-framework/core/utils.py", line 50, in on_signal_received
self._func(obj, *args, **kwargs)
File "/home/alih/.emacs.d/site-lisp/emacs-application-framework/eaf.py", line 237, in update_views
view = View(self.buffer_dict[buffer_id], view_info)
KeyError: '1ee3-1cc6-818f-4e6e-2d61-d316-59b3'
[Thread 0x7fff33fff700 (LWP 27531) exited]
[New Thread 0x7fff33fff700 (LWP 27532)]
[Thread 0x7fff33fff700 (LWP 27532) exited]
[New Thread 0x7fff33fff700 (LWP 27533)]
[Thread 0x7fff33fff700 (LWP 27533) exited]
[New Thread 0x7fff33fff700 (LWP 27534)]
[Thread 0x7fff33fff700 (LWP 27534) exited]
[New Thread 0x7fff33fff700 (LWP 27535)]
[Thread 0x7fff33fff700 (LWP 27535) exited]
[New Thread 0x7fff33fff700 (LWP 27536)]
[New Thread 0x7fff3366e700 (LWP 27537)]
[Thread 0x7fff33fff700 (LWP 27536) exited]
[Thread 0x7fff3366e700 (LWP 27537) exited]
[New Thread 0x7fff3366e700 (LWP 27538)]
[Thread 0x7fff3366e700 (LWP 27538) exited]
[New Thread 0x7fff3366e700 (LWP 27539)]
[Thread 0x7fff3366e700 (LWP 27539) exited]
[New Thread 0x7fff3366e700 (LWP 27540)]
[Thread 0x7fff3366e700 (LWP 27540) exited]
[New Thread 0x7fff3366e700 (LWP 27541)]
[New Thread 0x7fff33fff700 (LWP 27542)]
[Thread 0x7fff3366e700 (LWP 27541) exited]
[New Thread 0x7fff3366e700 (LWP 27543)]
[New Thread 0x7fff32cdd700 (LWP 27544)]
[Thread 0x7fff33fff700 (LWP 27542) exited]
[New Thread 0x7fff33fff700 (LWP 27545)]
[Thread 0x7fff3366e700 (LWP 27543) exited]
[New Thread 0x7fff3366e700 (LWP 27546)]
[Thread 0x7fff32cdd700 (LWP 27544) exited]
[Thread 0x7fff33fff700 (LWP 27545) exited]
[Thread 0x7fff3366e700 (LWP 27546) exited]
[New Thread 0x7fff3366e700 (LWP 27550)]
[Thread 0x7fff3366e700 (LWP 27550) exited]
[New Thread 0x7fff3366e700 (LWP 27551)]
[Thread 0x7fff3366e700 (LWP 27551) exited]
[New Thread 0x7fff3366e700 (LWP 27552)]
[Thread 0x7fff3366e700 (LWP 27552) exited]
[Thread 0x7fff4bfff700 (LWP 27512) exited]
[Thread 0x7fff8902a700 (LWP 27511) exited]
[Thread 0x7fff9366e700 (LWP 27499) exited]
[Thread 0x7fff8b66e700 (LWP 27498) exited]
[New Thread 0x7fff9366e700 (LWP 27663)]
[Thread 0x7fff9366e700 (LWP 27663) exited]
[New Thread 0x7fff9366e700 (LWP 27664)]
[Thread 0x7fff9366e700 (LWP 27664) exited]
[New Thread 0x7fff9366e700 (LWP 27665)]
[Thread 0x7fff9366e700 (LWP 27665) exited]
[New Thread 0x7fff9366e700 (LWP 27667)]
[Thread 0x7fff9366e700 (LWP 27667) exited]
[New Thread 0x7fff9366e700 (LWP 27668)]
[Thread 0x7fff9366e700 (LWP 27668) exited]
[New Thread 0x7fff9366e700 (LWP 27669)]
[Thread 0x7fff9366e700 (LWP 27669) exited]
[New Thread 0x7fff9366e700 (LWP 27670)]
[Thread 0x7fff9366e700 (LWP 27670) exited]
[New Thread 0x7fff9366e700 (LWP 27671)]
[Thread 0x7fff9366e700 (LWP 27671) exited]
[New Thread 0x7fff9366e700 (LWP 27672)]
[Thread 0x7fff9366e700 (LWP 27672) exited]
[New Thread 0x7fff9366e700 (LWP 27673)]
[Thread 0x7fff9366e700 (LWP 27673) exited]
[New Thread 0x7fff9366e700 (LWP 27674)]
[Thread 0x7fff9366e700 (LWP 27674) exited]
[New Thread 0x7fff9366e700 (LWP 27675)]
[Thread 0x7fff9366e700 (LWP 27675) exited]
[New Thread 0x7fff9366e700 (LWP 27777)]
[Thread 0x7fff9366e700 (LWP 27777) exited]
[New Thread 0x7fff9366e700 (LWP 27807)]
[Thread 0x7fff9366e700 (LWP 27807) exited]
[New Thread 0x7fff9366e700 (LWP 27808)]
[Thread 0x7fff9366e700 (LWP 27808) exited]
[New Thread 0x7fff9366e700 (LWP 27809)]
[Thread 0x7fff9366e700 (LWP 27809) exited]
[New Thread 0x7fff9366e700 (LWP 27810)]
[Thread 0x7fff9366e700 (LWP 27810) exited]
[New Thread 0x7fff9366e700 (LWP 27811)]
[Thread 0x7fff9366e700 (LWP 27811) exited]
[New Thread 0x7fff9366e700 (LWP 27812)]
[Thread 0x7fff9366e700 (LWP 27812) exited]
[New Thread 0x7fff9366e700 (LWP 27813)]
[Thread 0x7fff9366e700 (LWP 27813) exited]