question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

I’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:closed
  • Created 8 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
scimetfoocommented, Feb 8, 2016

Okay, I’ve got around it. I was separating the tokens and consumer keys with commas, which was causing this to happen.

1reaction
bearcommented, Feb 8, 2016

which version are you using?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found