Git Product home page Git Product logo

Comments (7)

jeremyjbowers avatar jeremyjbowers commented on June 8, 2024

I'm getting this too, even after freshly generating OAuth tokens.

from python-tumblpy.

michaelhelmick avatar michaelhelmick commented on June 8, 2024

Sorry for never responding guys, this is related to requests/requests-oauthlib#26 and we're currently waiting for a new release of requests_oauthlib to fix this! :)

from python-tumblpy.

michaelhelmick avatar michaelhelmick commented on June 8, 2024

This will be fixed in a 1.0.0 release which will be released tonight or tomorrow!

from python-tumblpy.

michaelhelmick avatar michaelhelmick commented on June 8, 2024

@h1ccup @jeremyjbowers
Sorry this took so long to fix, this is now fixed in python-tumblpy 1.0.0

To install 1.0.0 via pip:
pip install python-tumblpy==1.0.0

from python-tumblpy.

hcliff avatar hcliff commented on June 8, 2024

I'm still having issues, getting a *** ValueError: too many values to unpack, this goes away if I set client.auth = None

pip install python-tumblpy==1.0.0
Requirement already satisfied (use --upgrade to upgrade): python-tumblpy==1.0.0 in /home/spling/pyves/coveted/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): requests==1.2.2 in /home/spling/pyves/coveted/lib/python2.7/site-packages (from python-tumblpy==1.0.0)
Requirement already satisfied (use --upgrade to upgrade): requests-oauthlib==0.3.2 in /home/spling/pyves/coveted/lib/python2.7/site-packages (from python-tumblpy==1.0.0)
Requirement already satisfied (use --upgrade to upgrade): oauthlib>=0.3.7 in /home/spling/pyves/coveted/lib/python2.7/site-packages (from requests-oauthlib==0.3.2->python-tumblpy==1.0.0)

Thanks!

from python-tumblpy.

michaelhelmick avatar michaelhelmick commented on June 8, 2024

@hcliff Can you show me the code you are using that causes the ValueError?

from python-tumblpy.

hcliff avatar hcliff commented on June 8, 2024
t = Tumblpy(app_key=settings.TUMBLR_CONSUMER_KEY,
                    app_secret=settings.TUMBLR_SECRET_KEY,
                    oauth_token=tumblr_post.tumblr.oauth_token,
                    oauth_token_secret=tumblr_post.tumblr.oauth_token_secret)
user = t.post('user/info')

EDIT: my bad, it appears to be a separate issue that is occurring after the 1.0.0 upgrade

Also; definitely an auth issue...

t.client.request('post', 'http://google.com')

Also craps out.

from python-tumblpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.