send_direct_message and ValueError: Only unicode objects are escapable. #480
Labels
No labels
Bug
Enhancement
Feature Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: code/twython#480
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm following the simplest examples but cannot get direct messages working.
With a
conf.pycontaining (well, with real keys):This script fails:
..with this traceback:
I think this parallels #121, but I can't tell what
requestsis choking on.Can you
pip freezeso I can see which versions of twython, requests and requests-oauthlib are being used?OK thanks for waiting. My requests is really old, turns out 👇. Unfortunately I won't have time to upgrade and retest until Friday.
Just hit this myself, with these versions on the most basic example.
using Python 3.6.4, doing the most basic postmessage example :/
Actually this seems to be in the twitter library itself