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

下载包含Pam's Harvestcraft模组的整合包出现异常 #641

Closed
warmthdawn opened this issue Jan 4, 2020 · 4 comments
Closed

下载包含Pam's Harvestcraft模组的整合包出现异常 #641

warmthdawn opened this issue Jan 4, 2020 · 4 comments

Comments

@warmthdawn
Copy link

  • 启动器版本:3.2.143
  • 操作系统:Win10
  • Java 版本:1.8
  • 错误截图(最好请将整个电脑屏幕的截图发上来):

Issues2
Issues

  • 游戏版本(如果是启动通过启动器自带的自动安装功能安装的游戏):1.12.2

  • 启动器日志文件(出现问题后点击启动器设置中的【导出启动器日志】按钮):
    hmcl-exported-logs-2020-01-04T11-52-37.log

  • 问题描述(如何触发问题):只要用启动器导入任意一个Curse上面包括潘马斯模组的整合包就完蛋。
    尝试了一下,日志里面的地址手动下载是可以下载成功的

@warmthdawn
Copy link
Author

图片分别是尝试安装ATM3和PO3时出现的异常

@Philogag
Copy link

Philogag commented Jan 9, 2020

我也遇到了同样的问题

  • hmcl 3.2.143
  • java 1.8.0_221
  • Windwos 10 1909
  • 整合包 MC.Eternal
  • 整合包核心 1.12.2 forge 2847
  • 本地环境使用ssr代理,无法手动访问链接目标

报错

 [org.jackhuang.hmcl.task.TaskExecutor.lambda$executeTask$23/FINE] Task failed: 正在升级整合包
org.jackhuang.hmcl.task.DownloadException: Unable to download https://edge.forgecdn.net/files/2771/840/Pam's HarvestCraft 1.12.2zf.jar, Unable to request url https://edge.forgecdn.net/files/2771/840/Pam's HarvestCraft 1.12.2zf.jar, response code: 400
	at org.jackhuang.hmcl.task.FileDownloadTask.execute(FileDownloadTask.java:333)
	at org.jackhuang.hmcl.task.TaskExecutor.lambda$null$13(TaskExecutor.java:168)
	at org.jackhuang.hmcl.task.TaskExecutor.lambda$wrap$24(TaskExecutor.java:260)
	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.jackhuang.hmcl.util.io.ResponseCodeException: Unable to request url https://edge.forgecdn.net/files/2771/840/Pam's HarvestCraft 1.12.2zf.jar, response code: 400
	at org.jackhuang.hmcl.task.FileDownloadTask.execute(FileDownloadTask.java:236)
	... 6 more

另:
潘马斯mod在curseforge手动下载时文件名为 Pam's+HarvestCraft+1.12.2zf.jar

请问能否通过手动将该mod置入mods文件夹以跳过下载该文件
如果有,请问应符合何种重命名规范

@Philogag
Copy link

Philogag commented Jan 9, 2020

疑似该mod文件中含空格导致此问题

我现在使用的临时解决方案:

  1. 找到 .minecraft\versions\Eternal-1.2\manifest.json 中有关Pam's HarvestCraft的配置块,并将其移除
  2. 手动将 Pam's+HarvestCraft+1.12.2zf.jar 置入 mods 文件夹
    PS:
    其实就是把这个mod从整合包列表里删了自己额外再加一遍

@TSStudio
Copy link

TSStudio commented Jan 11, 2020

目前发现是因为包含空格而未进行URL编码造成
处理中
可以尝试下载我的版本:
Jenkins
正在测试中,如果稳定会merge回这个代码

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

Successfully merging a pull request may close this issue.

3 participants