KeyError: 'id_str'
See original GitHub issueWhen I run delete-tweets --until 2017-12-01 tweet.js
, I get the following error:
Traceback (most recent call last): File "/usr/local/bin/delete-tweets", line 11, in <module> sys.exit(main()) File "/usr/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 "/usr/local/lib/python3.7/site-packages/deletetweets/deletetweets.py", line 72, in delete destroyer.destroy(row["id_str"]) KeyError: 'id_str'
Any idea how to fix this issue?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
KeyError in extract_uid() for Weibo provider #921 - GitHub
Signing up using Weibo will raise KeyError due to the absence of key "idstr" in data in WeiboProvider.extract_uid().
Read more >Memory error while trying to search every data frame column ...
-1: idStr = '' j = idIndex+5 while j<len(collectionJson) and ... @anky_91 I am getting key error, after trying this code.
Read more >Py (Jython API documentation) - javadoc.io
KeyError. public static PyObject KeyError ... KeyError. public static PyException KeyError(String message) ... idstr. public static String idstr(PyObject o) ...
Read more >org.python.core.Py.idstr java code examples - Tabnine
Best Java code snippets using org.python.core.Py.idstr (Showing top 20 results out of 315) · PyReflectedConstructor.toString() · PyReflectedFunction.toString().
Read more >qcodes.instrument.instrument — QCoDeS 0.36.0.dev245 ...
idstr = "" # in case self.ask fails try: idstr = self.ask("*IDN? ... Raises: KeyError: If no instrument of that name was found,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think I got it working. There was a minor file structure change or something. Will make a pull request when confirm
Thanks for reporting! Should be fixed in the latest version:
pip install -U delete-tweets
.