你的错跟我好像不是一个。你没有 trap 这个报错
嘶——我的好像还是不行
(setq eaf-enable-debug t) 然后 eaf-stop-process
,重新打开EAF再粘贴一下 *eaf*
的报错。
刚刚推送了补丁,改造了 ./install-eaf.py 的逻辑, Arch 从操作系统仓库中安装 PyQt6, 其他Linux发行版从 PIP 中安装 PyQt6 并软链接 libQt6WebEngineCore.so.6 (其他Linux发行版也有潜在崩溃的风险)。
欢迎非Arch的发行版用户反馈你操作系统系统仓库的 PyQt6 包, 如果操作系统本身目前还没有PyQt6 (比如Ubuntu),要不尝试PIP版本的PyQt6, 要不就只能等一下系统升级了。
我这儿还是不行,太奇怪了,我先暂时放弃回退了
附上最新的 emacs -Q 的log
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffd7960640 (LWP 2060267)]
[New Thread 0x7fffd6faa640 (LWP 2060268)]
[New Thread 0x7fffcffff640 (LWP 2060270)]
[New Thread 0x7fffcf66f640 (LWP 2060271)]
[New Thread 0x7fffcecdf640 (LWP 2060272)]
[New Thread 0x7fffce34f640 (LWP 2060273)]
[New Thread 0x7fffcd9bf640 (LWP 2060274)]
[New Thread 0x7fffcd02f640 (LWP 2060275)]
[New Thread 0x7fffc16e9640 (LWP 2060276)]
[New Thread 0x7fffc0d59640 (LWP 2060277)]
[New Thread 0x7fffa3fff640 (LWP 2060278)]
[New Thread 0x7fffa366f640 (LWP 2060279)]
[New Thread 0x7fffa2cdf640 (LWP 2060280)]
[New Thread 0x7fffa234f640 (LWP 2060281)]
[New Thread 0x7fffa19bf640 (LWP 2060282)]
[New Thread 0x7fffa102f640 (LWP 2060283)]
[New Thread 0x7fff87fff640 (LWP 2060284)]
[New Thread 0x7fff8766f640 (LWP 2060285)]
[New Thread 0x7fff86cdf640 (LWP 2060286)]
[New Thread 0x7fff8634f640 (LWP 2060287)]
[New Thread 0x7fff859bf640 (LWP 2060288)]
[New Thread 0x7fff8502f640 (LWP 2060289)]
[New Thread 0x7fff6bfff640 (LWP 2060290)]
[New Thread 0x7fff6b66f640 (LWP 2060291)]
[New Thread 0x7fff6acdf640 (LWP 2060292)]
[Thread 0x7fff6acdf640 (LWP 2060292) exited]
[New Thread 0x7fff6acdf640 (LWP 2060293)]
[New Thread 0x7fff6a34f640 (LWP 2060294)]
[New Thread 0x7fff699bf640 (LWP 2060295)]
[Thread 0x7fff699bf640 (LWP 2060295) exited]
[New Thread 0x7fff699bf640 (LWP 2060296)]
[Thread 0x7fff699bf640 (LWP 2060296) exited]
[New Thread 0x7fff699bf640 (LWP 2060302)]
[Thread 0x7fff699bf640 (LWP 2060302) exited]
[New Thread 0x7fff699bf640 (LWP 2060303)]
[Thread 0x7fff699bf640 (LWP 2060303) exited]
[New Thread 0x7fff699bf640 (LWP 2060304)]
[Thread 0x7fff699bf640 (LWP 2060304) exited]
[New Thread 0x7fff699bf640 (LWP 2060305)]
[Thread 0x7fff699bf640 (LWP 2060305) exited]
[New Thread 0x7fff699bf640 (LWP 2060306)]
[Thread 0x7fff699bf640 (LWP 2060306) 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 0x7fff699bf640 (LWP 2060307)]
[Thread 0x7fff699bf640 (LWP 2060307) exited]
[New Thread 0x7fff699bf640 (LWP 2060308)]
[Detaching after fork from child process 2060309]
[Detaching after fork from child process 2060310]
[Detaching after fork from child process 2060311]
[New Thread 0x7fff6902f640 (LWP 2060314)]
[New Thread 0x7fff4ffff640 (LWP 2060315)]
[New Thread 0x7fff4f66f640 (LWP 2060316)]
[New Thread 0x7fff4ecdf640 (LWP 2060317)]
[New Thread 0x7fff4e34f640 (LWP 2060318)]
[New Thread 0x7fff4d9bf640 (LWP 2060319)]
[New Thread 0x7fff4d02f640 (LWP 2060320)]
[New Thread 0x7fff33fff640 (LWP 2060321)]
[New Thread 0x7fff3366f640 (LWP 2060322)]
[New Thread 0x7fff32cdf640 (LWP 2060323)]
[New Thread 0x7fff3234f640 (LWP 2060324)]
[New Thread 0x7fff319bf640 (LWP 2060325)]
[New Thread 0x7fff3102f640 (LWP 2060326)]
[New Thread 0x7fff1bfff640 (LWP 2060327)]
[New Thread 0x7fff1b66f640 (LWP 2060328)]
[Thread 0x7fff1b66f640 (LWP 2060328) exited]
[New Thread 0x7fff1b66f640 (LWP 2060329)]
[Thread 0x7fff1b66f640 (LWP 2060329) exited]
[New Thread 0x7fff1b66f640 (LWP 2060330)]
[New Thread 0x7fff1acdf640 (LWP 2060331)]
[New Thread 0x7fff1a34f640 (LWP 2060332)]
[Thread 0x7fff1a34f640 (LWP 2060332) exited]
[New Thread 0x7fff1a34f640 (LWP 2060333)]
[Thread 0x7fff1a34f640 (LWP 2060333) exited]
[New Thread 0x7fff1a34f640 (LWP 2060334)]
[Thread 0x7fff1a34f640 (LWP 2060334) exited]
[New Thread 0x7fff1a34f640 (LWP 2060335)]
[Thread 0x7fff1a34f640 (LWP 2060335) exited]
[New Thread 0x7fff1a34f640 (LWP 2060336)]
[New Thread 0x7fff199bf640 (LWP 2060337)]
[New Thread 0x7fff1902f640 (LWP 2060338)]
[New Thread 0x7ffefbfff640 (LWP 2060340)]
[Thread 0x7ffefbfff640 (LWP 2060340) exited]
[New Thread 0x7ffefbfff640 (LWP 2060353)]
[Thread 0x7ffefbfff640 (LWP 2060353) exited]
[New Thread 0x7ffefbfff640 (LWP 2060354)]
[Thread 0x7ffefbfff640 (LWP 2060354) exited]
[New Thread 0x7ffefbfff640 (LWP 2060355)]
[Thread 0x7ffefbfff640 (LWP 2060355) exited]
[New Thread 0x7ffefbfff640 (LWP 2060356)]
[Thread 0x7ffefbfff640 (LWP 2060356) exited]
[New Thread 0x7ffefbfff640 (LWP 2060357)]
[Thread 0x7ffefbfff640 (LWP 2060357) exited]
[New Thread 0x7ffefbfff640 (LWP 2060358)]
[Thread 0x7ffefbfff640 (LWP 2060358) exited]
[New Thread 0x7ffefbfff640 (LWP 2060359)]
[New Thread 0x7ffefb66f640 (LWP 2060360)]
[Thread 0x7ffefb66f640 (LWP 2060360) exited]
[New Thread 0x7ffefb66f640 (LWP 2060361)]
[Thread 0x7ffefb66f640 (LWP 2060361) exited]
[New Thread 0x7ffefb66f640 (LWP 2060362)]
[Thread 0x7ffefb66f640 (LWP 2060362) exited]
[New Thread 0x7ffefb66f640 (LWP 2060363)]
[New Thread 0x7ffefacdf640 (LWP 2060364)]
[New Thread 0x7ffefa34f640 (LWP 2060365)]
[New Thread 0x7ffef99bf640 (LWP 2060366)]
Fontconfig error: Cannot load default config file: No such file: (null)
[New Thread 0x7ffef902f640 (LWP 2060367)]
[Thread 0x7ffef902f640 (LWP 2060367) exited]
[New Thread 0x7ffef902f640 (LWP 2060368)]
[Thread 0x7ffef902f640 (LWP 2060368) exited]
crbug/1173575, non-JS module files deprecated.
[EAF] Browser http://baidu.com/ loading time: 0.13427138328552246s
[New Thread 0x7ffef902f640 (LWP 2060371)]
[Thread 0x7ffef902f640 (LWP 2060371) exited]
[New Thread 0x7ffef902f640 (LWP 2060372)]
[Thread 0x7ffef902f640 (LWP 2060372) exited]
[New Thread 0x7ffef902f640 (LWP 2060373)]
[Thread 0x7ffef902f640 (LWP 2060373) exited]
crbug/1173575, non-JS module files deprecated.
[EAF] Browser http://baidu.com/ loading time: 0.0540621280670166s
[New Thread 0x7ffef902f640 (LWP 2060374)]
[Thread 0x7ffef902f640 (LWP 2060374) exited]
[New Thread 0x7ffef902f640 (LWP 2060387)]
[Thread 0x7ffef902f640 (LWP 2060387) exited]
[New Thread 0x7ffef902f640 (LWP 2060388)]
[Thread 0x7ffef902f640 (LWP 2060388) exited]
[New Thread 0x7ffef902f640 (LWP 2060389)]
[Thread 0x7ffef902f640 (LWP 2060389) exited]
[New Thread 0x7ffef902f640 (LWP 2060390)]
[Thread 0x7ffef902f640 (LWP 2060390) exited]
[New Thread 0x7ffef902f640 (LWP 2060391)]
[Thread 0x7ffef902f640 (LWP 2060391) exited]
[New Thread 0x7ffef902f640 (LWP 2060392)]
[Thread 0x7ffef902f640 (LWP 2060392) exited]
[New Thread 0x7ffef902f640 (LWP 2060393)]
[Thread 0x7ffef902f640 (LWP 2060393) exited]
[New Thread 0x7ffef902f640 (LWP 2060394)]
[Thread 0x7ffef902f640 (LWP 2060394) exited]
[New Thread 0x7ffef902f640 (LWP 2060395)]
[Thread 0x7ffef902f640 (LWP 2060395) exited]
[New Thread 0x7ffef902f640 (LWP 2060396)]
[Thread 0x7ffef902f640 (LWP 2060396) exited]
[New Thread 0x7ffef902f640 (LWP 2060398)]
[Thread 0x7ffef902f640 (LWP 2060398) exited]
[EAF] Browser https://www.baidu.com/ loading time: 0.7049312591552734s
[New Thread 0x7ffef902f640 (LWP 2060399)]
[Thread 0x7ffef902f640 (LWP 2060399) exited]
[New Thread 0x7ffef902f640 (LWP 2060477)]
[Thread 0x7ffef902f640 (LWP 2060477) exited]
[New Thread 0x7ffef902f640 (LWP 2060562)]
[Thread 0x7ffef902f640 (LWP 2060562) exited]
[New Thread 0x7ffef902f640 (LWP 2060639)]
[Thread 0x7ffef902f640 (LWP 2060639) exited]
[New Thread 0x7ffef902f640 (LWP 2060640)]
[Thread 0x7ffef902f640 (LWP 2060640) exited]
[New Thread 0x7ffef902f640 (LWP 2060641)]
[Thread 0x7ffef902f640 (LWP 2060641) exited]
[New Thread 0x7ffef902f640 (LWP 2060642)]
[Thread 0x7ffef902f640 (LWP 2060642) exited]
[New Thread 0x7ffef902f640 (LWP 2060643)]
[Thread 0x7ffef902f640 (LWP 2060643) exited]
[New Thread 0x7ffef902f640 (LWP 2060644)]
[Thread 0x7ffef902f640 (LWP 2060644) exited]
[New Thread 0x7ffef902f640 (LWP 2060647)]
[Thread 0x7ffef902f640 (LWP 2060647) exited]
[New Thread 0x7ffef902f640 (LWP 2060649)]
[Thread 0x7ffef902f640 (LWP 2060649) exited]
Thread 1 "python3" received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffeea3ed01 in ?? () from /usr/lib/libQt6WebEngineCore.so.6
#0 0x00007fffeea3ed01 in () at /usr/lib/libQt6WebEngineCore.so.6
#1 0x0000555555ebbfb8 in ()
#2 0x00000000000000f0 in ()
#3 0x00007fffffffc3c0 in ()
#4 0x00007ffefc095dc8 in ()
#5 0x00007fffffffc2c0 in ()
#6 0x00007fffee8b48c2 in () at /usr/lib/libQt6WebEngineCore.so.6
#7 0x00007fffffffc270 in ()
#8 0x00007fffffffc310 in ()
#9 0x00000000000000e0 in ()
#10 0x1b5f7196f53c7200 in ()
#11 0x0000555555fe5970 in ()
#12 0xffffffffffffff80 in ()
#13 0x0000000000000000 in ()
Process *eaf* finished
sudo pip3 uninstall pyqt6 pyqt6-sip PyQt6-WebEngine
sudo rm -rf /usr/lib/python3.10/site-packages/PyQt6*
sudo rm -rf /usr/lib/python3.10/site-packages/PyQt5*
sudo pacman -S python-pyqt6 python-pyqt6-sip python-pyqt6-webengine
注意中间两个步骤,把这些来回安装干扰的 PyQt5和PyQt6 目录都删除掉,最后一步 pacman 安装两遍,通过 pacman 来刷新这些 PyQt5 和 PyQt6 目录的内容,应该就可以解决这些问题。
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffd980c640 (LWP 2158)]
[New Thread 0x7fffd8a88640 (LWP 2190)]
[New Thread 0x7fffcbc5e640 (LWP 2191)]
[New Thread 0x7fffcb2ce640 (LWP 2192)]
[New Thread 0x7fffca93e640 (LWP 2193)]
[New Thread 0x7fffc9fae640 (LWP 2194)]
[New Thread 0x7fffc961e640 (LWP 2195)]
[New Thread 0x7fffc8c8e640 (LWP 2196)]
[New Thread 0x7fffabfff640 (LWP 2197)]
[New Thread 0x7fffab66f640 (LWP 2198)]
[New Thread 0x7fffaacdf640 (LWP 2199)]
[New Thread 0x7fffaa34f640 (LWP 2200)]
[New Thread 0x7fffa99bf640 (LWP 2207)]
[New Thread 0x7fffa902f640 (LWP 2208)]
[New Thread 0x7fff93fff640 (LWP 2209)]
[Thread 0x7fff93fff640 (LWP 2209) exited]
[New Thread 0x7fff93fff640 (LWP 2210)]
[New Thread 0x7fff9366f640 (LWP 2218)]
[New Thread 0x7fff92cdf640 (LWP 2219)]
[Thread 0x7fff92cdf640 (LWP 2219) exited]
[New Thread 0x7fff92cdf640 (LWP 2220)]
[Thread 0x7fff92cdf640 (LWP 2220) exited]
[New Thread 0x7fff92cdf640 (LWP 2221)]
[New Thread 0x7fff9234f640 (LWP 2382)]
[Thread 0x7fff9234f640 (LWP 2382) exited]
Traceback (most recent call last):
File "/home/was/.emacs.d/site-packages/emacs-application-framework/core/utils.py", line 50, in on_signal_received
self._func(obj, *args, **kwargs)
File "/home/was/.emacs.d/site-packages/emacs-application-framework/eaf.py", line 153, in new_buffer
self.create_buffer(buffer_id, url, module_path, arguments)
File "/home/was/.emacs.d/site-packages/emacs-application-framework/eaf.py", line 168, in create_buffer
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/was/.emacs.d/site-packages/emacs-application-framework/app/browser/buffer.py", line 22, in <module>
from PyQt6.QtCore import QUrl, pyqtSlot
ModuleNotFoundError: No module named 'PyQt6.QtCore'
[New Thread 0x7fff9234f640 (LWP 2384)]
[Thread 0x7fff9234f640 (LWP 2384) exited]
Traceback (most recent call last):
File "/home/was/.emacs.d/site-packages/emacs-application-framework/core/utils.py", line 50, in on_signal_received
self._func(obj, *args, **kwargs)
File "/home/was/.emacs.d/site-packages/emacs-application-framework/eaf.py", line 237, in update_views
view = View(self.buffer_dict[buffer_id], view_info)
KeyError: '139d-2f49-f60e-d9fc-95ab-2a8c-bec7'
[New Thread 0x7fff9234f640 (LWP 2385)]
Traceback (most recent call last):
[Thread 0x7fff9234f640 (LWP 2385) exited]
File "/home/was/.emacs.d/site-packages/emacs-application-framework/core/utils.py", line 50, in on_signal_received
self._func(obj, *args, **kwargs)
File "/home/was/.emacs.d/site-packages/emacs-application-framework/eaf.py", line 237, in update_views
view = View(self.buffer_dict[buffer_id], view_info)
KeyError: '139d-2f49-f60e-d9fc-95ab-2a8c-bec7'
[New Thread 0x7fff9234f640 (LWP 2450)]
Traceback (most recent call last):
[Thread 0x7fff9234f640 (LWP 2450) exited]
File "/home/was/.emacs.d/site-packages/emacs-application-framework/core/utils.py", line 50, in on_signal_received
self._func(obj, *args, **kwargs)
File "/home/was/.emacs.d/site-packages/emacs-application-framework/eaf.py", line 237, in update_views
view = View(self.buffer_dict[buffer_id], view_info)
KeyError: '139d-2f49-f60e-d9fc-95ab-2a8c-bec7'
[New Thread 0x7fff9234f640 (LWP 2568)]
[Thread 0x7fff9234f640 (LWP 2568) exited]
[New Thread 0x7fff9234f640 (LWP 2569)]
[Thread 0x7fff9234f640 (LWP 2569) exited]
[New Thread 0x7fff9234f640 (LWP 2628)]
[Thread 0x7fff9234f640 (LWP 2628) exited]
[New Thread 0x7fff9234f640 (LWP 2706)]
[Thread 0x7fff9234f640 (LWP 2706) exited]
你PyQt6没有安装,日志很明显。
不好意思,刚才测试时把PyQt6卸了
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffd980c640 (LWP 14591)]
[New Thread 0x7fffd8a88640 (LWP 14592)]
[New Thread 0x7fffcbc5e640 (LWP 14593)]
[New Thread 0x7fffcb2ce640 (LWP 14594)]
[New Thread 0x7fffca93e640 (LWP 14595)]
[New Thread 0x7fffc9fae640 (LWP 14596)]
[New Thread 0x7fffc961e640 (LWP 14597)]
[New Thread 0x7fffc8c8e640 (LWP 14598)]
[New Thread 0x7fffabfff640 (LWP 14599)]
[New Thread 0x7fffa3fff640 (LWP 14600)]
[New Thread 0x7fffab66f640 (LWP 14601)]
[New Thread 0x7fffaacdf640 (LWP 14602)]
[New Thread 0x7fffaa34f640 (LWP 14603)]
[New Thread 0x7fffa99bf640 (LWP 14604)]
[New Thread 0x7fffa902f640 (LWP 14605)]
[Thread 0x7fffa902f640 (LWP 14605) exited]
[New Thread 0x7fffa902f640 (LWP 14606)]
[New Thread 0x7fffa366f640 (LWP 14607)]
[New Thread 0x7fffa2cdf640 (LWP 14608)]
[New Thread 0x7fffa234f640 (LWP 14609)]
[Thread 0x7fffa2cdf640 (LWP 14608) exited]
[Thread 0x7fffa234f640 (LWP 14609) exited]
[New Thread 0x7fffa234f640 (LWP 14610)]
[New Thread 0x7fffa2cdf640 (LWP 14611)]
[Thread 0x7fffa234f640 (LWP 14610) exited]
[Thread 0x7fffa2cdf640 (LWP 14611) exited]
[New Thread 0x7fffa2cdf640 (LWP 14612)]
[New Thread 0x7fffa234f640 (LWP 14613)]
[Thread 0x7fffa234f640 (LWP 14613) exited]
Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x00007fffdae12ed0 in ?? () from /usr/lib/python3.10/site-packages/PyQt5/QtCore.abi3.so
#0 0x00007fffdae12ed0 in () at /usr/lib/python3.10/site-packages/PyQt5/QtCore.abi3.so
#1 0x00007fffdae0b18d in () at /usr/lib/python3.10/site-packages/PyQt5/QtCore.abi3.so
#2 0x00007ffff6ae3cc1 in () at /usr/lib/python3.10/site-packages/PyQt5/sip.cpython-310-x86_64-linux-gnu.so
#3 0x00007ffff7d0cdab in _PyObject_MakeTpCall () at /usr/lib/libpython3.10.so.1.0
#4 0x00007ffff7d0acbb in () at /usr/lib/libpython3.10.so.1.0
#5 0x00007ffff7d0aa8f in () at /usr/lib/libpython3.10.so.1.0
#6 0x00007ffff7d02b43 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.10.so.1.0
#7 0x00007ffff7d01752 in () at /usr/lib/libpython3.10.so.1.0
#8 0x00007ffff7db8f64 in PyEval_EvalCode () at /usr/lib/libpython3.10.so.1.0
#9 0x00007ffff7dbf611 in () at /usr/lib/libpython3.10.so.1.0
#10 0x00007ffff7d13ad0 in () at /usr/lib/libpython3.10.so.1.0
#11 0x00007ffff7d087b2 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.10.so.1.0
#12 0x00007ffff7d138cc in _PyFunction_Vectorcall () at /usr/lib/libpython3.10.so.1.0
#13 0x00007ffff7d0795b in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.10.so.1.0
#14 0x00007ffff7d138cc in _PyFunction_Vectorcall () at /usr/lib/libpython3.10.so.1.0
#15 0x00007ffff7d02efb in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.10.so.1.0
#16 0x00007ffff7d138cc in _PyFunction_Vectorcall () at /usr/lib/libpython3.10.so.1.0
#17 0x00007ffff7d02efb in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.10.so.1.0
#18 0x00007ffff7d138cc in _PyFunction_Vectorcall () at /usr/lib/libpython3.10.so.1.0
#19 0x00007ffff7d057e8 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.10.so.1.0
#20 0x00007ffff7d01752 in () at /usr/lib/libpython3.10.so.1.0
#21 0x00007ffff7d1ef35 in () at /usr/lib/libpython3.10.so.1.0
#22 0x00007fffdae0dd31 in () at /usr/lib/python3.10/site-packages/PyQt5/QtCore.abi3.so
#23 0x00007fffdae0e320 in () at /usr/lib/python3.10/site-packages/PyQt5/QtCore.abi3.so
#24 0x00007ffff5ade7d6 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#25 0x00007ffff65301c6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007fffda50f507 in () at /usr/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so
#27 0x00007ffff5aba5aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#28 0x00007ffff5abb0a9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#29 0x00007ffff5b02678 in () at /usr/lib/libQt5Core.so.5
#30 0x00007fffec3a7163 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#31 0x00007fffec3fd9e9 in () at /usr/lib/libglib-2.0.so.0
#32 0x00007fffec3a46c5 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#33 0x00007ffff5b0657a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#34 0x00007ffff5ab288b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#35 0x00007ffff5abdfd7 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#36 0x00007fffda511d80 in () at /usr/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so
#37 0x00007ffff7d13488 in () at /usr/lib/libpython3.10.so.1.0
#38 0x00007ffff7d0cddb in _PyObject_MakeTpCall () at /usr/lib/libpython3.10.so.1.0
#39 0x00007ffff7d081c5 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.10.so.1.0
#40 0x00007ffff7d01752 in () at /usr/lib/libpython3.10.so.1.0
#41 0x00007ffff7db8f64 in PyEval_EvalCode () at /usr/lib/libpython3.10.so.1.0
#42 0x00007ffff7dc8df4 in () at /usr/lib/libpython3.10.so.1.0
#43 0x00007ffff7dc47bb in () at /usr/lib/libpython3.10.so.1.0
#44 0x00007ffff7c60c13 in () at /usr/lib/libpython3.10.so.1.0
#45 0x00007ffff7c60893 in _PyRun_SimpleFileObject () at /usr/lib/libpython3.10.so.1.0
#46 0x00007ffff7c61228 in _PyRun_AnyFileObject () at /usr/lib/libpython3.10.so.1.0
#47 0x00007ffff7dd56ab in Py_RunMain () at /usr/lib/libpython3.10.so.1.0
#48 0x00007ffff7da998d in Py_BytesMain () at /usr/lib/libpython3.10.so.1.0
#49 0x00007ffff79e6310 in __libc_start_call_main () at /usr/lib/libc.so.6
#50 0x00007ffff79e63c1 in __libc_start_main_impl () at /usr/lib/libc.so.6
#51 0x0000555555555045 in _start ()
Process *eaf* finished
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffd980c640 (LWP 14701)]
[New Thread 0x7fffd8a88640 (LWP 14702)]
[New Thread 0x7fffcbc5e640 (LWP 14703)]
[New Thread 0x7fffcb2ce640 (LWP 14704)]
[New Thread 0x7fffca93e640 (LWP 14705)]
[New Thread 0x7fffc9fae640 (LWP 14706)]
[New Thread 0x7fffc961e640 (LWP 14707)]
[New Thread 0x7fffc8c8e640 (LWP 14708)]
[New Thread 0x7fffb3fff640 (LWP 14709)]
[New Thread 0x7fffb366f640 (LWP 14710)]
[New Thread 0x7fffb2cdf640 (LWP 14711)]
[New Thread 0x7fffb234f640 (LWP 14712)]
[New Thread 0x7fffb19bf640 (LWP 14713)]
[New Thread 0x7fffb102f640 (LWP 14714)]
[New Thread 0x7fff8ffff640 (LWP 14715)]
[Thread 0x7fff8ffff640 (LWP 14715) exited]
[New Thread 0x7fff8ffff640 (LWP 14716)]
[New Thread 0x7fff8f66f640 (LWP 14717)]
[New Thread 0x7fff8ecdf640 (LWP 14718)]
[Thread 0x7fff8ecdf640 (LWP 14718) exited]
[New Thread 0x7fff8ecdf640 (LWP 14719)]
[Thread 0x7fff8ecdf640 (LWP 14719) exited]
[New Thread 0x7fff8ecdf640 (LWP 14720)]
[New Thread 0x7fff8e34f640 (LWP 14721)]
[Thread 0x7fff8e34f640 (LWP 14721) exited]
Traceback (most recent call last):
File "/home/was/.emacs.d/site-packages/emacs-application-framework/core/utils.py", line 50, in on_signal_received
self._func(obj, *args, **kwargs)
File "/home/was/.emacs.d/site-packages/emacs-application-framework/eaf.py", line 237, in update_views
view = View(self.buffer_dict[buffer_id], view_info)
KeyError: '1f1f-0a65-f4e5-6be3-8120-2524-b917'
[New Thread 0x7fff8e34f640 (LWP 14838)]
[Thread 0x7fff8e34f640 (LWP 14838) exited]
[New Thread 0x7fff8e34f640 (LWP 14839)]
[Thread 0x7fff8e34f640 (LWP 14839) exited]
[New Thread 0x7fff8e34f640 (LWP 15661)]
[Thread 0x7fff8e34f640 (LWP 15661) exited]
[New Thread 0x7fff8e34f640 (LWP 15662)]
[Thread 0x7fff8e34f640 (LWP 15662) exited]
你应该是 PyQt5 和 PyQt6 混合导致的,看我楼上写的 从今天开始,Emacs里面可以运行任何你想要的程序 (Linux & Windows & Mac & BSD) - #2325,来自 manateelazycat 来操作一下。
ModuleNotFoundError: No module named 'PyQt5'
EAF现在已经只用PyQt6了,不用PyQt5, 请看 从今天开始,Emacs里面可以运行任何你想要的程序 (Linux & Windows & Mac & BSD) - #2325,来自 manateelazycat 这个帖子的内容,请注意看操作一遍,你说的问题都可以通过这个链接来解决。
不好意思,原来刚才的PyQt5是我的EAF更新出了问题,重装一遍就行了【捂脸】
谢谢
考虑到在个别系统上安装Qt6还不方便,我建了qt5-legacy
分支,所有暂时无法更新Qt6的朋友们请转用这个分支,然后重新运行install-eaf.py
。我会尽量让qt5-legacy
分支的EAF保持正常运行的状态,但说不准未来哪天就坏掉了。所以希望大家能更新Qt6的时候尽快更新,享用master分支最新的功能!
我又试了几次,qt5删得挺干净的,还是崩。不知道我这儿出什么问题了
实在不行,你更新EAF后,切换到 qt5-legacy 分支暂时使用 Qt5 分支吧。
等以后再折腾。
我这里也又有问题了
按下 backspace 就崩溃
你先用qt5分支吧,我感觉你们环境被污染了
发到 Github issue 上讨论吧,Bug就不占用论坛的资源了。