AntiSetu --- 群内反涩图插件
-
@rainchan 这是咋回事啊
-
@白毛萝莉控 建议安装vc运行库合集
-
同样的问题,但是 已经安装了vc 2015全套了.. -
@smmcat 这看起来是找不到动态链接库,非常奇怪的问题。能提供详细信息让我能调查一下吗
-
-
2021-10-27 15:48:01 E/AntiStu: java.lang.UnsatisfiedLinkError: no onnxruntime in
java.library.path: [C:\Users\Administrator\Desktop\GC mirai\jre\bin, C:\Windows
\Sun\Java\bin, C:\Windows\system32, C:\Windows, C:\Program Files (x86)\Common Fi
les\Oracle\Java\javapath, C:\Windows\system32, C:\Windows, C:\Windows\System32\W
bem, C:\Windows\System32\WindowsPowerShell\v1.0, C:\Windows\System32\WindowsPow
erShell\v1.0, ., C:\Program Files\python, C:\Program Files\python\Scripts, ., C
:\BtSoft\panel\script, ., .]
java.lang.UnsatisfiedLinkError: no onnxruntime in java.library.path: [C:\Users\A
dministrator\Desktop\GC mirai\jre\bin, C:\Windows\Sun\Java\bin, C:\Windows\syste
m32, C:\Windows, C:\Program Files (x86)\Common Files\Oracle\Java\javapath, C:\Wi
ndows\system32, C:\Windows, C:\Windows\System32\Wbem, C:\Windows\System32\Window
sPowerShell\v1.0, C:\Windows\System32\WindowsPowerShell\v1.0, ., C:\Program Fi
les\python, C:\Program Files\python\Scripts, ., C:\BtSoft\panel\script, ., .]
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2670)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
at java.base/java.lang.System.loadLibrary(System.java:1873)
at ai.onnxruntime.OnnxRuntime.load(OnnxRuntime.java:324)
at ai.onnxruntime.OnnxRuntime.init(OnnxRuntime.java:135)
at ai.onnxruntime.OrtEnvironment.<clinit>(OrtEnvironment.java:25)
at win.rainchan.mirai.antisetu.PluginMain.onEnable(PluginMain.kt:44)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnE
nable$mirai_console(JvmPluginInternal.kt:113)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.en
able(BuiltInJvmPluginLoaderImpl.kt:119)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(Jvm
PluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(Jvm
PluginLoader.kt:36)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManag
er.kt:129)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLo
adedPlugins$mirai_console(PluginManagerImpl.kt:172)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doS
tart$mirai_console(MiraiConsoleImplementationBridge.kt:202)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(Mi
raiConsoleImplementation.kt:209)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDa
emon(MiraiConsoleTerminalLoader.kt:153)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDa
emon$default(MiraiConsoleTerminalLoader.kt:152)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(Mira
iConsoleTerminalLoader.kt:48) -
@smmcat 解决了,兄弟。我安装了这个运行库合集,就好了
https://www.cr173.com/soft/953988.html -
@白毛萝莉控 安装了这个运行库合集,重启后,还是老样子;
-
@smmcat 很奇怪的问题,按照正常情况下来说那个库已经被打包到jar里面了。可能是无法释放成功?
-
@rainchan 有解决的方法没...
-
@smmcat 没有,只能检查一下你的环境配置
-
发现有一部分图片发送不会进行识别,未找到规律。
-
是否需要自己安装onnx库
-
@ilikara 不需要,依赖已打包
-
@rainchan 2021-11-07 18:26:31 E/AntiStu: java.lang.UnsatisfiedLinkError: no onnxruntime4j_jni in java.library.path: (一堆路径)
at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.base/java.lang.Runtime.loadLibrary0(Unknown Source)
at java.base/java.lang.System.loadLibrary(Unknown Source)
at ai.onnxruntime.OnnxRuntime.load(OnnxRuntime.java:324)
at ai.onnxruntime.OnnxRuntime.init(OnnxRuntime.java:136)
at ai.onnxruntime.OrtEnvironment.<clinit>(OrtEnvironment.java:25)
at win.rainchan.mirai.antisetu.PluginMain.onEnable(PluginMain.kt:44)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:113)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:122)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:36)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:129)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:172)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:208)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:276)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:152)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:151)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47)
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.itxtech.mcl.Utility.bootMirai(Utility.java:83)
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.$Proxy4.run(Unknown Source)
at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:106)
at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:176)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
at org.itxtech.mcl.Loader.start(Loader.java:176)
at org.itxtech.mcl.Loader.main(Loader.java:68) -
2021-11-13 18:01:02 E/AntiStu: java.lang.UnsatisfiedLinkError: C:\Users\Administ
rator\AppData\Local\Temp\onnxruntime-java1804899860394168579\onnxruntime.dll: Ca
n't find dependent libraries
java.lang.UnsatisfiedLinkError: C:\Users\Administrator\AppData\Local\Temp\onnxru
ntime-java1804899860394168579\onnxruntime.dll: Can't find dependent libraries
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(Unknown Source)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(Unknown Sou
rce)
at java.base/java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.base/java.lang.Runtime.load0(Unknown Source)
at java.base/java.lang.System.load(Unknown Source)
at ai.onnxruntime.OnnxRuntime.load(OnnxRuntime.java:318)
at ai.onnxruntime.OnnxRuntime.init(OnnxRuntime.java:135)
at ai.onnxruntime.OrtEnvironment.<clinit>(OrtEnvironment.java:25)
at win.rainchan.mirai.antisetu.PluginMain.onEnable(PluginMain.kt:44)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnE
nable$mirai_console(JvmPluginInternal.kt:113)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.en
able(BuiltInJvmPluginLoaderImpl.kt:122)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(Jvm
PluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(Jvm
PluginLoader.kt:36)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManag
er.kt:129)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLo
adedPlugins$mirai_console(PluginManagerImpl.kt:172)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doS
tart$mirai_console(MiraiConsoleImplementationBridge.kt:208)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(Mi
raiConsoleImplementation.kt:276)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDa
emon(MiraiConsoleTerminalLoader.kt:152)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDa
emon$default(MiraiConsoleTerminalLoader.kt:151)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(Mira
iConsoleTerminalLoader.kt:47)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Nativ
e Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknow
n Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Un
known Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:83)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Nativ
e Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknow
n Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Un
known 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:22
6)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:169
2)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:4
12)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:357
8)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:107)
at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.j
ava:155)
at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdap
ter.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.j
ava:126)
at com.sun.proxy.$Proxy4.run(Unknown Source)
at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:106
)
at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:176)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
at org.itxtech.mcl.Loader.start(Loader.java:176)
at org.itxtech.mcl.Loader.main(Loader.java:68)系统为winserver2008r2 貌似winserver都会出现此问题 到底是什么原因
-
@xuuchannel 不仅是 winserver2008 R2 会这样,在常规的 window10 系统下也是这样,(反正我基本拿了几台电脑都尝试执行也是这样的错误)
-
@smmcat 很奇怪的是我开发的时候用的也是Windows,并且能够正常运行
-
-
@limitationai
PermissionDeniedException
权限不足,无法撤回别人的消息
ArrayIndexOutOfBoundsException
可能是设计缺陷