darrenwatt / xml-to-discord-post

Keyword searches for things on BBC News xml feeds, posts on Discord and/or Twitter. The secret backend of @deathbot4000
https://x.com/deathbot4000
0 stars 0 forks source link

deathbot3000 (discord/ent) got into a loop because bluesky variables not set #2

Open darrenwatt opened 9 months ago

darrenwatt commented 9 months ago
img: https://ichef.bbci.co.uk/news/1024/branded_news/31A9/production/_132531721_d68747a3-9c34-43a1-b810-2dfcd50ef192.jpg
2024-02-02 21:55:35,116 - INFO - Bluesky is disabled, set in config      - root (bluesky.py).bluesky_config_check(15)
Traceback (most recent call last):
  File "./main.py", line 214, in <module>
    main()
  File "./main.py", line 205, in main
    update_stories_in_db(get_stories_list)
  File "./main.py", line 126, in update_stories_in_db
    bluesky.do_bluesky_notification(story)
  File "/bluesky.py", line 24, in do_bluesky_notification
    client.login(bluesky_config['username'], bluesky_config['password'])
KeyError: 'username'
2024-02-02 21:56:05,126 - INFO - Yoyoyo, starting up in the house!       - root (main.py).<module>(13)
2024-02-02 21:56:05,425 - INFO - Tweeting is disabled    - root (main.py).<module>(34)
2024-02-02 21:56:05,426 - INFO - regex output: re.compile('(?i)\\b(?:dead|dies|died|death)\\b', re.IGNORECASE)   - root (main.py).<module>(48)
2024-02-02 21:56:05,427 - INFO - Bluesky is disabled, set in config      - root (bluesky.py).bluesky_config_check(15)
2024-02-02 21:56:05,427 - INFO - getting stories ...     - root (main.py).scrape_bbc_news_xml(54)
2024-02-02 21:56:05,718 - INFO - Match found: Rocky star Carl Weathers dies aged 76. Carl Weathers, former NFL player turned Hollywood actor who starred in the Rocky movies, dies aged 76          - root (main.py).scrape_bbc_news_xml(83)
img: https://ichef.bbci.co.uk/news/1024/branded_news/17D25/production/_132537579_carl.jpg
2024-02-02 21:56:06,103 - INFO - Match found: Man dies after falling from Tate Modern gallery. Inquiries are under way to identify the man and notify his family, the Met Police say.       - root (main.py).scrape_bbc_news_xml(83)
img: https://ichef.bbci.co.uk/news/1024/branded_news/31A9/production/_132531721_d68747a3-9c34-43a1-b810-2dfcd50ef192.jpg
2024-02-02 21:56:06,995 - INFO - Bluesky is disabled, set in config      - root (bluesky.py).bluesky_config_check(15)
Traceback (most recent call last):
  File "./main.py", line 214, in <module>
    main()
  File "./main.py", line 205, in main
    update_stories_in_db(get_stories_list)
  File "./main.py", line 126, in update_stories_in_db
    bluesky.do_bluesky_notification(story)
  File "/bluesky.py", line 24, in do_bluesky_notification
    client.login(bluesky_config['username'], bluesky_config['password'])
KeyError: 'username'
2024-02-02 21:56:51,401 - INFO - Yoyoyo, starting up in the house!       - root (main.py).<module>(13)
2024-02-02 21:56:53,802 - INFO - Tweeting is disabled    - root (main.py).<module>(34)
2024-02-02 21:56:54,065 - INFO - regex output: re.compile('