请问是需要添加权限吗 我这边配置好后并不能正常使用
1397905002 发布的帖子
-
RE: LoliconMirai 能在MiraiConsole使用LoliconApi的群小插件
@JOYACEpoor 我把项目复制给朋友 他用就很正常,但是我这边任何版本的插件都不能用。应该是网络环境的问题,请问呢有什么好的解决办法吗
-
RE: LoliconMirai 能在MiraiConsole使用LoliconApi的群小插件
@JOYACEpoor 2022-03-15 17:14:45 V/Bot.1003323627: Group(796274225) <- 哎呀,出错了。。。
2022-03-15 17:14:45 E/nya.xfy.LoliconMirai: okhttp3.internal.http2.StreamResetException: stream was reset: INTERNAL_ERROR
okhttp3.internal.http2.StreamResetException: stream was reset: INTERNAL_ERROR
at okhttp3.internal.http2.Http2Stream$FramingSource.read(Http2Stream.kt:358)
at okhttp3.internal.connection.Exchange$ResponseBodySource.read(Exchange.kt:276)
at okio.RealBufferedSource$inputStream$1.read(RealBufferedSource.kt:158)
at java.base/java.io.InputStream.read(InputStream.java:218)
at kotlin.io.ByteStreamsKt.copyTo(IOStreams.kt:110)
at kotlin.io.ByteStreamsKt.copyTo$default(IOStreams.kt:103)
at net.mamoe.mirai.utils.FileCacheStrategy$TempCache.newCache(FileCacheStrategy.kt:106)
at net.mamoe.mirai.utils.ExternalResource$Companion.create(ExternalResource.kt:226)
at net.mamoe.mirai.utils.ExternalResource$Companion.create$default(ExternalResource.kt:225)
at nya.xfy.LoliconMirai$request$3$1.invokeSuspend(LoliconMirai.kt:112)
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)2022-03-15 17:14:45 I/nya.xfy.LoliconMirai: 色图发送完毕
这是等了很久之后的报错 希望能有所帮助
-
RE: 百度bike--极其简陋的百科插件
@1397905002 在 百度bike--极其简陋的百科插件 中说:
@daisy524 上一个问题解决了。但是新的问题出现了,以下是新错误报告:
截图中....DevTools listening on ws://127.0.0.1:9589/devtools/browser/b1b6e345-76c8-4094-86a5-0eb2b2f3e771
[0228/191340.346:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
错误类型是 NoSuchElementException
错误明细是 Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[2]/div[2]/div"}
(Session info: headless chrome=98.0.4758.102)
Stacktrace:
Backtrace:
Ordinal0 [0x011769A3+2582947]
Ordinal0 [0x0110A6D1+2139857]
Ordinal0 [0x01003A98+1063576]
Ordinal0 [0x0102FF3E+1244990]
Ordinal0 [0x0103013B+1245499]
Ordinal0 [0x01059F52+1417042]
Ordinal0 [0x01048594+1344916]
Ordinal0 [0x0105834A+1409866]
Ordinal0 [0x01048366+1344358]
Ordinal0 [0x01025176+1200502]
Ordinal0 [0x01026066+1204326]
GetHandleVerifier [0x0131BE02+1675858]
GetHandleVerifier [0x013D036C+2414524]
GetHandleVerifier [0x0120BB01+560977]
GetHandleVerifier [0x0120A8D3+556323]
Ordinal0 [0x0111020E+2163214]
Ordinal0 [0x01115078+2183288]
Ordinal0 [0x011151C0+2183616]
Ordinal0 [0x0111EE1C+2223644]
BaseThreadInitThunk [0x757CFA29+25]
RtlGetAppContainerNamedObjectPath [0x77047A9E+286]
RtlGetAppContainerNamedObjectPath [0x77047A6E+238]这个问题应该是百科没有相关词导致的,大概没有问题
-
RE: 百度bike--极其简陋的百科插件
@1397905002 补充。成功百度了一次,有截图,但是控制台依旧报错很多,下面是错误报告,希望对你有所帮助。
[0228/191505.386:INFO:CONSOLE(0)] "[Report Only] Refused to load the image 'http://pic.rmb.bdstatic.com/77c597c5f22a11fb256f5f7fdb6ec23c.jpeg@c_1,w_549,h_549,x_52,y_45' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
", source: https://baike.baidu.com/item/ bilibili (0)
[0228/191505.387:INFO:CONSOLE(0)] "Mixed Content: The page at 'https://baike.baidu.com/item/ bilibili' was loaded over HTTPS, but requested an insecure element 'http://pic.rmb.bdstatic.com/77c597c5f22a11fb256f5f7fdb6ec23c.jpeg@c_1,w_549,h_549,x_52,y_45'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html", source: https://baike.baidu.com/item/ bilibili (0)
[0228/191505.388:INFO:CONSOLE(0)] "[Report Only] Refused to load the image 'http://pic.rmb.bdstatic.com/26874718d0e7b9ea7352ff8b03c8636d.jpeg' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
", source: https://baike.baidu.com/item/ bilibili (0)
[0228/191505.388:INFO:CONSOLE(0)] "Mixed Content: The page at 'https://baike.baidu.com/item/ bilibili' was loaded over HTTPS, but requested an insecure element 'http://pic.rmb.bdstatic.com/26874718d0e7b9ea7352ff8b03c8636d.jpeg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html", source: https://baike.baidu.com/item/ bilibili (0)
[0228/191506.896:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_de3bb3a.js (79)
[0228/191507.074:INFO:CONSOLE(91)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/baike/log' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_de3bb3a.js (91)
[0228/191507.079:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_de3bb3a.js (79)
[0228/191507.222:INFO:CONSOLE(0)] "[Report Only] Refused to load the image 'http://pic.rmb.bdstatic.com/77c597c5f22a11fb256f5f7fdb6ec23c.jpeg@c_1,w_549,h_549,x_52,y_45' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
", source: https://baike.baidu.com/item/ bilibili (0)
[0228/191507.223:INFO:CONSOLE(0)] "Mixed Content: The page at 'https://baike.baidu.com/item/ bilibili' was loaded over HTTPS, but requested an insecure element 'http://pic.rmb.bdstatic.com/77c597c5f22a11fb256f5f7fdb6ec23c.jpeg@c_1,w_549,h_549,x_52,y_45'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html", source: https://baike.baidu.com/item/ bilibili (0)
[0228/191507.224:INFO:CONSOLE(0)] "[Report Only] Refused to load the image 'http://pic.rmb.bdstatic.com/26874718d0e7b9ea7352ff8b03c8636d.jpeg' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
", source: https://baike.baidu.com/item/ bilibili (0)
[0228/191507.224:INFO:CONSOLE(0)] "Mixed Content: The page at 'https://baike.baidu.com/item/ bilibili' was loaded over HTTPS, but requested an insecure element 'http://pic.rmb.bdstatic.com/26874718d0e7b9ea7352ff8b03c8636d.jpeg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html", source: https://baike.baidu.com/item/ bilibili (0)
[0228/191507.437:ERROR:sdp_offer_answer.cc(3116)] The order of m-lines in subsequent offer doesn't match order from previous offer/answer. (INVALID_PARAMETER)
[0228/191507.438:ERROR:sdp_offer_answer.cc(1915)] Failed to set local offer sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer.
[0228/191508.913:INFO:CONSOLE(211)] "[object DOMException]", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_de3bb3a.js (211) -
RE: 百度bike--极其简陋的百科插件
@daisy524 上一个问题解决了。但是新的问题出现了,以下是新错误报告:
截图中....DevTools listening on ws://127.0.0.1:9589/devtools/browser/b1b6e345-76c8-4094-86a5-0eb2b2f3e771
[0228/191340.346:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
错误类型是 NoSuchElementException
错误明细是 Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[2]/div[2]/div"}
(Session info: headless chrome=98.0.4758.102)
Stacktrace:
Backtrace:
Ordinal0 [0x011769A3+2582947]
Ordinal0 [0x0110A6D1+2139857]
Ordinal0 [0x01003A98+1063576]
Ordinal0 [0x0102FF3E+1244990]
Ordinal0 [0x0103013B+1245499]
Ordinal0 [0x01059F52+1417042]
Ordinal0 [0x01048594+1344916]
Ordinal0 [0x0105834A+1409866]
Ordinal0 [0x01048366+1344358]
Ordinal0 [0x01025176+1200502]
Ordinal0 [0x01026066+1204326]
GetHandleVerifier [0x0131BE02+1675858]
GetHandleVerifier [0x013D036C+2414524]
GetHandleVerifier [0x0120BB01+560977]
GetHandleVerifier [0x0120A8D3+556323]
Ordinal0 [0x0111020E+2163214]
Ordinal0 [0x01115078+2183288]
Ordinal0 [0x011151C0+2183616]
Ordinal0 [0x0111EE1C+2223644]
BaseThreadInitThunk [0x757CFA29+25]
RtlGetAppContainerNamedObjectPath [0x77047A9E+286]
RtlGetAppContainerNamedObjectPath [0x77047A6E+238] -
RE: 百度bike--极其简陋的百科插件
@daisy524 错误类型是 WebDriverException
错误明细是 Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home
提示了这个错误 我先去那个网站上看看怎么肥四