bbolli / tumblr-utils

Utilities for dealing with Tumblr blogs, Tumblr backup
GNU General Public License v3.0
667 stars 124 forks source link

api key problem, consumer key inserted but then get an error (see below) #232

Closed neftd closed 2 years ago

neftd commented 2 years ago

When I run it I get several errors.

In Command Prompt:

C:\Users\T\Documents\lil programs\bbolli-tumblr-utils-caa912f\bbolli-tumblr-utils-caa912f>tumblr_backup.py blogname -t PERSPECTIVE -t POETRY -t MY STUFF -t QUOTE --tag-index
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/blogname/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/blogname/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/blogname/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/blogname/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/blogname/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/blogname/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/blogname/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/blogname/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/blogname/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/blogname/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/STUFF.tumblr.com/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/STUFF.tumblr.com/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/STUFF.tumblr.com/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/STUFF.tumblr.com/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/STUFF.tumblr.com/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/STUFF.tumblr.com/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/STUFF.tumblr.com/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/STUFF.tumblr.com/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/STUFF.tumblr.com/posts?reblog_info=true&api_key=F3g
<urlopen error [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version> getting https://api.tumblr.com/v2/blog/STUFF.tumblr.com/posts?reblog_info=true&api_key=F3g

Version: caa912f caa912f8bf49237c5aaf0150510998b101ff4a67

I downloaded today, i have also downloaded python 2.7.1. I have added the address to the Path (had this checked as correct).

I have added the consumer key at: # get your own API key at https://www.tumblr.com/oauth/apps API_KEY = 'F3g etc.' in tumblr_backup.py

I have used this program before a couple years ago - I did not have this problem then.

Command: tumblr_backup.py blogname -t PERSPECTIVE -t POETRY -t MY STUFF -t QUOTE --tag-index

Is this a known issue? I cannot find anything in previous issues unfortunately.

If you would be so kind as to take a look at this, I would be very grateful.

Kind Regards, T

EDIT: i used the python3 fork of this and it worked - also my stuff needed to be my_stuff. Also the flags should be BEFORE the blogname

cebtenzzre commented 2 years ago

Duplicate of #226. Thanks for trying my fork.