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

查看资源包功能崩溃 #245

Closed
1 task done
FFDVDGD opened this issue Feb 11, 2025 · 3 comments · Fixed by #250
Closed
1 task done

查看资源包功能崩溃 #245

FFDVDGD opened this issue Feb 11, 2025 · 3 comments · Fixed by #250
Labels
👌 完成 处理完毕,将在下次更新后实装
Milestone

Comments

@FFDVDGD
Copy link

FFDVDGD commented Feb 11, 2025

检查项

  • 我已在 Issues 页面 中搜索,确认了这一 Bug 未被提交过。

描述

查看资源包功能崩溃。弹出崩溃窗口
CPU为i3 8100
GPU为RX 580

Image

重现步骤

1、点击版本设置
2、然后点击“资源包”
3、启动器崩溃

日志与附件

Log-CE1.log

@FFDVDGD
Copy link
Author

FFDVDGD commented Feb 11, 2025

在删除\PCL\Cache\resourcepacks后错误解决

@tangge233 tangge233 self-assigned this Feb 11, 2025
@tangge233 tangge233 added the ⭕ 等待处理 已确认,等待下一步处理 label Feb 11, 2025
@wyc-26
Copy link

wyc-26 commented Feb 12, 2025

查看日志,发现:

[22:20:50.555] 清理自动更新文件失败:PCL 的权限不足。请尝试右键 PCL,选择以管理员身份运行。
对路径“C:\Users\crush\OneDrive - crushedgoose808\Minecraft\PCL\Plain Craft Launcher 2.exe”的访问被拒绝。
————————————
详细错误信息:
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.File.InternalDelete(String path, Boolean checkHost)
   在 PCL.FormMain._Lambda$__4-4()
错误类型:System.UnauthorizedAccessException
[22:20:54.951] 程序出现未知错误:对路径“C:\Users\crush\OneDrive - crushedgoose808\Minecraft\.minecraft\versions\1.21-Fabric 0.16.10-vulkan\PCL\Cache\resourcepacks\”的访问被拒绝。
   在 System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
   在 System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
   在 PCL.PageVersionResourcePack.LoadFileList()
   在 PCL.PageVersionResourcePack.Reload()
   在 PCL.PageVersionResourcePack.PageSetupLaunch_Loaded(Object sender, RoutedEventArgs e)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   在 System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   在 MS.Internal.LoadedOrUnloadedOperation.DoWork()
   在 System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
错误类型:System.IO.IOException

PCL 两次提醒权限不足(无法访问),应该不是 PCL 本身的问题,请检查自己文件夹的权限是否设置错误……

@wyc-26 wyc-26 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2025
@wyc-26 wyc-26 added ❌ 忽略 因各种杂项原因而关闭 and removed ⭕ 等待处理 已确认,等待下一步处理 labels Feb 12, 2025
@tangge233
Copy link
Member

别关啊,这个地方没加错误拦截就很离谱,让我修下 Orz

@tangge233 tangge233 reopened this Feb 12, 2025
@wyc-26 wyc-26 added 🚧 正在处理 开发者正在调查或处理该内容 and removed ❌ 忽略 因各种杂项原因而关闭 labels Feb 12, 2025
@wyc-26 wyc-26 added 👌 完成 处理完毕,将在下次更新后实装 and removed 🚧 正在处理 开发者正在调查或处理该内容 labels Feb 12, 2025
@wyc-26 wyc-26 added this to the 2.10.3 milestone Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👌 完成 处理完毕,将在下次更新后实装
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants