Giter Club home page Giter Club logo

Comments (18)

Uright-Xuqing233 avatar Uright-Xuqing233 commented on August 19, 2024 4

好吧我收回那句话,hmcl也有问题

from pcl2.

Uright-Xuqing233 avatar Uright-Xuqing233 commented on August 19, 2024 2

好吧,经过我的测试,是因为我使用了ImDisk然后更改了Temp环境变量,并将temp重定向到了randisk上,具体报错原因不清,如果有兴趣兼容那更好,不过我会先关闭这个issues

from pcl2.

zkitefly avatar zkitefly commented on August 19, 2024 1
Failed to run processor: java.nio.file.FileSystemException:C:\ProgramData\Temp\PCL\Install\1974939696\versions\1.21.1\1.21.1.jar: 函数不正确。

Usually this path should be %Temp%, not %ProgramData%\Temp.
通常这个路径应该是 %Temp%,而不是 %ProgramData%\Temp

Have you modified your system’s environment variables?
您是否修改过系统的环境变量?

https://github.com/Hex-Dragon/PCL2/blob/main/Plain%20Craft%20Launcher%202%2FPages%2FPageDownload%2FModDownloadLib.vb#L1998-L1998

这个不是环境变量的问题,是 pcl 的逻辑

from pcl2.

Pigeon0v0 avatar Pigeon0v0 commented on August 19, 2024 1

@3gf8jv4dv

When %temp% is unavailable due to some reasons like authority, PCL will turn to use %programdata%\Temp.

from pcl2.

JingHai-Lingyun avatar JingHai-Lingyun commented on August 19, 2024 1

呃?

from pcl2.

JingHai-Lingyun avatar JingHai-Lingyun commented on August 19, 2024

附带一个那边的帖子?

from pcl2.

wuyuncheng-26 avatar wuyuncheng-26 commented on August 19, 2024

发个 HMCL 那边的 issue 看看

from pcl2.

Uright-Xuqing233 avatar Uright-Xuqing233 commented on August 19, 2024

HMCL更新日志里面有

from pcl2.

wuyuncheng-26 avatar wuyuncheng-26 commented on August 19, 2024
[20:01:38.913] 加载线程 安装 NeoForge (56) 发生运行时错误:安装新 NeoForge 版本失败
→ 运行 NeoForge 安装器失败
→ NeoForge 安装器出错,日志结束部分为:
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.bangbang93.ForgeInstaller.main(ForgeInstaller.java:75)
Failed to run processor: java.nio.file.FileSystemException:C:\ProgramData\Temp\PCL\Install\885190034\versions\1.21\1.21.jar: 函数不正确。
See log for more details.
false
   在 PCL.ModDownloadLib._Closure$__35-0._Lambda$__7(LoaderTask`2 Task)
   在 PCL.ModLoader.LoaderTask`2._Closure$__13-0._Lambda$__0()
   在 PCL.ModDownloadLib._Closure$__35-0._Lambda$__7(LoaderTask`2 Task)
   在 PCL.ModDownloadLib.ForgelikeInjector(String Target, LoaderTask`2 Task, String McFolder, Boolean UseJavaWrapper, Boolean IsNeoForge)
   在 PCL.ModDownloadLib._Closure$__35-0._Lambda$__7(LoaderTask`2 Task)

from pcl2.

wuyuncheng-26 avatar wuyuncheng-26 commented on August 19, 2024

HMCL-dev/HMCL#3127

from pcl2.

hejiehao avatar hejiehao commented on August 19, 2024

HMCL-dev/HMCL#3127

应该不是这个,这个只是无法获取 NeoForge 版本列表

from pcl2.

hejiehao avatar hejiehao commented on August 19, 2024

这应该是你的系统问题

from pcl2.

Uright-Xuqing233 avatar Uright-Xuqing233 commented on August 19, 2024

啊?咋会

from pcl2.

3gf8jv4dv avatar 3gf8jv4dv commented on August 19, 2024
Failed to run processor: java.nio.file.FileSystemException:C:\ProgramData\Temp\PCL\Install\1974939696\versions\1.21.1\1.21.1.jar: 函数不正确。

Usually this path should be %Temp%, not %ProgramData%\Temp.
通常这个路径应该是 %Temp%,而不是 %ProgramData%\Temp

Have you modified your system’s environment variables?
您是否修改过系统的环境变量?

from pcl2.

wuyuncheng-26 avatar wuyuncheng-26 commented on August 19, 2024
Failed to run processor: java.nio.file.FileSystemException:C:\ProgramData\Temp\PCL\Install\1974939696\versions\1.21.1\1.21.1.jar: 函数不正确。

Usually this path should be %Temp%, not %ProgramData%\Temp. 通常这个路径应该是 %Temp%,而不是 %ProgramData%\Temp

Have you modified your system’s environment variables? 您是否修改过系统的环境变量?

Good point.

from pcl2.

zkitefly avatar zkitefly commented on August 19, 2024

楼主可以下载这个打开安装吗🤔

https://maven.neoforged.net/releases/net/neoforged/neoforge/21.1.4/neoforge-21.1.4-installer.jar

from pcl2.

Uright-Xuqing233 avatar Uright-Xuqing233 commented on August 19, 2024

我使用neoforge官方安装器可以正常安装并启动

from pcl2.

Uright-Xuqing233 avatar Uright-Xuqing233 commented on August 19, 2024

好吧,经过我的测试,是因为我使用了ImDisk然后更改了Temp环境变量,并将temp重定向到了randisk上,具体报错原因不清,如果有兴趣兼容那更好,不过我会先关闭这个issues

还原后不会出现报错,并且可以正常安装

from pcl2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.