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

[Exception] 解压模型完成后立即抛出异常 #26

Closed
ZhangXiChang opened this issue May 2, 2023 · 4 comments
Closed

[Exception] 解压模型完成后立即抛出异常 #26

ZhangXiChang opened this issue May 2, 2023 · 4 comments
Labels
Bug Something isn't working

Comments

@ZhangXiChang
Copy link

ZhangXiChang commented May 2, 2023

版本2.0.0,异常提示:

[Exception] AccessDeniedException
[Message] temp\models_unzipped\Ark-Models-main\models -> models

[StackTrace]
Caused by java.nio.file.AccessDeniedException: temp\models_unzipped\Ark-Models-main\models -> models
  at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
  at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
  at java.base/sun.nio.fs.WindowsFileCopy.move(Unknown Source)
  at java.base/sun.nio.fs.WindowsFileSystemProvider.move(Unknown Source)
  at java.base/java.nio.file.Files.move(Unknown Source)
  at cn.harryh.arkpets.controllers.Homepage$6$1.preVisitDirectory(Homepage.java:1008)
  at cn.harryh.arkpets.controllers.Homepage$6$1.preVisitDirectory(Homepage.java:993)
  at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
  at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
  at cn.harryh.arkpets.controllers.Homepage$6.call(Homepage.java:993)
  at cn.harryh.arkpets.controllers.Homepage$6.call(Homepage.java:983)
  at javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
  at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)
@ZhangXiChang
Copy link
Author

有没有手动下载模型的方式?

@isHarryh isHarryh changed the title 点击全部下载解压的时候抛出异常 [Exception] 解压模型完成后立即抛出异常 May 2, 2023
@isHarryh isHarryh added the Bug Something isn't working label May 2, 2023
@isHarryh
Copy link
Owner

isHarryh commented May 2, 2023

遇到的问题是:在模型解压后从临时文件夹移动解压后的文件到程序目录时拒绝访问。
可能是偶发性故障,常见原因如:文件系统问题;防病毒软件或其他程序占用;解压文件损坏等。
建议:重新尝试。若问题仍然存在,请发送完整日志文件。

@isHarryh
Copy link
Owner

isHarryh commented May 2, 2023

有没有手动下载模型的方式?

可以前往 https://github.com/isHarryh/Ark-Models 中下载该仓库的压缩包,解压其中的 文件夹和models_data.json 到程序目录。然后在启动器中点击“重载”

@isHarryh
Copy link
Owner

isHarryh commented May 4, 2023

调查表明,使用部分反病毒软件(例如卡巴斯基)时,此类软件会频繁扫描文件,导致文件占用或拒绝访问。关闭反病毒软件,然后重试即可。

@isHarryh isHarryh closed this as completed May 4, 2023
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

2 participants