Code Monkey home page Code Monkey logo

Comments (8)

carey036 avatar carey036 commented on July 16, 2024

可以看下你的config嘛

from genbooks.

carey036 avatar carey036 commented on July 16, 2024

/src/rss.conf是一个样本,重新fork一下,然后修改rss.conf,新建GITHUBUSER 和 GITHUBEMAIL两个secret就可以使用了

from genbooks.

foreveruand avatar foreveruand commented on July 16, 2024

我重新fork了一下,还是一样的问题,用的rssconf的配置
INFO:root:get env fail, try to read rss.conf
INFO:root:error occurred when reading config
Traceback (most recent call last):
File "/home/runner/work/GenBooks/GenBooks/./src/genBook.py", line 26, in
feeds = config["feeds"]
TypeError: string indices must be integers
Error: Process completed with exit code 1.

对了,我是在生成书籍里加了个workflow_dispatch: 手动运行的生成书籍action,这个有影响吗

from genbooks.

carey036 avatar carey036 commented on July 16, 2024

你新建了CONFIG这个secret吗,可以看下内容嘛

from genbooks.

foreveruand avatar foreveruand commented on July 16, 2024

重新fork以后,我没有新建CONFIG这个secret
INFO:root:get env fail, try to read rss.conf
这个信息应该是说读了rss.conf

from genbooks.

carey036 avatar carey036 commented on July 16, 2024

好了,重新fork一下就好了,读取文本的地址写错了

from genbooks.

carey036 avatar carey036 commented on July 16, 2024

我看了一下你fork的,已经没有问题了
还需要建两个secret,GITHUBUSER和GITHUBEMAIL
另外修改一些参数使用就好了

from genbooks.

foreveruand avatar foreveruand commented on July 16, 2024

已经成功了。
使用的outlook邮箱开启了两步认证,推送的时候一直提示登陆失败。最后创建了应用密码才认证成功。
感谢您的帮助

from genbooks.

Related Issues (7)

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.