Code Monkey home page Code Monkey logo

Comments (9)

0b1000 avatar 0b1000 commented on August 31, 2024

CentOS 下异常一致;Debian 下报错缺少 certifi 依赖,然而 pip list 显示已经安装;Alpine 正常。

from qqbot.

pandolia avatar pandolia commented on August 31, 2024

汗。第一个错误是因为 File "/usr/local/lib/python2.7/dist-packages/qqbot/utf8logger.py", line 11, 中的 ‘igonre’ 写错了,应该为 'ignore' 。
在我的系统中,用 'igonre' 居然没报错。。。

from qqbot.

pandolia avatar pandolia commented on August 31, 2024

Debian下我这边是可以用的,不过我用的是 mate 图形系统。

from qqbot.

pandolia avatar pandolia commented on August 31, 2024

你可以试一下下载文件后直接运行 qqbot.py 文件。

from qqbot.

pandolia avatar pandolia commented on August 31, 2024

HTTP 服务器 ip 不能设置为 0.0.0.0 ,应该设置为实际 ip ,否则邮箱中收到的图片链接就是 http://0.0.0.0:8189/qqbot/qrcode
无论设置为什么 ip ,都会在 0.0.0.0 上进行监听。设置的值只是用来显示图片的链接地址的。

from qqbot.

0b1000 avatar 0b1000 commented on August 31, 2024

我所指的第一个异常是只显示一连串的 ignore ,正常的 INFO 完全不输出。

from qqbot.

0b1000 avatar 0b1000 commented on August 31, 2024

我这测试环境是 SSH 远程连接到服务器上,没有 GUI 界面。

from qqbot.

pandolia avatar pandolia commented on August 31, 2024

你试试把 utf8logger.py 中第17行和第21行的 sys.stderr 改为 sys.stdout ,看看能不能输出 INFO 等信息。

from qqbot.

0b1000 avatar 0b1000 commented on August 31, 2024

好的谢谢,搭建问题已经解决。

from qqbot.

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.