Unable to post a status update due to: 'Only unicode objects are escapable. Got <generator object <genexpr> at 0xb661bbe4> of type <type 'generator'>.'
See original GitHub issueI’m trying to post a status update like so:
s = api.PostUpdate('Test')
But I get the following error:
Only unicode objects are escapable. Got generator object genexpr at 0xb661bbe4 of type type ‘generator’.
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Failed to send request: Only unicode objects are escapable ...
It looks like you are using tweepy to get sentiment from tweets. You need Twitter API credentials to do so. What this error...
Read more >How to write a generator expression - Python Morsels
Generators generate values as you loop over them. Generator expressions are a comprehension-like syntax for creating new generator objects. The ...
Read more >python tutorial : generator object genexpr at error -Solved
In this video i have share how to fix generator object genexpr at comes while you are trying to print generator object genexpre...
Read more >Error:<generator object <genexpr> at 0x10b2b69e8> - Reddit
Try using list comprehension to get a list [st.stem(word) for word in word_tokenize(text2)] .
Read more >How to use the staticlib engine in Rust - Wasmerio/Wasmer - IssueHint
Unable to post a status update due to: 'Only unicode objects are escapable. Got <generator object <genexpr> at 0xb661bbe4> of type <type 'generator'>....
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
Okay, I’ve got around it. I was separating the tokens and consumer keys with commas, which was causing this to happen.
which version are you using?