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

二维码无法显示 #1177

Open
ax11071039 opened this issue Nov 3, 2024 · 10 comments
Open

二维码无法显示 #1177

ax11071039 opened this issue Nov 3, 2024 · 10 comments

Comments

@ax11071039
Copy link

image

@ax11071039
Copy link
Author

DownKyi-1.6.1版本

@fs1314
Copy link

fs1314 commented Nov 3, 2024

我也是,无法显示。
楼主可以先用https://github.com/yaobiao131/downkyicore 这个,三周前修复了。

@etybgm
Copy link

etybgm commented Nov 9, 2024

#1171
DownKyi.Core.dll.zip換了就行,試過1.61 1.60都有出現

@qwerdf4
Copy link

qwerdf4 commented Nov 11, 2024

#1171 DownKyi.Core.dll.zip換了就行,試過1.61 1.60都有出現

换了也不行,二维码还是不出现

@etybgm
Copy link

etybgm commented Nov 13, 2024

1.61 DownKyi.Core.dll.zip都是新抓的,剛試確定有出現

@aiyuGH
Copy link

aiyuGH commented Nov 14, 2024

奇怪了,我今天也出现二维码不出现的问题了

@He40026
Copy link

He40026 commented Nov 18, 2024

+1

@seabrezer
Copy link

+1 二维码不显示了

@xinaovo
Copy link

xinaovo commented Nov 26, 2024

+1也是这个问题
日志如下
`----------------------------------------------------------------------------------------------------------------------
2024/11/26 23:00:11 [10] DEBUG AriaServer 11/26 23:00:11 [�[1;32mNOTICE�[0m] IPv4 RPC: listening on TCP port 6800

2024/11/26 23:00:15 [1] DEBUG NavigateToView NavigationView: PageLogin, Parameter:

2024/11/26 23:00:15 [11] ERROR PageLogin The given payload exceeds the maximum size of the QR code standard. The maximum size allowed for the choosen paramters (ECC level=H, EncodingMode=Byte, FixedVersion=10) is 119 byte.
在 QRCoder.QRCodeGenerator.GenerateQrCode(String plainText, ECCLevel eccLevel, Boolean forceUtf8, Boolean utf8BOM, EciMode eciMode, Int32 requestedVersion)
在 DownKyi.Core.Utils.QRCode.EncodeQRCode(String msg, Int32 version, Int32 pixel, String icon_path, Int32 icon_size, Int32 icon_border, Boolean white_edge)
在 DownKyi.Core.BiliApi.LoginNew.LoginQR.GetLoginQRCode(String url)
在 DownKyi.ViewModels.ViewLoginViewModel.<>c__DisplayClass23_0.b__0()
在 System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
在 System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
在 System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
在 System.Windows.Threading.Dispatcher.Invoke(Action callback)
在 DownKyi.ViewModels.BaseViewModel.PropertyChangeAsync(Action callback)
在 DownKyi.ViewModels.ViewLoginViewModel.Login()

2024/11/26 23:00:25 [9] DEBUG AriaDownloadService.DoWork() 下载服务结束

2024/11/26 23:00:28 [11] DEBUG AriaServer 11/26 23:00:28 [�[1;32mNOTICE�[0m] 3 second(s) has passed. Stopping application.

`

@daishiyuan
Copy link

试一下改QRcode的质量呢,用debug跑一下大概二维码跳出时就会停止在报错位置了
这时改
QRcode.cd中QRCoder.QRCodeGenerator.ECCLevel.H->QRCoder.QRCodeGenerator.ECCLevel.Q
原因是QRcode的大小超过定义的变量大小了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants