itxtech / mcl-installer Goto Github PK
View Code? Open in Web Editor NEWMCL一键安装工具
License: GNU Affero General Public License v3.0
MCL一键安装工具
License: GNU Affero General Public License v3.0
萌新在安装时遇到的一个小问题及解决方案
在 cargo build --release这一步,看着好像是找不到openssh-0.8几的一个报错,大概在进度条90多/125的时候
(前提是已经安装了openssh)
解决一:按提示安装了pkg-config,我安装后问题好像变了,但还是这里有问题
解决二:sudo apt-get install libssl-dev,网上说是linux系统没有默认安装这个包,但是这个包是openssh的一部分,所以需要按上。
这两步搞定后,这个问题就解决了 (虽然还有10个warning等着我)
可以添加扫码登陆吗?
/usr/lib64/libc.so.6: version `GLIBC_2.18' not found (required by ./mcl-installer-1.0.3-linux-amd64)
设备是斐讯N1。
这个问题可能也在其他的actions编译出来的linux-aarch64执行文件中存在。
root@server:~# ./mcl-installer-72b890d-linux-aarch64
Segmentation fault
root@server:~# uname -a
Linux server 5.12.6-aml-s905d-starx-action #1 SMP PREEMPT Sun May 23 13:15:33 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
mcl本身不支持Java 8所以为什么还要留着Java 8的选项。
$ ./mcl-installer-1.0.2-linux-amd64
iTXTech MCL Installer 1.0.2 [OS: linux]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer
iTXTech MCL and Java will be downloaded to "/home/xxxxxxx/mirai"
Checking existing Java installation.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:139:54
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Aborted (core dumped)
现在已经有 1.0.3 版本了,README.md 可以更新了
运行时需要高达2.28的依赖是必要的么?
使用 cargo build --features rustls --release
构建好 mcl-installer,运行 ./mcl-installer
后报错如下。
iTXTech MCL Installer 1.0.7 [OS: linux]
Licensed under GNU AGPLv3. https://github.com/iTXTech/mcl-installer iTXTech MCL and Java will be downloaded to "/home/namesetter/qqbot/target/release"
Checking existing Java installation.
openjdk version "11.0.17" 2022-10-18
OpenJDK Runtime Environment (build 11.0.17+8-post-Ubuntu-1ubuntu222.04)
OpenJDK 64-Bit Server VM (build 11.0.17+8-post-Ubuntu-1ubuntu222.04, mixed mode, sharing)
Would you like to install Java? (Y/N, default: Y) n
iTXTech Mirai Console Loader detected.
Major Version: 2.1.0 Revision: 71ec418
Fetching iTXTech MCL Package Info from https://mirai.mamoe.net/assets/mcl/org/itxtech/mcl/package.json
Mirai Console Loader 公告栏
如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)
`- 如 Unsupported image type for ExternalResource *
` considering use gif/png/bmp/jpg format.
`- Tracker: https://github.com/mamoe/mirai/issues/new/choose
常用资源整合
`- https://mirai.mamoe.net/topic/653
MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。
The latest stable version of iTXTech MCL is 2.1.2
Would you like to download it? (Y/N, default: Y) y
panicked at 'called `Option::unwrap()` on a `None` value', src/main.rs:354:37
我希望去除关于java运行检测到系统java时,就使用系统java的检测,要不然前面问了:要不要安装Java、要安装什么java、安装什么架构什么版本的java、的问题显得毫无意义,而且我需要使用x86架构的java,但是硬是给我自动使用x64版本的系统环境java,这让我的native插件在x64的环境下无法运行
希望检测到系统java就使用系统java的情况时,应该给用户一个选择让用户选择下载Java单独使用,还是使用系统java
这只是一个小细节,希望开发者能进行更进。
你好,根据指引操作执行
./mcl-installer-1.0.7-macos-amd64-musl 提示./mcl-installer-1.0.7-macos-amd64-musl: line 1: Not: command not found
环境变量应该没问题。。比较小白大佬能帮忙看看哪里的问题吗,谢谢。
感染型bd(Win32/Trojan.Generic.H8oAQmsA(什么鬼))
我知道作为一个程序猿不应该安装360,但还请注意一下
用的是腾讯云的服务器,系统是Debian 11.1。根据README的方法安装的,不知道哪里出了问题。。
iTXTech MCL Installer 1.0.3 [OS: linux]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer
iTXTech MCL and Java will be downloaded to "/home/xx"
Checking existing Java installation.
Error occurred while checking Java installation
Would you like to install Java? (Y/N, default: Y)
Java version (8-17, default: 11):
JRE or JDK (1: JRE, 2: JDK, default: JRE):
Binary Architecture (default: x64):
Fetching file list for jre version 11 on x64
Start Downloading: https://mirrors.tuna.tsinghua.edu.cn/AdoptOpenJDK/11/jre/x64/linux/OpenJDK11U-jre_x64_linux_hotspot_11.0.14.1_1.tar.gz
Downloading: 42434630/42434630
Extracting jdk-11.0.14.1+1-jre/legal/jdk.management/ADDITIONAL_LICENSE_INFOOFOOE_INFONFONSE_INFO
Testing Java Executable: /home/xx/java/bin/java
openjdk version "11.0.14.1" 2022-02-08
OpenJDK Runtime Environment Temurin-11.0.14.1+1 (build 11.0.14.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.14.1+1 (build 11.0.14.1+1, mixed mode)
Fetching iTXTech MCL Package Info from https://gitee.com/peratx/mirai-repo/raw/master/org/itxtech/mcl/package.json
[src/main.rs:335:10] Error: error decoding response body: EOF while parsing a value at line 1 column 0
请问下大佬有时间做个这个版本的脚本嘛,我想在树莓派上跑mirai,所以来问问
能否打包一份linux-arm64版,amd64版在linuxdeploy中无法运行
如github与gitee,清华源和USTC,比如我这里清华源非常慢,USTC就可以跑满带宽
可以有效改善下载体验,而且也不费事
能力有限交不了PR 只能提个建议了
iTXTech MCL Installer 1.0.7 [OS: windows]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer
iTXTech MCL and Java will be downloaded to "C:\12333\mirai"
Checking existing Java installation.
Error occurred while checking Java installation
Would you like to install Java? (Y/N, default: Y)
Java version (8, 11, 17, 18), default: 17):
JRE or JDK (1: JRE, 2: JDK, default: JRE):
Binary Architecture (default: x64):
Fetching file list for jre version 17 on x64 from https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/x64/windows/
Start Downloading: https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/x64/windows/OpenJDK17U-jre_x64_windows_hotspot_17.0.5_8.zip
panicked at 'called `Option::unwrap()` on a `None` value', src\main.rs:114:10
之前106没问题 刚刚107报错
2022-05-27 21:07:49 V/main: Loading JVM plugins...
2022-05-27 21:07:49 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2022-05-27 21:07:49 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
2022-05-27 21:07:49 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2022-05-27 21:11:09 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
还有我记得之前版本是自动更新的 看到公告说现在默认禁止 应该怎么启用自动更新?不然每次都需要过来更新包吗
我正在Redmi Note 5A上使用termux,用atilo及proot安装了Ubuntu,下载了mcl installer amd64版本,运行时出现了illegal instruction错误。
不太懂java的环境变量怎么引的,我的mac自带是java8 版本不够,运行命令时直接回车在本地down了一个java11
但是然后执行./mcl
还是报
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/itxtech/mcl/Loader has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
看了下.mcl的脚本
export JAVA_BINARY=java
$JAVA_BINARY -jar mcl.jar $*
这样真的有用吗,似乎并没有拦截到java命令因为本地down下来只是一个软件包,实际的java11可执行文件在/java/Content/Home/bin/java
然后我直接敲 ./java/Contents/Home/bin/java -jar mcl.jar $* 就可以了。
安装完程序和插件之后
每次运行./mcl指令之后config里面的配置文件都会重置
每次都要配置一遍配置文件
还是说我的启动方式不对?
近期使用 mcl 升级 mirai(core,console) 至 2.12.0 后 mirai-api-http 出现故障(mirai #2145)
按指示提供信息时发现 plugins 文件夹存在残留的 2.7.0 版本的 mirai-console
删除后故障排除
这可能给其他用户造成困扰,我所知的就有两个倒霉蛋跟我一起因为这事停机了
建议至少在公告中添加相应的提示以便用户处理该故障
不管为什么升级后加载到了这个 mirai-console,按这里所说提交本 issue
./mcl-installer-1.0.3-linux-amd64: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by ./mcl-installer-1.0.3-linux-amd64)
error: could not compile mcl-installer
.
Caused by:
process didn't exit successfully: rustc --crate-name mcl_installer --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=z -C panic=abort -C lto -C codegen-units=1 --cfg 'feature="native-tls"' -C metadata=f6eeeadc2996a42c -C extra-filename=-f6eeeadc2996a42c --out-dir /opt/mcl/mcl-installer-master/target/release/deps -L dependency=/opt/mcl/mcl-installer-master/target/release/deps --extern reqwest=/opt/mcl/mcl-installer-master/target/release/deps/libreqwest-9422b81f1bfe3e57.rlib --extern serde=/opt/mcl/mcl-installer-master/target/release/deps/libserde-43ddf14b67b9763b.rlib --extern tokio=/opt/mcl/mcl-installer-master/target/release/deps/libtokio-930bfbe0a9ad277e.rlib --extern zip=/opt/mcl/mcl-installer-master/target/release/deps/libzip-5a462b28bbc0e597.rlib
(signal: 9, SIGKILL: kill)
root@xuke:/opt/mcl# uname -a
Linux xuke 4.15.0-137-generic #141-Ubuntu SMP Fri Feb 19 13:47:36 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
请问mcl如何更新版本
jun@MacBook-Pro mcl % chmod +x mcl-installer-d5a51f8-macos-amd64
jun@MacBook-Pro mcl % ./mcl-installer-d5a51f8-macos-amd64
zsh: segmentation fault ./mcl-installer-d5a51f8-macos-amd64
CPU是Intel
╭─root@km-ubuntu /app/mcl
╰─# curl -LJO https://github.com/iTXTech/mcl-installer/releases/download/v1.0.2/mcl-installer-1.0.2-linux-amd64
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 639 100 639 0 0 1022 0 --:--:-- --:--:-- --:--:-- 1020
100 718k 100 718k 0 0 363k 0 0:00:01 0:00:01 --:--:-- 1358k
curl: Saved to filename 'mcl-installer-1.0.2-linux-amd64'
╭─root@km-ubuntu /app/mcl
╰─# chmod +x mcl-installer-1.0.2-linux-amd64
╭─root@km-ubuntu /app/mcl
╰─# ./mcl-installer-1.0.2-linux-amd64
iTXTech MCL Installer 1.0.2 [OS: linux]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer
iTXTech MCL and Java will be downloaded to "/app/mcl"
Checking existing Java installation.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:139:54
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1] 3284880 abort (core dumped) ./mcl-installer-1.0.2-linux-amd64
系统是win8 32位的,跑不了啊。
谢谢。
root@1add90:# chmod +x mcl-installer-1.0.7-linux-amd64-musl# ./mcl-installer-1.0.7-linux-amd64-musl
root@1add90:
iTXTech MCL Installer 1.0.7 [OS: linux]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer
iTXTech MCL and Java will be downloaded to "/root"
Checking existing Java installation.
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1deb11u1, mixed mode, sharing)
Would you like to install Java? (Y/N, default: Y) y
Java version (8, 11, 17, 18), default: 17): 18
JRE or JDK (1: JRE, 2: JDK, default: JRE): 2
Binary Architecture (default: x64):
Fetching file list for jdk version 18 on x64 from https://mirrors.tuna.tsinghua.edu.cn/Adoptium/18/jdk/x64/linux/
[src/main.rs:239:14] Fail to fetch AdoptOpenJDK download list: error sending request for url (https://mirrors.tuna.tsinghua.edu.cn/Adoptium/18/jdk/x64/linux/): error trying to connect: tcp connect error: Operation timed out (os error 110)
OS: ubuntu-18.04-x86_64
root@localhost:~# ./mcl-installer-1.0.2-linux-amd64
iTXTech MCL Installer 1.0.2 [OS: linux]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer
iTXTech MCL and Java will be downloaded to "/root"
Checking existing Java installation.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:139:54
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted
[root@localhost .mcl]# ./mcl
02:58:36 [INFO] iTXTech Mirai Console Loader version 1.2.2-60c67fb
02:58:36 [INFO] https://github.com/iTXTech/mirai-console-loader
02:58:36 [INFO] This program is licensed under GNU AGPL v3
02:58:37 [INFO] MCL Addon is installed! Website: https://github.com/iTXTech/mcl-addon
02:58:37 [WARN] To remove MCL Addon, run "./mcl --disable-script addon" and "./mcl --remove-package org.itxtech:mcl-addon --delete"
02:58:37 [INFO] Fetching Mirai Console Loader Announcement...
02:58:38 [INFO] Mirai Console Loader Announcement:Mirai Console Loader 公告栏
如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)
- 如 Unsupported image type for ExternalResource *
considering use gif/png/bmp/jpg format.
`- Tracker: https://github.com/mamoe/mirai/issues/new/choose
常用资源整合
`- https://mirai.mamoe.net/topic/653
02:58:38 [INFO] Verifying "net.mamoe:mirai-console" v
02:58:38 [ERROR] "net.mamoe:mirai-console" is corrupted.
02:59:09 [ERROR] java.net.http.HttpConnectTimeoutException: HTTP connect timed out
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(Unknown Source)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(Unknown Source)
at org.itxtech.mcl.component.Repository.httpHead(Repository.java:117)
at org.itxtech.mcl.component.Repository.getJarUrl(Repository.java:87)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155)
at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105)
at org.mozilla.javascript.Context.call(Context.java:554)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522)
at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105)
at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126)
at com.sun.proxy.$Proxy1.run(Unknown Source)
at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
at org.itxtech.mcl.Loader.start(Loader.java:172)
at org.itxtech.mcl.Loader.main(Loader.java:68)
Caused by: java.net.http.HttpConnectTimeoutException: HTTP connect timed out
at java.net.http/jdk.internal.net.http.MultiExchange.toTimeoutException(Unknown Source)
at java.net.http/jdk.internal.net.http.MultiExchange.getExceptionalCF(Unknown Source)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.stopOnError(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SubscriberWrapper$DownstreamPusher.run1(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SubscriberWrapper$DownstreamPusher.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SynchronizedRestartableTask.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SubscriberWrapper.errorCommon(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SubscriberWrapper.onError(Unknown Source)
at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion(Unknown Source)
at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.read(Unknown Source)
at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowTask.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(Unknown Source)
at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalError(Unknown Source)
at java.net.http/jdk.internal.net.http.SocketTube.signalClosed(Unknown Source)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.close(Unknown Source)
at java.net.http/jdk.internal.net.http.AsyncSSLConnection.close(Unknown Source)
at java.net.http/jdk.internal.net.http.Exchange$ConnectionAborter.closeConnection(Unknown Source)
at java.net.http/jdk.internal.net.http.Exchange.cancel(Unknown Source)
at java.net.http/jdk.internal.net.http.MultiExchange.cancel(Unknown Source)
at java.net.http/jdk.internal.net.http.ResponseTimerEvent.handle(Unknown Source)
at java.net.http/jdk.internal.net.http.HttpClientImpl.purgeTimeoutsAndReturnNextDeadline(Unknown Source)
at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(Unknown Source)
Caused by: java.net.ConnectException: HTTP connect timed out
... 37 more
02:59:39 [ERROR] java.net.http.HttpConnectTimeoutException: HTTP connect timed out
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(Unknown Source)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(Unknown Source)
at org.itxtech.mcl.component.Repository.httpHead(Repository.java:117)
at org.itxtech.mcl.component.Repository.getJarUrl(Repository.java:87)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155)
at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105)
at org.mozilla.javascript.Context.call(Context.java:554)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522)
at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105)
at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126)
at com.sun.proxy.$Proxy1.run(Unknown Source)
at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
at org.itxtech.mcl.Loader.start(Loader.java:172)
at org.itxtech.mcl.Loader.main(Loader.java:68)
Caused by: java.net.http.HttpConnectTimeoutException: HTTP connect timed out
at java.net.http/jdk.internal.net.http.MultiExchange.toTimeoutException(Unknown Source)
at java.net.http/jdk.internal.net.http.MultiExchange.getExceptionalCF(Unknown Source)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.stopOnError(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SubscriberWrapper$DownstreamPusher.run1(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SubscriberWrapper$DownstreamPusher.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SynchronizedRestartableTask.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SubscriberWrapper.errorCommon(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SubscriberWrapper.onError(Unknown Source)
at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion(Unknown Source)
at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.read(Unknown Source)
at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowTask.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(Unknown Source)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(Unknown Source)
at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalError(Unknown Source)
at java.net.http/jdk.internal.net.http.SocketTube.signalClosed(Unknown Source)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.close(Unknown Source)
at java.net.http/jdk.internal.net.http.AsyncSSLConnection.close(Unknown Source)
at java.net.http/jdk.internal.net.http.Exchange$ConnectionAborter.closeConnection(Unknown Source)
at java.net.http/jdk.internal.net.http.Exchange.cancel(Unknown Source)
at java.net.http/jdk.internal.net.http.MultiExchange.cancel(Unknown Source)
at java.net.http/jdk.internal.net.http.ResponseTimerEvent.handle(Unknown Source)
at java.net.http/jdk.internal.net.http.HttpClientImpl.purgeTimeoutsAndReturnNextDeadline(Unknown Source)
at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(Unknown Source)
Caused by: java.net.ConnectException: HTTP connect timed out
... 37 more
03:00:09 [ERROR] java.net.http.HttpTimeoutException: request timed out
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(Unknown Source)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(Unknown Source)
at org.itxtech.mcl.component.Repository.httpHead(Repository.java:117)
at org.itxtech.mcl.component.Repository.getJarUrl(Repository.java:87)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155)
at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105)
at org.mozilla.javascript.Context.call(Context.java:554)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522)
at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105)
at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126)
at com.sun.proxy.$Proxy1.run(Unknown Source)
at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
at org.itxtech.mcl.Loader.start(Loader.java:172)
at org.itxtech.mcl.Loader.main(Loader.java:68)
12:53:18 [INFO] Verifying "net.mamoe:mirai-console" v2.10.0-RC2
12:53:18 [ERROR] "net.mamoe:mirai-console" is corrupted.
12:53:19 [ERROR] Cannot download package "net.mamoe:mirai-console"
12:53:19 [ERROR] The local file "net.mamoe:mirai-console" is still corrupted, please check the network.
12:53:19 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.10.0-RC2
12:53:19 [ERROR] "net.mamoe:mirai-console-terminal" is corrupted.
12:53:19 [ERROR] Cannot download package "net.mamoe:mirai-console-terminal"
12:53:19 [ERROR] The local file "net.mamoe:mirai-console-terminal" is still corrupted, please check the network.
12:53:19 [INFO] Verifying "net.mamoe:mirai-core-all" v2.10.0-RC2
12:53:19 [ERROR] "net.mamoe:mirai-core-all" is corrupted.
12:53:19 [ERROR] Cannot download package "net.mamoe:mirai-core-all"
12:53:19 [ERROR] The local file "net.mamoe:mirai-core-all" is still corrupted, please check the network.
12:53:19 [INFO] Verifying "org.itxtech:mcl-addon" v1.2.2
12:53:19 [ERROR] "org.itxtech:mcl-addon" is corrupted.
12:53:20 [ERROR] Cannot download package "org.itxtech:mcl-addon"
12:53:20 [ERROR] The local file "org.itxtech:mcl-addon" is still corrupted, please check the network.
12:53:20 [ERROR] org.mozilla.javascript.WrappedException: Wrapped java.nio.file.NoSuchFileException: libs\mirai-console-2.10.0-RC2.jar (boot.js#98)
(base) root@raspbian:/home/Mirai# ./mcl-installer-2827601-linux-aarch64
Segmentation fault
(base) root@raspbian:/home/Mirai# uname -a
Linux raspbian 5.10.42-Release-OPENFANS+20210609-v8 #1 SMP PREEMPT Wed Jun 9 14:11:02 CST 2021 aarch64 GNU/Linux
root@localhost:/disk/mirai# ./mcl-installer-1.0.2-linux-amd64
iTXTech MCL Installer 1.0.2 [OS: linux]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer
iTXTech MCL and Java will be downloaded to "/disk/mirai"
Checking existing Java installation.
thread 'main' panicked at 'called Result::unwrap()
on an Err
value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:139:54
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
Aborted
root@iZwz9dnj5dq:~/mirai# ./mcl-installer-1.0.2-linux-amd64
iTXTech MCL Installer 1.0.2 [OS: linux]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer
iTXTech MCL and Java will be downloaded to "/root/mirai"
Checking existing Java installation.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:139:54
stack backtrace:
0: 0x7f3e958136a1 - <unknown>
1: 0x7f3e95772cac - <unknown>
2: 0x7f3e95812df1 - <unknown>
3: 0x7f3e95812840 - <unknown>
4: 0x7f3e9581216d - <unknown>
5: 0x7f3e9582f3f3 - <unknown>
6: 0x7f3e9582f36c - <unknown>
7: 0x7f3e9582f31d - <unknown>
8: 0x7f3e957715a0 - <unknown>
9: 0x7f3e95773ee2 - <unknown>
10: 0x7f3e9575b205 - <unknown>
11: 0x7f3e957667f5 - <unknown>
12: 0x7f3e957613ad - <unknown>
13: 0x7f3e95763c7a - <unknown>
14: 0x7f3e95757d7a - <unknown>
15: 0x7f3e9576df35 - <unknown>
16: 0x7f3e93db0840 - __libc_start_main
17: 0x7f3e95756e4a - <unknown>
18: 0x0 - <unknown>
Aborted
os: Ubuntu16.04(AliYun)
mcl-installer-afdc1a0-android-aarch64
Xiaomi 10 pro Termux
1.release前两个项目所有文件都404
2.可以下载1.06。Linux用readme的示例一键安装提示缺少文件:
cd /mirai
curl -LJO https://github.com/iTXTech/mcl-installer/releases/download/v1.0.6/mcl-installer-1.0.6-linux-amd64
chmod +x mcl-installer-1.0.6-linux-amd64
./mcl-installer-1.0.6-linux-amd64
报错:
./mcl-installer-1.0.6-linux-amd64: /lib64/libc.so.6: version `GLIBC_2.29' not found (required by ./mcl-installer-1.0.6-linux-amd64)
./mcl-installer-1.0.6-linux-amd64: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by ./mcl-installer-1.0.6-linux-amd64)
./mcl-installer-1.0.6-linux-amd64: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./mcl-installer-1.0.6-linux-amd64)
./mcl-installer-1.0.6-linux-amd64: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by ./mcl-installer-1.0.6-linux-amd64)
Linux localhost 4.4.153-perf+ #1 SMP PREEMPT Thu Mar 5 11:28:37 CST 2020 aarch64 Android
.../home/mirai # ./mcl-installer-1.0.7-linux-aarch64-musl
iTXTech MCL Installer 1.0.7 [OS: linux]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer
iTXTech MCL and Java will be downloaded to "/data/data/com.termux/files/home/mirai"
Checking existing Java installation.
Error occurred while checking Java installation
Would you like to install Java? (Y/N, default: Y)
Java version (8, 11, 17, 18), default: 17):
JRE or JDK (1: JRE, 2: JDK, default: JRE):
Binary Architecture (default: aarch64):
Fetching file list for jre version 17 on aarch64 from https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/aarch64/linux/
[src/main.rs:239:14] Fail to fetch AdoptOpenJDK download list: error sending request for url (https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/aarch64/linux/): error trying to connect: dns error: failed to lookup address information: Try again
.../home/mirai # ./mcl-installer1
iTXTech MCL Installer 1.0.7 [OS: linux]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer
iTXTech MCL and Java will be downloaded to "/data/data/com.termux/files/home/mirai"
Checking existing Java installation.
Error occurred while checking Java installation
Would you like to install Java? (Y/N, default: Y)
Java version (8, 11, 17, 18), default: 17):
JRE or JDK (1: JRE, 2: JDK, default: JRE):
Binary Architecture (default: aarch64):
Fetching file list for jre version 17 on aarch64 from https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/aarch64/linux/
[src/main.rs:239:14] Fail to fetch AdoptOpenJDK download list: error sending request for url (https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/aarch64/linux/): error trying to connect: invalid URL, scheme is not http
启动mcl时提示:W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.