Re: [sqlalchemy] Help needed troubleshooting error on session commit after deletion

2017-11-08 Thread Hugo Heyman
me the complete steps I'd need to do > to recreate ? > > On Nov 7, 2017 11:53 AM, "Hugo Heyman" wrote: > > Traceback (most recent call last): > File "", line 1, in > File "/Users/hugo/Dropbox/lahey/api/.venv/lib/python3.6/site-pack > ag

Re: [sqlalchemy] Help needed troubleshooting error on session commit after deletion

2017-11-07 Thread Hugo Heyman
t__[self.__name__] = result = self.fget(obj) File "/Users/hugo/Dropbox/lahey/api/.venv/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 962, in module % (self._il_path, self._il_addtl)) ImportError: importlater.resolve_all() hasn't been called (this is sqlalchemy.orm

Re: [sqlalchemy] Help needed troubleshooting error on session commit after deletion

2017-11-07 Thread Hugo Heyman
; > Make sure those run first. > > On Nov 7, 2017 8:12 AM, "Hugo Heyman" wrote: > >> 1.2.0b3 but I also tried 1.1.15 now with the same result. >> >> /Hugo >> >> On Tue, Nov 7, 2017 at 1:26 PM, Mike Bayer >> wrote: >> >>> That&#

Re: [sqlalchemy] Help needed troubleshooting error on session commit after deletion

2017-11-07 Thread Hugo Heyman
1.2.0b3 but I also tried 1.1.15 now with the same result. /Hugo On Tue, Nov 7, 2017 at 1:26 PM, Mike Bayer wrote: > That's probably our fault, what is the exact version of SQLAlchemy in use > ? Did you try upgrading to the latest release ? > > On Nov 7, 2017 4:32 AM, &qu

[sqlalchemy] Help needed troubleshooting error on session commit after deletion

2017-11-07 Thread Hugo Heyman
Hello, I get an error I don't really understand. When I do session commit after a deletion like this: App: app.bootstrap_new [debug] Instance: /Users/hugo/Dropbox/lahey/api/instance >>> from app.extensions import db >>> from app.models.user import User >>> user = User.query.all()[0] >>> db.sess