MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接
    1. 主页
    2. superen
    3. 帖子
    S
    • 资料
    • 关注 1
    • 粉丝 0
    • 主题 6
    • 帖子 54
    • 最佳 2
    • 有争议的 0
    • 群组 0

    superen 发布的帖子

    • RE: [mirai-api-http]梗查询插件——GengSearch

      @koreyoshi 嘿嘿 知道的 。。。

      不过启动了 运行却出错了 发现是cookie那多了一个回车 解决了 已经测试可以运行 谢谢了 大晚上的

      顺便问一下 看了上面你的回复知道这个查询间隔是特意加上去的 后续会支持修改参数吗

      发布在 插件发布
      S
      superen
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @koreyoshi 牛哇 可以了

      发布在 插件发布
      S
      superen
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @koreyoshi 是的 挺晚的 要不你先休息?

      发布在 插件发布
      S
      superen
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @koreyoshi 好的宝贝 用的服务器眼瓢也没用输入法 犯得低级错误 不过问题好像不在这。。还是不行

      发布在 插件发布
      S
      superen
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @koreyoshi 那看来是只需要http耶

      发布在 插件发布
      S
      superen
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @koreyoshi 有的有的 算了我发你看看

      adapters:

      • http
      • ws

      enableVerify: true
      verifyKey: 12345678910

      开启一些调式信息

      debug: true

      singleMode: true
      cacheSize: 4096
      adapterSettings:
      http:
      host: 0.0.0.0
      port: 8080
      cors: ["*"]
      ws:
      host: localhost
      port: 8080
      reservedSyncId: -1

      {
      "Key": "12345678910",
      "host": "127.0.0.1:8080",
      "port": "8080",
      "qq": "5016370",
      "session": ""
      }

      发布在 插件发布
      S
      superen
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @koreyoshi 是的 localhost也试过了 在你的里面填的是127

      发布在 插件发布
      S
      superen
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @koreyoshi 是要同时开启http和ws吗(设置同一地址会报错 单独使用http也不行呢)

      发布在 插件发布
      S
      superen
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @koreyoshi 已经是你说的这样了 请问一下防火墙是指?

      发布在 插件发布
      S
      superen
    • RE: [mirai-api-http]梗查询插件——GengSearch

      Mirai未运行或未配置mah插件
      错误详情:
      Traceback (most recent call last):
      File "GengSearch.py", line 233, in Listening
      File "simuse.py", line 60, in Fetch_Message
      TypeError: 'int' object is not subscriptable

      save log

      这个是没启动成功 还是下面那3个错了?

      发布在 插件发布
      S
      superen
    • RE: Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签

      搜番是这个 想问问怎么下载ffmpeg版本

      2022-02-10 01:04:13 E/Pixiv 您未使用FFmpeg版本,将缺少视频转Gif的功能2022-02-10 01:04:13 E/pixiv插画 Exception in coroutine Plugin com.hcyacg.pixiv of pixiv插画
      java.lang.IllegalArgumentException: Unsupported image type (mirai) for ExternalResource net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@fa05814, considering use gif/png/bmp/jpg format. image header:
      at net.mamoe.mirai.internal.message.ImageDecoderKt.calculateImageInfo(ImageDecoder.kt:160)
      at net.mamoe.mirai.internal.contact.GroupImpl$uploadImage$lambda-19$$inlined$runBIO$1.invoke(CoroutineUtils.kt:164)
      at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:46)
      at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)
      at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:38)
      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
      at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
      at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

      发布在 插件发布
      S
      superen
    • RE: Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签

      然后搜图是这个
      2022-02-10 00:58:25 E/pixiv插画 Exception in coroutine Plugin com.hcyacg.pixiv of pixiv插画
      java.lang.NoSuchMethodError: 'org.jsoup.Connection org.jsoup.Connection.headers(java.util.Map)'
      at com.hcyacg.search.Ascii2d.picToHtmlSearch(Ascii2d.kt:30)
      at com.hcyacg.search.SearchPicCenter.forward(SearchPicCenter.kt:22)
      at com.hcyacg.Pixiv$onEnable$1$14.invokeSuspend(Pixiv.kt:74)
      at com.hcyacg.Pixiv$onEnable$1$14.invoke(Pixiv.kt)
      at com.hcyacg.Pixiv$onEnable$1$14.invoke(Pixiv.kt)
      at net.mamoe.mirai.event.MessageSubscribersBuilder$quoteReply$3.invokeSuspend(MessageSubscribersBuilder.kt:508)
      at net.mamoe.mirai.event.MessageSubscribersBuilder$quoteReply$3.invoke(MessageSubscribersBuilder.kt)
      at net.mamoe.mirai.event.MessageSubscribersBuilder$quoteReply$3.invoke(MessageSubscribersBuilder.kt)
      at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invokeSuspend(messageSubscribersInternal.kt:27)
      at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt)
      at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt)
      at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invokeSuspend(subscribeMessages.kt:250)
      at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
      at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
      at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:432)
      at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
      at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
      at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
      at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
      at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
      at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
      at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
      at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
      at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
      at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
      at net.mamoe.mirai.internal.event.InternalEventListenersKt.access$process(InternalEventListeners.kt:1)
      at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$2$1.invokeSuspend(InternalEventListeners.kt:132)
      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
      at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
      at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

      发布在 插件发布
      S
      superen
    • RE: Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签

      2022-02-10 00:56:19 W/Pixiv java.lang.IllegalArgumentException: Unsupported image type (mirai) for ExternalResource net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@2a8b3626, considering use gif/png/bmp/jpg format. image header:
      java.lang.IllegalArgumentException: Unsupported image type (mirai) for ExternalResource net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@2a8b3626, considering use gif/png/bmp/jpg format. image header:
      at net.mamoe.mirai.internal.message.ImageDecoderKt.calculateImageInfo(ImageDecoder.kt:160)
      at net.mamoe.mirai.internal.contact.GroupImpl$uploadImage$lambda-19$$inlined$runBIO$1.invoke(CoroutineUtils.kt:164)
      at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:46)
      at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)
      at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:38)
      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
      at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
      at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

      宝贝,设置好了代理 ip没问题 啬图报这个错

      发布在 插件发布
      S
      superen
    • RE: [mirai-api-http]梗查询插件——GengSearch

      有jar包吗宝贝

      发布在 插件发布
      S
      superen
    • 1
    • 2
    • 3
    • 3 / 3