Coder Social home page Coder Social logo

Comments (10)

mnixry avatar mnixry commented on June 10, 2024 1

简单调了一下,基本可以确定这个问题是replit的Python包管理器有问题,和本仓库无关

from nonebot-plugin-gocqhttp.

mnixry avatar mnixry commented on June 10, 2024

不懂,没用过,但是看着没什么问题.jpg

gocq_mute_access_log=true

试试.env里面加这一行,看看日志

from nonebot-plugin-gocqhttp.

superdaobo avatar superdaobo commented on June 10, 2024

不懂,没用过,但是看着没什么问题.jpg

gocq_mute_access_log=true
 #```

试试`.env`里面加这一行,看看日志

按照您说的,在.env文件添加了但是控制台的输出好像没有任何变化(
我的问题就是进入web界面时因为资源加载不完全导致无法启动。
很奇怪,明明都在同一个文件夹,有的文件可以加载,有的就404。
麻烦大佬再看一下,
屏幕截图 2023-06-05 225642
屏幕截图 2023-06-05 225714

from nonebot-plugin-gocqhttp.

mnixry avatar mnixry commented on June 10, 2024

应该是浏览器缓存的锅。Ctrl+F5 刷新网页。如果不行就清除网站数据再刷新。

from nonebot-plugin-gocqhttp.

superdaobo avatar superdaobo commented on June 10, 2024

应该是浏览器缓存的锅。Ctrl+F5 刷新网页。如果不行就清除网站数据再刷新。

清除了数据也还是这样,在服务端访问有些也是输出404(
之前的那个库第一次捣鼓也是404进不去,后来在本地开go-cqhttp源文件再加上bot勉强可以运行,但有的时候接受不到消息。
后来再把插件装上恰好可以运行了。现在的情况可能是replit检测到什么直接给禁止了或是什么。
您要不在replit开一个python项目看看?
屏幕截图 2023-06-05 231219
屏幕截图 2023-06-05 231138

from nonebot-plugin-gocqhttp.

mnixry avatar mnixry commented on June 10, 2024

image

还真是。我不理解.jpg

from nonebot-plugin-gocqhttp.

mnixry avatar mnixry commented on June 10, 2024

image

但是这个文件明明是存在的……迷惑

from nonebot-plugin-gocqhttp.

superdaobo avatar superdaobo commented on June 10, 2024

简单调了一下,基本可以确定这个问题是replit的Python包管理器有问题,和本仓库无关

是指nonebot包有问题吗,我把site-packages里的直接甩到plugins里运行也是这样的问题。
大佬有什么解决方案吗_φ_(..)

from nonebot-plugin-gocqhttp.

mnixry avatar mnixry commented on June 10, 2024

就是replit有问题。他魔改了包管理器,弄了一个很神秘的包安装方式,然后这个安装方式有Bug。我也不是第一次遇到replit他们的神秘Bug了,mixmoe/HibiAPI#253 问题差不多,就是他们瞎搞非要把自己的SDK整合进去。
理论上应该可以你把这个插件包目录的./web/disthttps://github.com/mnixry/nonebot-plugin-gocqhttp/actions/runs/5154431284 这个压缩包里面的内容覆盖掉就能用

from nonebot-plugin-gocqhttp.

superdaobo avatar superdaobo commented on June 10, 2024

就是replit有问题。他魔改了包管理器,弄了一个很神秘的包安装方式,然后这个安装方式有Bug。我也不是第一次遇到replit他们的神秘Bug了,mixmoe/HibiAPI#253 问题差不多,就是他们瞎搞非要把自己的SDK整合进去。 理论上应该可以你把这个插件包目录的./web/disthttps://github.com/mnixry/nonebot-plugin-gocqhttp/actions/runs/5154431284 这个压缩包里面的内容覆盖掉就能用

可以了可以了,我把nonebot和nb-cli和nonebot-plugin-gocqhttp重装了一遍就可以打开了(喜)
屏幕截图 2023-06-06 123024

from nonebot-plugin-gocqhttp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.