Page 1 of 1

turses, python-{tweepy,httplib2,oauth2,mock}

Posted: 9. Sep 2012, 14:19
by fredg

Turses is a powerful Twitter client for the console.

For now, I am having an issue with a SSL error :

Code: Select all

[fredg@nbook64:~] turses
Requesting temp token from Twitter
Traceback (most recent call last):
  File "/usr/bin/turses", line 9, in <module>
    load_entry_point('turses==0.2.7', 'console_scripts', 'turses')()
  File "/usr/lib64/python2.7/site-packages/turses/", line 127, in main
  File "/usr/lib64/python2.7/site-packages/turses/", line 475, in load
  File "/usr/lib64/python2.7/site-packages/turses/", line 572, in _init_token
  File "/usr/lib64/python2.7/site-packages/turses/", line 757, in authorize_new_account
    access_token = authorization()
  File "/usr/lib64/python2.7/site-packages/turses/api/", line 63, in authorization
    resp, content = oauth_client.request(REQUEST_TOKEN_URL, 'GET')
  File "/usr/lib64/python2.7/site-packages/oauth2/", line 682, in request
  File "/usr/lib64/python2.7/site-packages/httplib2/", line 1584, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib64/python2.7/site-packages/httplib2/", line 1332, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib64/python2.7/site-packages/httplib2/", line 1268, in _conn_request
  File "/usr/lib64/python2.7/site-packages/httplib2/", line 1014, in connect
    self.disable_ssl_certificate_validation, self.ca_certs)
  File "/usr/lib64/python2.7/site-packages/httplib2/", line 80, in _ssl_wrap_socket
    cert_reqs=cert_reqs, ca_certs=ca_certs)
  File "/usr/lib64/python2.7/", line 381, in wrap_socket
  File "/usr/lib64/python2.7/", line 141, in __init__
ssl.SSLError: [Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

Bug opened :

If you have a clue, don't hesitate ;)


Re: [WIP] turses, python-{tweepy,httplib2,oauth2,mock}

Posted: 9. Sep 2012, 19:53
by djemos
You can su to root to use SSL connection. Normal user have no access to ssl
I compile turses and deps
Then su to root
run turces
Got the the PIN from twitter and connected to twitter :)

Re: [WIP] turses, python-{tweepy,httplib2,oauth2,mock}

Posted: 10. Sep 2012, 18:05
by fredg
Thank you djemos :)

Done, and uploaded.