Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with 'twitter.Api' and 'module' object not callable #72

Closed
zhushazang opened this issue Dec 14, 2019 · 1 comment
Closed

Problems with 'twitter.Api' and 'module' object not callable #72

zhushazang opened this issue Dec 14, 2019 · 1 comment

Comments

@zhushazang
Copy link

Hello there.

First, using Linux and Python 3.7 here. Then, after install delete-tweets the first error was:

delete-tweets tweet.js 23:31 Traceback (most recent call last): File "/home/rodolfo/.local/bin/delete-tweets", line 8, in <module> sys.exit(main()) File "/home/rodolfo/.local/lib/python3.7/site-packages/deletetweets/__main__.py", line 53, in main deletetweets.delete(args.file, args.until_date, filters, args.spare_ids, args.min_likes, args.min_retweets, args.dry_run) File "/home/rodolfo/.local/lib/python3.7/site-packages/deletetweets/deletetweets.py", line 64, in delete api = twitter.Api(consumer_key=os.environ["TWITTER_CONSUMER_KEY"],
Then, changing it manually to "twitter.api" i received the next error:

delete-tweets tweet.js 23:31 Traceback (most recent call last): File "/home/rodolfo/.local/bin/delete-tweets", line 8, in <module> sys.exit(main()) File "/home/rodolfo/.local/lib/python3.7/site-packages/deletetweets/__main__.py", line 53, in main deletetweets.delete(args.file, args.until_date, filters, args.spare_ids, args.min_likes, args.min_retweets, args.dry_run) File "/home/rodolfo/.local/lib/python3.7/site-packages/deletetweets/deletetweets.py", line 64, in delete api = twitter.Api(consumer_key=os.environ["TWITTER_CONSUMER_KEY"],

Best regards.

@koenrh
Copy link
Owner

koenrh commented Dec 29, 2019

Thank you for reporting! I think I have fixed this bug in v1.0.5. Could you try reinstalling the package and try again?

Please reopen this issue if the latest version did not fix it.

@koenrh koenrh closed this as completed Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants