tonquer / JMComic-qt

禁漫天堂,18comic,使用qt实现的PC客户端,支持Windows,Linux,MacOS
GNU Lesser General Public License v3.0
2.01k stars 118 forks source link

linux下无法打开窗口 #121

Closed mmmpipi closed 2 weeks ago

mmmpipi commented 2 weeks ago

操作系统(如MacOS 10.15)

Arch Linux with Kde Plasma

网络环境(移动,联通,电信,移动宽带,联通宽带,电信宽带,等等..)

联通宽带

问题描述(简要描述发生的问题)

无法打开窗口,但任务栏图标正常显示,且无法正常退出

复现步骤(详细描述导致问题产生的操作步骤,如果能稳定复现)

下载并运行,且每次都复现

日志提交(问题截图或者日志,日志在logs目录)

我无法找到log文件,所以我将控制台输出放在这里 JMComic 2024-09-18 19:49:20,270 - start.py[line:71] - WARNING: init scene ratio: 2.0 /bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq The Zen of Python, by Tim Peters

Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch. Now is better than never. Although never is often better than right now. If the implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let's do more of those! 2024-09-18 19:49:20,413 - main_widget.py[line:58] - ERROR: No module named 'xcffib' Traceback (most recent call last): File "component/widget/main_widget.py", line 17, in File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module File "component/widget/qframelesswindow/init.py", line 21, in File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module File "component/widget/qframelesswindow/titlebar/init.py", line 8, in File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module File "component/widget/qframelesswindow/utils/init.py", line 9, in File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module File "component/widget/qframelesswindow/utils/linux_utils.py", line 4, in ModuleNotFoundError: No module named 'xcffib' 755 1002 QLayout: Attempting to add QLayout "" to QWidget "LineEditHelp", which already has a layout QLayout: Attempting to add QLayout "" to QWidget "LineEditHelp", which already has a layout qt.qpa.wayland: Failed to load client buffer integration: "wayland-egl" qt.qpa.wayland: Available client buffer integrations: QList() 2024-09-18 19:49:20,630 - download_db.py[line:45] - WARNING: duplicate column name: tick Unable to execute statement 1002 PySide6.QtCore.QSize(1670, 939) PySide6.QtCore.QSize(1251, 856) qt.qpa.wayland: No shell integration named "xdg-shell" found qt.qpa.wayland: No shell integration named "wl-shell" found qt.qpa.wayland: No shell integration named "ivi-shell" found qt.qpa.wayland: Loading shell integration failed. qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell", "wl-shell", "ivi-shell") [0 AMD Radeon RX 6650 XT] queueC=1[4] queueG=0[1] queueT=2[2] [0 AMD Radeon RX 6650 XT] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0 [0 AMD Radeon RX 6650 XT] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1 [0 AMD Radeon RX 6650 XT] subgroup=64 basic=1 vote=1 ballot=1 shuffle=1 2024-09-18 19:49:21,188 - setting_view.py[line:473] - WARNING: waifu2x GPU: ['AMD Radeon RX 6650 XT'],select: AMD Radeon RX 6650 XT,use cpu num: 0 2024-09-18 19:49:21,189 - main_view.py[line:200] - WARNING: Waifu2x init:0, encode:0, version:1.1.6, code:0, cpuNum:0/12, gpuNum:4, gpuList:['AMD Radeon RX 6650 XT'] qt.qpa.backingstore: composeAndFlush: QOpenGLContext creation failed qt.qpa.backingstore: composeAndFlush: makeCurrent() failed 2024-09-18 19:49:21,879 - server.py[line:229] - WARNING: https://18-comicblade.art RequestsError("Failed to perform, ErrCode: 35, Reason: 'BoringSSL SSL_connect: 连接被对方重置 in connection to 18-comicblade.art:443 '. This may be a libcurl error, See https://curl.se/libcurl/c/libcurl-errors.html first for more details.") 2024-09-18 19:49:22,284 - server.py[line:229] - WARNING: https://18-comicblade.art/login RequestsError("Failed to perform, ErrCode: 35, Reason: 'BoringSSL SSL_connect: 连接被对方重置 in connection to 18-comicblade.art:443 '. This may be a libcurl error, See https://curl.se/libcurl/c/libcurl-errors.html first for more details.")

mmmpipi commented 2 weeks ago

解决了,得用sudo