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

二维码登录时部分动态导致应用崩溃 #608

Closed
ywmoyue opened this issue Apr 29, 2024 Discussed in #603 · 6 comments
Closed

二维码登录时部分动态导致应用崩溃 #608

ywmoyue opened this issue Apr 29, 2024 Discussed in #603 · 6 comments
Assignees
Labels
bug Something isn't working 已完成
Milestone

Comments

@ywmoyue
Copy link
Owner

ywmoyue commented Apr 29, 2024

Discussed in #603

@ywmoyue ywmoyue added bug Something isn't working 待规划 labels Apr 29, 2024
@ywmoyue ywmoyue self-assigned this Apr 29, 2024
@ywmoyue ywmoyue added this to the 待发布4.6.31 milestone Apr 30, 2024
@ywmoyue
Copy link
Owner Author

ywmoyue commented May 2, 2024

@SuanOrange 麻烦测一下这个版本是否还会崩溃 https://github.com/ywmoyue/biliuwp-lite/releases/tag/v4.6.30.1

@SuanOrange
Copy link

更新版本后,暂时没有出现崩溃

@GD-Slime
Copy link

GD-Slime commented May 3, 2024

@ywmoyue 我这里更新版本后出现崩溃了...

2024-05-03 10:07:56.2117|ERROR|3|DynamicParseExtensions.UserDynamicStringToRichText|用户动态文本转富文本失败|无法找到与此错误代码关联的文本。

wfc: no '<' in attribute value [Line: 5 Position: 256]    at Windows.UI.Xaml.Markup.XamlReader.Load(String xaml)
   at BiliLite.Extensions.DynamicParseExtensions.UserDynamicStringToRichText(String txt, String id, List`1 emote, JObject extend_json, List`1 wordNodes, String title, String bindingCommands)

@GD-Slime
Copy link

GD-Slime commented May 3, 2024

目前发现一个稳定产生故障的地方,还是这位用户:
image
点击按钮后就会卡住并崩溃

2024-05-03 10:18:14.6376|ERROR|3|StringExtensions.ToRichTextBlock|富文本转换失败: 页面还在,你粘贴的时候要去除B站尾缀https://pan.baidu.com/s/1stfbVk0Au9M2OB-ILg5cnA...|无法找到与此错误代码关联的文本。

wfc: no '<' in attribute value [Line: 4 Position: 339]    at Windows.UI.Xaml.Markup.XamlReader.Load(String xaml)
   at BiliLite.Extensions.StringExtensions.ToRichTextBlock(String txt, JObject emote, Boolean isLive, String fontColor, String fontWeight, String lowProfilePrefix)

@ywmoyue
Copy link
Owner Author

ywmoyue commented May 3, 2024

目前发现一个稳定产生故障的地方,还是这位用户: image 点击按钮后就会卡住并崩溃

2024-05-03 10:18:14.6376|ERROR|3|StringExtensions.ToRichTextBlock|富文本转换失败: 页面还在,你粘贴的时候要去除B站尾缀https://pan.baidu.com/s/1stfbVk0Au9M2OB-ILg5cnA...|无法找到与此错误代码关联的文本。

wfc: no '<' in attribute value [Line: 4 Position: 339]    at Windows.UI.Xaml.Markup.XamlReader.Load(String xaml)
   at BiliLite.Extensions.StringExtensions.ToRichTextBlock(String txt, JObject emote, Boolean isLive, String fontColor, String fontWeight, String lowProfilePrefix)

这个是评论区转换富文本崩溃了,和动态调用的不是同一个方法,看来对于链接需要做一样的处理

@ywmoyue
Copy link
Owner Author

ywmoyue commented May 3, 2024

@ywmoyue 我这里更新版本后出现崩溃了...

2024-05-03 10:07:56.2117|ERROR|3|DynamicParseExtensions.UserDynamicStringToRichText|用户动态文本转富文本失败|无法找到与此错误代码关联的文本。

wfc: no '<' in attribute value [Line: 5 Position: 256]    at Windows.UI.Xaml.Markup.XamlReader.Load(String xaml)
   at BiliLite.Extensions.DynamicParseExtensions.UserDynamicStringToRichText(String txt, String id, List`1 emote, JObject extend_json, List`1 wordNodes, String title, String bindingCommands)

这个日志打印得有问题,定位不出哪条动态,转换的xaml文本是怎样的,我改改然后跑个包再试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 已完成
Projects
None yet
Development

No branches or pull requests

3 participants