manateelazycat / popweb

Show popup web window for Emacs
146 stars 17 forks source link

无法显示翻译页面 #58

Closed bbenchen closed 11 months ago

bbenchen commented 11 months ago

相关错误信息

''' /Users/xianbin/.emacs.d/.local/straight/build-29.1.90/popweb/popweb.py:49: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead super(PostGui, self).init() /Users/xianbin/.emacs.d/.local/straight/build-29.1.90/popweb/popweb.py:361: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead super().init() /Users/xianbin/.emacs.d/.local/straight/build-29.1.90/popweb/popweb.py:333: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead super(QWebEngineView, self).init() /Users/xianbin/.emacs.d/.local/straight/build-29.1.90/popweb/popweb.py:338: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead QWebEnginePage.init(self) File not found: nil '''

其中提示文件未找到这个错误应该是引起无法显示页面的主要原因,

bbenchen commented 11 months ago

主要是popweb-dict.py文件中的read_js_content方法无法读取js_file

因我不了解read_js_content这个方法是做什么,暂时没有办法修改 ,麻烦 大神(@manateelazycat )帮忙修复一下。谢谢

bbenchen commented 11 months ago
image
bbenchen commented 11 months ago

不好意思,我再次检查后,应该是网络问题造成的,我把这个问题关闭了。。