Closed wan0ge closed 4 months ago
2024-07-09 02:14:48,729 [WARN ] ani-root: Uncaught exception in coroutine [me.him188.ani.app.platform.CommonKoinModuleKt$createAppRootCoroutineScope$$inlined$CoroutineExceptionHandler$1@6a282b08, StandaloneCoroutine{Cancelling}@6854da44, Dispatchers.Default]
java.lang.UnsatisfiedLinkError: D:\softwares\0 Portable software\Ani\app\resources\torrent-rasterbar.dll: Can't find dependent libraries
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(Unknown Source)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(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 me.him188.ani.app.torrent.anitorrent.AnitorrentLibraryLoaderKt.loadAnitorrentLibrary(AnitorrentLibraryLoader.kt:18)
at me.him188.ani.app.torrent.anitorrent.AnitorrentLibraryLoaderKt.access$loadAnitorrentLibrary(AnitorrentLibraryLoader.kt:1)
at me.him188.ani.app.torrent.anitorrent.AnitorrentLibraryLoader.loadLibraries(AnitorrentLibraryLoader.kt:71)
at me.him188.ani.app.torrent.anitorrent.AnitorrentTorrentDownloaderKt.AnitorrentTorrentDownloader(AnitorrentTorrentDownloader.kt:46)
at me.him188.ani.app.tools.torrent.engines.AnitorrentEngine.newInstance(AnitorrentEngine.kt:68)
at me.him188.ani.app.tools.torrent.engines.AnitorrentEngine.newInstance(AnitorrentEngine.kt:34)
at me.him188.ani.app.tools.torrent.AbstractTorrentEngine$special$$inlined$map$1$2.emit(Emitters.kt:227)
at kotlinx.coroutines.flow.FlowKt__DelayKt$debounceInternal$1.invokeSuspend(Delay.kt:215)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
日志看到是库加载失败了,
方便打开你的目录 D:\softwares\0 Portable software\Ani\app\resources\
里面截个图吗
2024-07-09 02:14:48,729 [WARN ] ani-root: Uncaught exception in coroutine [me.him188.ani.app.platform.CommonKoinModuleKt$createAppRootCoroutineScope$$inlined$CoroutineExceptionHandler$1@6a282b08, StandaloneCoroutine{Cancelling}@6854da44, Dispatchers.Default] java.lang.UnsatisfiedLinkError: D:\softwares\0 Portable software\Ani\app\resources\torrent-rasterbar.dll: Can't find dependent libraries at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(Unknown Source) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(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 me.him188.ani.app.torrent.anitorrent.AnitorrentLibraryLoaderKt.loadAnitorrentLibrary(AnitorrentLibraryLoader.kt:18) at me.him188.ani.app.torrent.anitorrent.AnitorrentLibraryLoaderKt.access$loadAnitorrentLibrary(AnitorrentLibraryLoader.kt:1) at me.him188.ani.app.torrent.anitorrent.AnitorrentLibraryLoader.loadLibraries(AnitorrentLibraryLoader.kt:71) at me.him188.ani.app.torrent.anitorrent.AnitorrentTorrentDownloaderKt.AnitorrentTorrentDownloader(AnitorrentTorrentDownloader.kt:46) at me.him188.ani.app.tools.torrent.engines.AnitorrentEngine.newInstance(AnitorrentEngine.kt:68) at me.him188.ani.app.tools.torrent.engines.AnitorrentEngine.newInstance(AnitorrentEngine.kt:34) at me.him188.ani.app.tools.torrent.AbstractTorrentEngine$special$$inlined$map$1$2.emit(Emitters.kt:227) at kotlinx.coroutines.flow.FlowKt__DelayKt$debounceInternal$1.invokeSuspend(Delay.kt:215) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
日志看到是库加载失败了,
方便打开你的目录
D:\softwares\0 Portable software\Ani\app\resources\
里面截个图吗
奇怪, 试试把整个 ani 复制到一个目录不包含空格的地方呢?
我试试
我复现了, 应该是CI打包问题
CI 上面链接的库版本不对
用这里面的文件替换掉那些 dll 应该就可以了
ok我试试,我刚想带上日志说还是一样没想到排查出来了,我还排查了我自身网络但也一样
优质 issue author
那可能是比较复杂的问题了, 只能明天看看了
那可能是比较复杂的问题了, 只能明天看看了
ok没问题不急
那接下来我猜是链接的 Java 版本问题
草,什么开盲盒,都是打包的问题吗
对, 我猜现在是我开发用的 18 链接的, 而 CI 上是 17, 所以我刚刚打包的 dll 没法在你那边跑
native 东西是这样的, 还是 JVM 简单啊
备注一下
//Path to a file.
OPENSSL_APPLINK_SOURCE:FILEPATH=D:/vcpkg/installed/x64-windows/include/openssl/applink.c
//Path to a file.
OPENSSL_INCLUDE_DIR:PATH=D:/vcpkg/installed/x64-windows/include
原来是不同版本,不太了解坐等修复了,另外什么时候开捐赠,ani完善之后用来追番真方便
目前这个程度还远不够方便, 等以后吧
问题描述
PC端bt资源完全无法播放,一直“正在解析资源链接”,还是只有在线源能播放
复现步骤
见日志文件: app.log
Ani 版本号
3.4.0-alpha01
操作系统
Windows
应用日志