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

[Bug]: 解锁 FPS 出现错误讯息 #737

Closed
5 tasks
twjmy opened this issue May 26, 2023 · 6 comments · Fixed by #738
Closed
5 tasks

[Bug]: 解锁 FPS 出现错误讯息 #737

twjmy opened this issue May 26, 2023 · 6 comments · Fixed by #738
Labels
area-UserInterface 用户界面 已完成 This issue is completed

Comments

@twjmy
Copy link

twjmy commented May 26, 2023

检查清单

  • 我并未完整阅读胡桃工具箱文档
  • 我不知道文档站的导航栏中有搜索功能,也没有搜索过相关关键词
  • 我使用的操作系统是不受支持的版本
  • 我没有通过搜索功能确认其他人提出过相同或类似的问题
  • 我不明白上述的勾选项是一个有助于快速排查问题的检查清单,而是随手确认的选项

Windows 版本

23451.1000

Snap Hutao 版本

1.6.3.0

设备 ID

62A02AEA05DD75D32CDB0165D7E2895B

问题分类

用户界面

发生了什么?

  1. crowdin 似乎未提供此處的翻譯
    PlaceholderText="选择账号或直接启动"
  2. 3.7 版本用官方登入器更新後,解鎖 FPS 出現錯誤訊息
    image

你期望发生的行为?

  1. 提供翻譯管道
  2. 正常運行
@dgp-bot
Copy link

dgp-bot bot commented May 26, 2023

device_id: 62A02AEA05DD75D32CDB0165D7E2895B

Exception Data:
----------------------------------------
System.Text.Json.JsonException: The JSON value could not be converted to Snap.Hutao.Model.Intrinsic.GrowCurveType. Path: $[0].Curves.GROW_CURVE_HP_ENVIRONMENT | LineNumber: 13 | BytePositionInLine: 34.
   at System.Text.Json.ThrowHelper.ThrowJsonException(String message)
   at System.Text.Json.Serialization.Converters.EnumConverter`1.ReadAsPropertyNameCore(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)
   at System.Text.Json.Serialization.JsonDictionaryConverter`3.<OnTryRead>g__ReadDictionaryKey|10_0(JsonConverter`1 keyConverter, Utf8JsonReader& reader, ReadStack& state, JsonSerializerOptions options)
   at System.Text.Json.Serialization.JsonDictionaryConverter`3.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, TDictionary& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonCollectionConverter`2.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, TCollection& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ContinueDeserialize[TValue](ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, JsonTypeInfo jsonTypeInfo)
   at System.Text.Json.JsonSerializer.ReadFromStreamAsync[TValue](Stream utf8Json, JsonTypeInfo jsonTypeInfo, CancellationToken cancellationToken)
   at Snap.Hutao.Service.Metadata.MetadataService.FromCacheOrFileAsync[T](String fileName, CancellationToken token) in D:\Develop\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Metadata\MetadataService.cs:line 179
   at Snap.Hutao.Service.Metadata.MetadataService.FromCacheAsDictionaryAsync[TKey,TValue,TData](String fileName, Func`2 keySelector, Func`2 valueSelector, CancellationToken token) in D:\Develop\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Metadata\MetadataService.cs:line 214
   at Snap.Hutao.ViewModel.Wiki.WikiMonsterViewModel.OpenUIAsync() in D:\Develop\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\Wiki\WikiMonsterViewModel.cs:line 58
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Exception Data:
Description:
RestrictedDescription:
RestrictedErrorReference:
RestrictedCapabilitySid:
__RestrictedErrorObjectReference:
__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.ArgumentException: Value does not fall within the expected range.
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr)
   at ABI.Microsoft.UI.Xaml.IFrameworkElementOverridesMethods.MeasureOverride(IObjectReference _obj, Size availableSize)
   at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_MeasureOverride_0(IntPtr thisPtr, Size availableSize, Size* result)
Exception Data:
Description:
RestrictedDescription:
RestrictedErrorReference:
RestrictedCapabilitySid:
__RestrictedErrorObjectReference:
__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.ArgumentException: Value does not fall within the expected range.
   at Snap.Hutao.ViewModel.AvatarProperty.AvatarPropertyViewModel.ExportAsImageAsync(FrameworkElement element) in D:\Develop\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\AvatarProperty\AvatarPropertyViewModel.cs:line 235
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()

@Masterain98
Copy link
Member

FPS 上限解锁问题会在接下来的版本中修复 #733

@twjmy
Copy link
Author

twjmy commented May 26, 2023

FPS 上限解锁问题会在接下来的版本中修复 #733

收到,多谢

Lightczx added a commit that referenced this issue May 27, 2023
@dgp-bot
Copy link

dgp-bot bot commented May 27, 2023

e204b65 已修复此问题

@dgp-bot dgp-bot bot added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release labels May 27, 2023
@dgp-bot
Copy link

dgp-bot bot commented Jun 12, 2023

包含解决该问题的程序版本 1.6.5 已发布,点击查看

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Jun 12, 2023
Copy link

github-actions bot commented Feb 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-UserInterface 用户界面 已完成 This issue is completed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants