Giter Club home page Giter Club logo

Comments (7)

metcalf avatar metcalf commented on August 28, 2024

I just wrote a quick test case and ensured that the entire block around line 257 is not executed when I set stripe.verify_ssl_certs = False.

Based on the file path in the stacktrace, it looks like you're including the stripe-python source code directly inside your app. Have you tried using virtualenv + pip instead?

from stripe-python.

jagooding avatar jagooding commented on August 28, 2024

For google app engine, stripe is installed into the server/lib directory using the -t (target) directive of pip. The development server (or production) adds the server/lib path on startup.

from stripe-python.

danielchatfield avatar danielchatfield commented on August 28, 2024

I have created a test App Engine app. @jagooding could you run this and see if it works and if not post the stack trace from the logs: https://github.com/temp-repos/stripe-test

from stripe-python.

jagooding avatar jagooding commented on August 28, 2024

@danielchatfield I ran yours at it worked just fine.

I hadn't had a chance to try the 1.16.0 release with my app yet. I just ran it and everything works fine. Which is great news for me. However, just for curiosity's sake I went back and forced your test app to 1.15.1 and it still runs just fine, however when I force mine to 1.15.1 it breaks.

I don't know what is going on with that.

What is the difference between 1.15.1 and 1.16.0 ?

from stripe-python.

danielchatfield avatar danielchatfield commented on August 28, 2024

The only difference is to add support for cancelling transfers and fix up a test (both completely unrelated to this).

Without seeing your code I wouldn't be able to give any further advice on that.

from stripe-python.

metcalf avatar metcalf commented on August 28, 2024

I picked through the diff -- I can't see any relevant differences between those versions either. At this point it sounds like some kind of weird state on your system that's fixed by bumping to 1.16.0. Closing for now but reopen if you're still seeing problems on the latest version.

from stripe-python.

danielchatfield avatar danielchatfield commented on August 28, 2024

I have just had an idea of what might be causing this.

pip has a bug (they will probably claim it is a feature though) where if you run pip install with a target (like you do with appengine) it messes stuff up if the lib it is trying to install is already installed (it puts the files in a folder nested within the existing folder).

Make sure that you delete the contents of your lib folder every time you run pip install.

from stripe-python.

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.