GithubHelp home page GithubHelp logo

Comments (2)

xolox avatar xolox commented on August 31, 2024

Hi David and thanks for the feedback!

I've been trying for quite a while now but I can't figure out how to reproduce this (rather obscure) issue. The error message also just doesn't make any sense to me, because:

  1. pip_accel.caches.s3.PatchedBotoConfig.__init__() imports ConfigParser from the boto.pyami.config module.
  2. The boto.pyami.config module imports ConfigParser from the boto.compat module.
  3. The boto.compat module imports ConfigParser (on Python 2.x) as follows:
from ConfigParser import SafeConfigParser as ConfigParser

Given the above I don't see how the ConfigParser object in step one can ever be a module instead of a class (as implied by the error message 'module' object has no attribute 'get'). The only thing I can think of is some obscure interaction between top level modules that shadow each other, but then I suspect that most of your virtual environment would be broken ...

Now I could add a lot of logging and we could play ping pong in this issue tracker for a while to get to the bottom of this issue, however all of this concerns a workaround for the fact that Boto is kind of broken on Python 3.x and you seem to be running Python 2.7, so the pragmatic step seems to be to just disable the workaround on Python 2.x because it shouldn't be necessary anyway.

I'm preparing a change set that conditionally enables the workaround (only for Python 3.x). I'll push it to GitHub first to see if Travis CI agrees that I didn't introduce any new issues. If that works out I'll publish the new version to PyPI so you can easily try it out to confirm whether it resolves your issue.

from pip-accel.

xolox avatar xolox commented on August 31, 2024

It looks like Travis CI agrees that I didn't break anything :-) so I just published pip-accel 0.42.5 to PyPI. Can you try out the latest version and confirm whether it fixes the issue you reported?

from pip-accel.

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.