pleroma-bot: Twitter v2 essential api errors

Hi, I am just setting up this bot for the first time. When I run the bot it gives me an error

✖ 2021-12-10 15:11:38,072 - pleroma_bot - ERROR - Exception occurred (cli.py:423) 
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/pleroma_bot/cli.py", line 303, in main
    for user_item in user_dict[:]:
TypeError: unhashable type: 'slice'

I have installed using pip3 on ubuntu 20.04 my config looks like this:

twitter_base_url: https://api.twitter.com/2
pleroma_base_url: https:///bae.st
max_tweets: 40
twitter_token: mytoken
users:
  pleroma_token: mytoken
  consumer_key: mykey
  consumer_secret: mysecret
  access_token_key: myaccess
  access_token_secret: myaccesssecret
  signature: false
  media_upload: true
  nitter: false
  rich_text: true
  visibility: "public"
  sensitive: true
  original_date: false
  original_date_format: "%Y/%m/%d %H:%"
  include_rts: true
  include_replies: false
  file_max_size: 500MB

Please let me know what I should do or how I can help.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

I’m not sure how that happened but good catch! I appreciate your help & It seems to be working as intended now 😃