Giter Club home page Giter Club logo

Comments (5)

ojomio avatar ojomio commented on September 24, 2024

The issue re-occurs with SQLAlchemy 1.0.5 and aldjemy 0.4.1

from aldjemy.

erikcw avatar erikcw commented on September 24, 2024

@ojomio Can you post your full traceback?

from aldjemy.

ojomio avatar ojomio commented on September 24, 2024

@erikcw , err, I'm afraid the most relevant part of it is

'_ConnectionRecord' object has no attribute 'starttime'

C:\Python34\lib\site-packages\sqlalchemy\pool.py in _invalidate
        if not rec or self._invalidate_time < rec.starttime: ...
▼ Local vars
Variable    Value
rec <aldjemy.core._ConnectionRecord object at 0x0735E730>
connection  <sqlalchemy.pool._ConnectionFairy object at 0x0735E770>
exception   InterfaceError('connection already closed',)
self    <aldjemy.core.DjangoPool object at 0x048915F0>

from aldjemy.

ojomio avatar ojomio commented on September 24, 2024

@erikcw Actually, it seems with this match on sqlalchemy=1.0.6 it doesn't work at all...

It raises Interface Error: Connection already closed, which in SqlAlchemy 0.9.{4,8} was expressed differently with absent attribute. I mean, the root is a closed connection after all. Why this can ever happen?!

With SA 0.9.{4,8} and Aldjemy=0.4.0 I manage to make like successful 4-5 requests to Django and then I get AttributeError. With SA 1.0.6 and this master version of aldjemy I am bumped right away with InterfaceError

from aldjemy.

erikcw avatar erikcw commented on September 24, 2024

@ojomio Take a look at #32 -- I ran into the same issue. Should probably document your findings on that ticket.

from aldjemy.

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.